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 #40112] 6.0.1 - 911 flash upload fails #304

Closed
avrs-admin opened this issue Dec 10, 2021 · 5 comments
Closed

[bug #40112] 6.0.1 - 911 flash upload fails #304

avrs-admin opened this issue Dec 10, 2021 · 5 comments
Labels
invalid This doesn't seem right

Comments

@avrs-admin
Copy link

Natan Keddem nkeddem+avrdude@gmail.com
Thu 26 Sep 2013 02:04:07 PM UTC

I am having some issues with the new windows version and programing an xmega128a1u with a 911 compatible bootloader.  I have attempted to use VirtualBox and Ubuntu 12.04.3 to build a and run avrdude 601 as well with identical results.  I have attached logs from both 5.11-Patch #7610 and the "official" 6.0.1 build.  Both are windows versions.  5.11 works correctly and 6.0.1 fails.  Note that I am using the 128a1 not the 128a1u designator because 5.11 has no official support for the 128a1u and I want to keep everything as normalized as possible.

The command line used for both logs was the following:
avrdude -vvvv -V -c avr911 -p x128a1 -P com7 -b 19200 -U flash:w:b1.hex 2>

It appears that after the signature is obtained there is no further actions taken by avrdude.  The program just leaves program mode and tells the bootloader to reset.  See the below table of transactions I took with a soft serial spy tool:

WRITE--1b-------"."
WRITE--53-------"S"
READ---42 74 4c 64 72-"BtLdr"
WRITE--56-------"V"
READ---31 30----"10"
WRITE--76-------"v"
READ---3f-------"?"
WRITE--70-------"p"
READ---53-------"S"
WRITE--61-------"a"
READ---59-------"Y"
WRITE--62-------"b"
READ---59-------"Y"
READ---02-------"."
READ---00-------"."
WRITE--74-------"t"
READ---7b-------"{"
READ---00-------"."
WRITE--54 7b----"T{"
READ---0d-------"."
WRITE--50-------"P"
READ---0d-------"."
WRITE--73-------"s"   <-Signature check
READ---4c 97 1e-"L—." <-Signature reply
WRITE--4c-------"L"   <-Exiting Program mode..why?!
READ---0d-------"."
WRITE--45-------"E"
READ---0d-------"."

file #29225: loggood5117610-01.txt
file #29224: logbad601-01.txt

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

@mcuee
Copy link
Collaborator

mcuee commented Jun 6, 2022

@mcuee mcuee added bug Something isn't working unconfirmed Maybe a bug, needs to be reproduced by someone else and removed bug Something isn't working labels Jun 20, 2022
@mcuee
Copy link
Collaborator

mcuee commented Jul 18, 2022

It mentions AVR911 but actually it is using the bootloader which is AVR109.
#274 (comment)
AVR911 -- AVR open source programmer which supports AVR109 and AVR910
AVR109 -- self programming bootloader
AVR910 -- simple ISP programmer

@mcuee
Copy link
Collaborator

mcuee commented Aug 6, 2022

@mcuee
Copy link
Collaborator

mcuee commented Aug 8, 2022

As per the test in #404 by @MCUdude, AVR109 bootloader (xboot) works fine with current avrdude for ATxemag128A3. So I believe this issue should have been fixed.

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

mcuee commented Aug 8, 2022

So I will close this issue as invalid now.

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
Projects
None yet
Development

No branches or pull requests

2 participants