I am trying to Program arduino Nano using ICSP but the problem is uploaded program only works as longs as Nano is connected to UNO. Here is what i am trying.
- Upload arduinoISP program in UNO.
- Make connection b/w UNO and Nano.
- Upload my program(A simple led blinking programs) to UNO(with Programmer Option as "Arduino as ISP" an board as Nano)
Edit : In #3 when i uploaded the program it works as long as both uno and nano are connected, but as soon as i remove icsp connection b/w two Arduino Led blinking program stops on nano. I expect it to work as in case of programming nano through USB will work, i.e, uplaod the program once and use it .
Something like this