Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Wrong SYSCFG0 fuse byte value inside fuses_4809.bin #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
MCUdude opened this issue Feb 19, 2019 · 1 comment
Closed

Wrong SYSCFG0 fuse byte value inside fuses_4809.bin #21

MCUdude opened this issue Feb 19, 2019 · 1 comment

Comments

@MCUdude
Copy link
Contributor

MCUdude commented Feb 19, 2019

A bit of research lead me to this. The SYSCFG0 fuse byte is supposed to be 0xC9 (according to the datasheet), not 0xCD like the fuses_4809.bin file specifies.

I can see you've done an attempt in the boards.txt file, but this line is not picked up by avrdude.

But why bother with a binary file in the first place? Each fuse byte is accessable by passing fuse0..fuse8 to avrdude ("-Ufuse5:w:{bootloader.SYSCFG0}:m" for instance), and it makes everything more transparent to the users and developers. I actually had to find myself a binary file editor in order to track this down.

@MCUdude MCUdude changed the title Wrong SYSCFG0 fuse byte value inside fuses.bin Wrong SYSCFG0 fuse byte value inside fuses_4809.bin Feb 19, 2019
@facchinm
Copy link
Member

This looks very interesting, thanks! I totally missed it while preparing the new core version. Patch is coming 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants