-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Support the Atmel STK500 and JTAGICE3 for ISP #2010
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
Support the Atmel STK500 and JTAGICE3 for ISP #2010
Conversation
I just added one more commit with support for the JTAGICE3 programmer. It doesn't actually work, due to bugs in avrdude, but since I invested the work to figure out the right commandline options etc. to use and don't want that work to get lost, I think adding it to programmers.txt already makes sense. |
The configuration of (I always had some confusions about the amount of AVR ISP programmers available, I must admit...). |
A lot of the ISP programmers use the same or similar protocols, so that's a bit confusing, yes. However, I'd say it is good to actually list the programmers explicitely in the menu, so it's clear to people which option they need. E.g., telling people to use AVR ISP if they have an STK500 (with firmware version 1) seems not so userfriendly. We could have an option named "AVR ISP or STK500 (firmware version 1)", but that doesn't scale well. As for the firmware versions, just having a single
For my STK500 running v2 firmware, the default entry worked fine. If As for the disabled JTAGICE3 entry, I just realized that the avrdude |
Ok, I just updated this pullrequest. It now only has a single STK500 entry, which should work with both firmware versions. Furthermore, I've enabled the JTAGICE3 entries, and included some comments about burn uploader not working. Ok to merge like this? |
I just updated the commit message of the last commit, it still said the entry was disabled (which it isn't anymore). Should be ready to merge, now. |
23ff2dd
to
2fe9881
Compare
574a87b
to
dc607bb
Compare
I just added one more commit, that allows programming of slower parts (like brand new 328 chips). |
@matthijskooijman |
Well, one of the reasons I bought a JTAGICE3, is to get faster uploads on my Pinoccio board (uploading and verifying a 128k sketch takes over a minute through the bootloader). ISP at max speed is fast, JTAG is even faster. So, perhaps we need submenus for programmers? :-) |
This adds the configuration needed to support JTAGICE3. Note that burning a bootloader doesn't work yet, due to bugs in avrdude. Uploading sketches works as expected.
This uses a slower bitclock, allowing programming of parts < 4Mhz (like fresh 328 MCU's, which run at 1Mhz by default). For the JTAG version, this is not needed, since the JTAG clock completely drives the chip, regardless of the configured CPU clock.
dc607bb
to
29ad570
Compare
I just rebased this PR so it applies cleanly again. |
Superseded by #5623. |
This adds support for the STK500 development board.