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

Error in avrdude.conf file! #51

Open
dev-ahmed-ibrahim opened this issue Jul 28, 2021 · 1 comment
Open

Error in avrdude.conf file! #51

dev-ahmed-ibrahim opened this issue Jul 28, 2021 · 1 comment

Comments

@dev-ahmed-ibrahim
Copy link

When I put the avrdude.conf file inside avrdude folder and try to program, it shows the following!

: avrdude -u -c jtag2updi -P COM6 -p m8
WARNING: Unable to detect MCU

avrdude.exe: error at C:\Program Files (x86)\AVRDUDESS\avrdude.conf:1115: programmer type jtagice3_updi not found
avrdude.exe: error reading system wide configuration file "C:\Program Files (x86)\AVRDUDESS\avrdude.conf"

How to solve this?

Thanks!

@ElTangas
Copy link
Owner

Well, it seems you are using a version of avrdude that does not support the jtagice3_updi programmer type.
However, this is not the main problem here.

The main problem is that you want to program an ATmega 8 (-p m8) which is not an UPDI chip and therefore cannot be programmed with jtag2updi.

If you want to program the mega 8, I suggest you use this tool instead:
https://github.com/microtherion/ScratchMonkey

You will also need to restore the original version of avrdude.conf to remove the error.

Actually I wrote jtag2updi inspired by ScratchMonkey.

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