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

Bootloader incompatible with recent versions of avrdude #126

Open
timmaxw opened this issue Mar 19, 2017 · 1 comment
Open

Bootloader incompatible with recent versions of avrdude #126

timmaxw opened this issue Mar 19, 2017 · 1 comment

Comments

@timmaxw
Copy link

timmaxw commented Mar 19, 2017

The bootloader works with version 6.1 of avrdude but not version 6.2. I think the problem is related to reading the signature bytes. avrdude always tries to read the signature bytes before doing anything else. Version 6.1 of avrdude uses CMD_SPI_MULTI to read signature bytes, which boot.inc supports as a special case. But version 6.2 of avrdude uses CMD_READ_SIGNATURE_ISP, which boot.inc does not support. Here is the relevant avrdude change log entry. I've included transcripts of version 6.1 and version 6.2 running in verbose mode, showing the exact bytes that avrdude sends to the bootloader and the replies it receives.

(I'm using an Afro ESC programmed via a Afro ESC USB programming tool on a computer running Linux 4.4.0-47-generic x86_64. But I doubt these details are relevant.)

@adammck
Copy link

adammck commented Mar 20, 2017

I'm seeing the same problem with avrdude 6.3.

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

2 participants