Newbie Posted August 30, 2016 Share Posted August 30, 2016 I have the JTAG-HS1 Rev.A cable, installed the AVR Programmer, connect pins (SCK, MOSI, MISO, /RESET, VCC, GND) of chip Atmel ATMEGA128 to cable. Manually entered the device settings and tried to read the Fuses/Lock Bits. But message prompted Creating SPI communication interface Connecting Entering programming mode Failed in high speed mode, trying low speed mode **Error - Unable to place device into programming mode Is the problem due to cable driver (Device Manager reflects USB Serial Converter A & or the chip? Link to comment Share on other sites More sharing options...
Bianca Posted August 30, 2016 Share Posted August 30, 2016 Hello, The AVR programmer is an application that was made primarily for Digilent boards with AVR. It was not updated since 2006. I don't know if it is or if it should be compatible with the newest microcontrollers. From what I've seen ATMEGA 128 is not included in device list and I saw that is a quite new microcontroller (2011). I will ask my colleagues who have a bit more experience with this software and AVR. Regards, Bianca Link to comment Share on other sites More sharing options...
jpeyron Posted August 30, 2016 Share Posted August 30, 2016 Hello, Unfortunately, The AVR programmer support the following silicon: AT90USB162 AT90USB646 ATmega168 ATmega2560 ATmega48 ATmega64 ATmega165P ATmega88 ATtiny24 ATmega64 I’ve attached a document that describes how to create device files. It’s possible that a customer may be able to read the attached document and then write their own device file for the ATmega128 . Digilent AVR Part Description File Specification.pdf Link to comment Share on other sites More sharing options...
Newbie Posted August 31, 2016 Author Share Posted August 31, 2016 That sounds challenging and probably result more uncertainties. Regards Link to comment Share on other sites More sharing options...
Newbie Posted September 2, 2016 Author Share Posted September 2, 2016 How should I run the device file with AVR programmer.exe? Link to comment Share on other sites More sharing options...
jpeyron Posted September 2, 2016 Share Posted September 2, 2016 Hello, You should put your file in the last folder of the path C:\Program Files (x86)\Common Files\Digilent\AVRParts . thank you, Jon Link to comment Share on other sites More sharing options...
Newbie Posted September 6, 2016 Author Share Posted September 6, 2016 I've created the device file and put in the designated folder, but I am still getting the Error - Unable to connect to SPI device To communicate with the device, should I connect the programming cable (JTAG-HS1) to the JTAG pins or to the SPI pins of the device? Although I've tried both sets of pins but still not able. Any advice? Thanks! Link to comment Share on other sites More sharing options...
jpeyron Posted September 8, 2016 Share Posted September 8, 2016 Hello, You should be using the spi pins of the device. I would suggest to oscilloscope the JTAG-HS1 and see what is going on. cheers, Jon Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.