Skip to content

JTAGICE3/Atmel ICE fails to verify lock byte due to reverted commit #22

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
matthijskooijman opened this issue Dec 29, 2020 · 1 comment

Comments

@matthijskooijman
Copy link

@facchinm, in 6b0863177b65f70d14e68036a10da92ddb122473 you reverted an upstream commit that fixed an issue with verifying lock bytes on the JTAGICE3 and Atmel ICE programmers. See arduino/Arduino#11107

The commit message does not show any rationale for reverting this, do you still know why it was reverted? Can we unrevert it?

To reproduce, run the following (for a JTAGICE3 with an Uno attached on ISP, for atmelice the -p option must be changed):

$ ~/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude -C~/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf -v -patmega328p -cjtag3isp -Ulock:w:0x0F:m
[ Snip boring output]
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
         0xff != 0x0f
avrdude: verification error; content mismatch

avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as DE
avrdude: safemode: efuse reads as FD
avrdude: safemode: Fuses OK (E:FD, H:DE, L:FF)

avrdude done.  Thank you.

@matthijskooijman
Copy link
Author

Wait, this should go into https://github.com/facchinm/avrdude, let me re-report it there.

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