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.
- 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