avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-chat] avrdude, stk600, updi, attiny3216


From: Till Sellschopp
Subject: [avr-chat] avrdude, stk600, updi, attiny3216
Date: Mon, 10 Jun 2019 17:17:41 +0200

Hello everyone,

I have a problem when trying to program the attiny3216 with avrdude using the stk600 programmer. I could not find any related issues and hope, that someone in this mailing list might be able to help.

Firstly:
- The setup (wiring etc.) works with atmel studio. It is possible to read the device id of the attiny3216. 
- I use avrdude from this repository "https://github.com/facchinm/avrdude". It is a copy from the main svn. The latest changelog entry is "2018-01-21  Joerg Wunsch"
- Avrdude compiled without any issues or tailoring. 

I use the following command to connect to the attiny3216  "./avrdude -C avrdude.conf -c stk600 -p t3216 -v"
 
The connection to the stk600 is successful & related information is printed into the terminal. 
It terminates with:
"
avrdude: stk500v2_program_enable(): program enable instruction not defined for part "ATtiny3216"
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.
"

If -F is used, the following is printed after the stk600 information:

"
avrdude: stk500v2_program_enable(): program enable instruction not defined for part "ATtiny3216"
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x1057fe
avrdude: Expected signature for ATtiny3216 is 1E 95 21

avrdude done.  Thank you.
"
The following observations were made:

- The device id changes with each call
- The behaviour does not change if the updi line is disconnected
- I could not see any activity on the updi line with a logic analyzer

I would be very thankful for any hints or ideas.

Thanks & with best regards,

Till

reply via email to

[Prev in Thread] Current Thread [Next in Thread]