Hi everyone,
I'd like to program my Arduino Pro Mini Board (atmega328p 8MHz @3.3V) via the isp programmer (or the serial interface), but I have problems to get the code run. Only when I program first the bootloader and then upload the program via the serial interface it works for one time only. There is no posibility to upload the next code via serial nor isp (without reinstalling the bootloader and upload the code via the serial interface).
My configuration:
Arduino 1.8.13
Atmega328p 8MHz @3.3V board
FTDI Serial TTL-232 Cable
Diamex USB ISP Programmer (stk500v2 compatible)
default fuse setting (with bootloader):
lfuse = FF
hfuse = DA (Boot Reset Vector enabled)
efuse = 5 (BOD = 2.7V)
lock = F
fuse setting (no bootloader):
lfuse = FF
hfuse = DB (Boot Reset Vector disabled)
efuse = 5
lock = F and FF (both tested)
Verifying the programed code (via the ISP programer) is okay, but it doesn't start
avrdude -c stk500v2 -p m328p -P com3 -v -U eeprom:v:blink.hex:i
avrdude: verifying ...
avrdude: 932 bytes of eeprom verified
avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as DB
avrdude: safemode: efuse reads as 5
avrdude: safemode: Fuses OK
Btw. this would be my favourite way to program the Mini Pro board, via my ISP programer, because i need the serial interface and don't want to disconnect my component all the time.
I'm looking forward for any hints. Thank you for your time.