Newbie

Setup Fail

Recommended Posts

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 & B) or the chip?

Share this post


Link to post
Share on other sites

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 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now