I am looking for a 1284P bootloader.
The bootloader used by Goldilocks seems to use a lot of flash compared to other.
Is there an 20 MHz version of OptiBoot out their for the 1284P?
If someone could sent it to me it would be appreciated.
ATAVRISP2 is inbound from Mouser then I will be ready to load it.
Thanks
Bruce
system
#2
Well the BootLoader seems to programm just fine but when I try upload a sketch program using the bootloader I not get the following:
avrdude: stk500_loadaddr(): (a) protocol error, expect=0x14, resp=0x55
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64
avrdude: stk500_cmd(): programmer is out of sync
I can upload the sketch directly with the programmer but I seem to not be able to program by the bootloader.
Any idea?
Thanks
Bruce
OK, now I am really confused.
I have two identical boards.
One flahses using the bootloader with no problem.
The other does not and I get the following response:
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64
avrdude: stk500_cmd(): programmer is out of sync
Both boards upload the bootloader with no issue.
Any ideas?
Is there a reason why the mega jr using the following fuse settings:
mega_jr_20.bootloader.low_fuses=0xd7
mega_jr_20.bootloader.high_fuses=0xd6
mega_jr_20.bootloader.extended_fuses=0xfd
Versus the Bobuino uses the following fuse settings:
bobuino.bootloader.low_fuses=0xff
bobuino.bootloader.high_fuses=0xde
bobuino.bootloader.extended_fuses=0xfd
Ideas are appreciated.
Thanks
Bruce
system
#6
s there a reason why the mega jr using the following fuse settings:
mega_jr_20.bootloader.low_fuses=0xd7
mega_jr_20.bootloader.high_fuses=0xd6
mega_jr_20.bootloader.extended_fuses=0xfd
Versus the Bobuino uses the following fuse settings:
bobuino.bootloader.low_fuses=0xff
bobuino.bootloader.high_fuses=0xde
bobuino.bootloader.extended_fuses=0xfd
Can you add comments to identify the meaning /purpose-function of these fuse settings ?
No clue except what I have seen in the calculator web page.
Changed to the Mega Jr. 20 Mhz fuse setting, re-flashed the boot loader and now all is good.:
mega_jr_20.bootloader.low_fuses=0xd7
mega_jr_20.bootloader.high_fuses=0xd6
mega_jr_20.bootloader.extended_fuses=0xfd
I read some posts that there can be issue with crystal setting in the low fuse bytes.