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

[bug #34994] avrdude does not send PDI offsets when erasing XMEGA chip #243

Closed
avrs-admin opened this issue Dec 10, 2021 · 4 comments
Closed
Labels
invalid This doesn't seem right question Further information is requested

Comments

@avrs-admin
Copy link

John Voltz john.voltz@gmail.com
Mon 05 Dec 2011 06:59:04 PM UTC

avrdude 5.11.1 does not erase ATxmega16A4.

file #24540: avrdude-5.11.1-xmega-set-PDI-offsets.patch
file #24539: xmega_erase_avrstudio_4_19.log

This issue was migrated from https://savannah.nongnu.org/bugs/?34994

@avrs-admin avrs-admin added the question Further information is requested label Dec 10, 2021
@avrs-admin
Copy link
Author

Joerg Wunsch <joerg_wunsch>
Mon 02 Sep 2013 06:22:41 PM UTC

Pleae test again with SVN trunk, or (if you cannot do that)
with the publically available 6.0rc1 tarball.

Many things have changed between 5.11.1 and trunk, and it's
more than likely this one is fixed now.

@mcuee
Copy link
Collaborator

mcuee commented Jun 6, 2022

Not so sure if this is still relevant since the report is so old and the OP did not come back.

@mcuee mcuee added the unconfirmed Maybe a bug, needs to be reproduced by someone else label Jun 22, 2022
@mcuee
Copy link
Collaborator

mcuee commented Jul 12, 2022

I have finally been able to program my MCUzone ATxmega32D4 breakout board using an AVRISP mkii clone. I do not see the issues with avrdude 7.0.

PS C:\work\avr\avrdude\avrdude-7.0_bin64> .\avrdude.exe -p atxmega32d4 -c avrispmkii -e

avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude.exe: Device signature = 0x1e9542 (probably x32d4)
avrdude.exe: erasing chip

avrdude.exe done.  Thank you.

PS C:\work\avr\avrdude\avrdude-7.0_bin64> .\avrdude.exe -p atxmega32d4 -c avrispmkii 
-U flash:w:atxmega32d4_readback_mcuzone.hex:i

avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude.exe: Device signature = 0x1e9542 (probably x32d4)
avrdude.exe: NOTE: Programmer supports page erase for Xmega devices.
             Each page will be erased before programming it, but no chip erase is performed.
             To disable page erases, specify the -D option; for a chip-erase, use the -e option.
avrdude.exe: reading input file "atxmega32d4_readback_mcuzone.hex"
avrdude.exe: writing flash (478 bytes):

Writing | ################################################## | 100% 0.04s

avrdude.exe: 478 bytes of flash written
avrdude.exe: verifying flash memory against atxmega32d4_readback_mcuzone.hex:

Reading | ################################################## | 100% 0.01s

avrdude.exe: 478 bytes of flash verified

avrdude.exe done.  Thank you.


@mcuee mcuee added invalid This doesn't seem right and removed unconfirmed Maybe a bug, needs to be reproduced by someone else labels Jul 12, 2022
@mcuee
Copy link
Collaborator

mcuee commented Jul 12, 2022

I will close this issue for now.

@mcuee mcuee closed this as completed Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants