johngarchie / xmas-icetube

Alternative Ice Tube Clock firmware and hardware revision
43 stars 15 forks source link

Set eFuse bit to expected value by not modifying #5

Closed nakato closed 5 years ago

nakato commented 6 years ago

When running make install-fuse the script attempts to set efuse to 0x06 while I expect it to attempt to write 0xFE.

Removing the bitwise and of 0x07 on the value 0xFE resulted in 0xFE being flashed to the extended fuse as expected.

johngarchie commented 5 years ago

Thank you. I opted to handle this by creating a Makefile option to do this either way. Older versions of avrdude require the reserved bits to be stripped for successful programming, and I'd like to maintain compatibility. But I agree that your way is the "correct" way.