Skip to content
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

Burn bootloader to 32u4 fails #11907

Open
Smashcat opened this issue Aug 29, 2023 · 1 comment
Open

Burn bootloader to 32u4 fails #11907

Smashcat opened this issue Aug 29, 2023 · 1 comment
Labels
Architecture: AVR Applies only to the AVR microcontrollers (Uno, etc.) Component: Uploading Uploading programs to an Arduino board Type: Bug

Comments

@Smashcat
Copy link

This has been an issue for a few years now. The Arduino IDE (currently using 2.2.0) cannot burn the bootloader to this chip as it attempts to set the high fuse bits, which cannot be done. Unsure why this still isn't fixed. Typical error message:

avrdude: WARNING: invalid value for unused bits in fuse "lock", should be set to 1 according to datasheet
This behaviour is deprecated and will result in an error in future version
You probably want to use 0xff instead of 0x3f (double check with your datasheet first).
avrdude: verification error, first mismatch at byte 0x0000
0xf3 != 0xcb
avrdude: verification error; content mismatch
Failed chip erase: uploading error: exit status 1

@Smashcat
Copy link
Author

This is using an ATMEL ICE programmer to a 32u4 on a custom board. The chip can be programmed/tested using the Microchip Studio IDE, and it does appear as a USB device also, so that part is working.

@per1234 per1234 added Type: Bug Component: Uploading Uploading programs to an Arduino board Architecture: AVR Applies only to the AVR microcontrollers (Uno, etc.) labels Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Architecture: AVR Applies only to the AVR microcontrollers (Uno, etc.) Component: Uploading Uploading programs to an Arduino board Type: Bug
Projects
None yet
Development

No branches or pull requests

2 participants