Hello, > - How can the API be changed to ensure that all fuse bytes are set by the > user?
Not fixing that problem, but what about providing some indication that not all fuse bytes were set? By this I mean providing a "magic sequence" at the end of the fuse bytes. So the ELF file in the .fuse section looks like: LFUSE HFUSE EFUSE 0xAA 0x00 0x00 0x00 Then avrdude can check that the 0xAA is in the correct spot (just made up numbers, can select better magic values). If the AVR being programmed has all three fuses, but in the forth location 0x00 is read instead of 0xAA, the layout is messed up. The 0x00's are part of the sequence to ensure that when bytes are left out the magic number will be guaranteed wrong. Regards, -Colin _______________________________________________ AVR-libc-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
