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 with Arduino Nano Every: conf file with Arduino vs conf file from avrdude #991

Closed
CiaranW5 opened this issue Jun 13, 2022 · 7 comments
Labels
invalid This doesn't seem right

Comments

@CiaranW5
Copy link

I am programming (successfully) an Atmega4809 in Arduino Nano Every using Microchip Studio external tools (Windows 10 or 11).
I copied avrdude and the conf file from an Arduno IDE download, and the conf file contains a programmer entry 'jtag2updi'. This is reported as Version 6.3.
If I download Ver 6.3 (also Ver 6.4) from the AVRDUDE github then there is no entry for jtag2updi. Why is this?
Also should I use jtagmkii_pdi in the github downloaded versions in place of 'jtag2updi'?
Thanks,
Ciaran

@mcuee
Copy link
Collaborator

mcuee commented Jun 13, 2022

Just use the official avrdude 7.0 release here and it will be okay. You need to use a trick to simulate what Arduino is doing.

Please refer to my run log here:

There is only one release here in this github, which is 7.0.
https://github.com/avrdudes/avrdude/releases

@mcuee
Copy link
Collaborator

mcuee commented Jun 13, 2022

jtag2updi is only added to the official avrdude repo on 29 Dec 2021. Therefore it will not be available for avrdude 6.3 and 6.4 release.
0a335e2

Arduino probbaly has their own patches for there 6.3 version.

@CiaranW5
Copy link
Author

  1. Yes, it looks like the avrdude.conf in the Arduino download has this patch.
  2. I have just downloaded avrdude version 7.0 and I have programmed my Nano Every M4809 successfully using it (also using the 1200bps workaround).
    Thanks for the prompt reply. I prefer to use this release version, Version 7.0. Looks good.

@mcuee
Copy link
Collaborator

mcuee commented Jun 13, 2022

@CiaranW5 In this case, please close this issue. Thanks.

@CiaranW5
Copy link
Author

  1. Yes, it looks like the avrdude.conf in the Arduino download has this patch.
  2. I have just downloaded avrdude version 7.0 and I have programmed my Nano Every M4809 successfully using it (also using the 1200bps workaround).
    Thanks for the prompt reply. I prefer to use this release version, Version 7.0. Looks good.

@CiaranW5
Copy link
Author

Thanks - issue resolved now.

@mcuee mcuee added the invalid This doesn't seem right label Jun 19, 2022
@mirh
Copy link

mirh commented May 14, 2023

facchinm/avrdude@46a9c3b this was it

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

3 participants