-
Notifications
You must be signed in to change notification settings - Fork 151
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
AVR JTAG ICE (mki) can not program EEPROM in terminal mode #1054
Comments
@dl8dtl My JTAGICE clone (square unit) seems to be dead but luckily I just got another cheaper clone (small size like the ATmega88 based USBISP clone). I did a simple test with an JTAG enabled ATmega16A and EEPROM writing seems to be okay now, verfied using usbasp as well.
|
I happened to have a few spare ATmega16's laying around, so I might as well build a DIY JTAG ICE mkI programmer with it to help out with further testing. @mcuee you don't happen to have the latest ICE mkI firmware, do you? |
@MCUdude |
The usual way to get the firmware is that you flash the ATmega16 with an AVR109 bootloader, and then let AVR Studio 4.x upgrade the firmware. ;-) (That's the reasons why these clones used to pop up everywhere by their time. Atmel charged USD 300 for a complete device.) @MCUdude If you're interested, I could send you a bare PCB for a clone. I had to order three of them but only need one. It includes a footprint for an FT232RL so you can directly attach it to USB. (Alas, obtaining FTDIs might be an issue these days.) However, the PCB uses a TQFP ATmega16 – don't know which case your spare parts do have. |
@dl8dtl Thanks for the offer! At the moment I only have ATmega16's in DIP packages. However, I might know a guy that has a spare, ATmega16 in a TQFP package. Would you like to share a picture of your board? |
IIRC I tried to write some bytes into EEPROM in terminal mode. |
Indeed this does not work.
|
@dl8dtl I am trying to revive my dead clone using My dead JTAG ICE clone (square box type) is using ATmega16A, CH340T and 74HC244. I have another working one (small USBAS{/USBISP shapre with metal housing) is using ATmega16, CH340T and 74HC245. |
Sorry for being so late to reply. If you still have a PCB left, I'll happily take one! I got my hands on an ATmega16 in a TQFP package, so I'll be able to get it running after a bit of soldering. |
I guess my bad unit has the corrupted bootloader. AVRProg can program the flash (using the official ebn file) but verification failed. avrdude does not seem to work with it.
|
Interestinly it seems to work better with
|
Actually the current documentation already mentioned the above limitation. So I change the label to https://avrdudes.github.io/avrdude/7.0/avrdude_39.html#Troubleshooting
Edit: hmm, not correct. The above is about Flash write. |
I believe this is fixed by #1106. |
Fixed by PR #1106 |
PR #1031 fixed Issue #443 (AVR JTAG ICE is unable to write fuse and lock bits). It helps EEPROM write a bit but not yet fixed the issue of EEPROM write.
Comment from @dl8dtl
The text was updated successfully, but these errors were encountered: