Hello everyone. I have some trouble for ATMEGA328P with internal 8MHz setting, could I get your advice ?
I tried to program ATMEGA328P without bootloader on following setting. One time I have no problem to write but after that cannot re-program with following error message.
Is there any way to improve it ?
setting Arduino IDE ver 1.8.5 Writer AVRISP MK2 Vcc external 5V is supplied to pin7 & 21 GND connected to pin8 & 22
error message Arduino：1.8.5 (Windows 7), board："ATmega328 on a breadboard (8 MHz internal clock)"
Warning: Board breadboard:avr:atmega328bb doesn't define a 'build.board' preference. Auto-set to: AVR_ATMEGA328BB avrdude: stk500v2_command(): command failed avrdude: stk500v2_program_enable(): bad AVRISPmkII connection status: Unknown status 0x00 avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check.
I am looking forward to your advice.