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

avrdude WARNING for deprecated setting of lock/unlock fuse. #237

Open
Schallbert opened this issue Feb 10, 2021 · 0 comments
Open

avrdude WARNING for deprecated setting of lock/unlock fuse. #237

Schallbert opened this issue Feb 10, 2021 · 0 comments

Comments

@Schallbert
Copy link

lock_bits = board.get("bootloader.lock_bits", "0x0F")
unlock_bits = board.get("bootloader.unlock_bits", "0x3F")

Refer to thread https://community.platformio.org/t/avrdude-warning-on-burn-bootloader-with-pio-standard-setting/19227

Solution: modify script this way, please.

lock_bits = board.get("bootloader.lock_bits", "0xCF")
unlock_bits = board.get("bootloader.unlock_bits", "0xEF")
Schallbert added a commit to Schallbert/platform-atmelavr that referenced this issue Feb 14, 2021
issue platformio#237.
Method: following chip datasheets, set unused 2 most significant bits to 1.
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

1 participant