I had a "virgin" 328p , I program the bootloader via ISP (avrdude and a parallel port programmer) It seemes to work fine and when I connect the board to the Arduino I can upload ONE sketch - ONE ! if I try to upload another sketch I get communication error .
OK , over in avrdude and reprogram the bootloader , and I can again uplaod ONE sketch....
For me it looks like the lock bit is not set?? But I do set the lock bit after burning the bootloader:
I use fuses lf=FF hf=DA EF=05 and 3F before i burn the bootloader for unluck and 0F for final lock of boot section
my bootloader file is ATmegaBOOT_168_atmega328.hex
I can load my sketch via the ISP , but I like to use the bootloader so I hope someone I help me out of the standstill?