I am new in the AVR world. I use Atmel Studio 7, I program with USBAsp an ATmega328p.
I upload my program to the device by ISP and the program runs ok.
BUT ! when I disconect the programmer and connect an external power supply the microcontroller seems not to be programmed. It doesn't do anything.
It only works when the USBAsp is connected and the program is downloaded in the device.
What am I doing wrong ?
Thanks in advance, Folks !