ATMEL STUDIO 7.0 cant enter programming mode

Go To Last Post
9 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I just started to use Atmel Studio with Atmel ICE. I try to connect, the interface can read my Atmel ICE and I connect it to my board with ISP interface with my target AVR is ATTiny1634. I power the target with 5V and ground from Arduino board.

 

When I read the Device Signature, it show 0x1E9412 and dont have error.  But when I try to read the fuses, lock bits, and memories program, the error of unexpected signature (0x00000102) came out. I attached the error screen captures.  Can someone tell me what is going on and how to resolve this issue.

 

 

Attachment(s): 

This topic has a solution.
Last Edited: Thu. Jun 25, 2020 - 02:00 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have the same issue with my ICE and XMega-A3BU using the PDI interface ..
Another board I have based on the atXmega192A3U-AU has no issues ..

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Misread signatures often indicates the programmer to chip wiring has a problem.

 

Presumably for the 192a3u it was hoping to see 1E 97 44? What did it actually read? Does it just look like noise or was it a number similar to this? (for example if it expected 1E 97 44 but actually read 1E 97 42 it would simply mean you actually has a 128a3u not a 192a3u etc but if it as F7 3B 29 or something that is just a wiring/reading problem - at the very least all Atmel AVR will start 1E (code for "Atmel")).

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:
Misread signatures often indicates the programmer to chip wiring has a problem.

could also be a speed issue...

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Are these new chips, or have they been programmed before?

 

 

(Possum Lodge oath) Quando omni flunkus, moritati.

"I thought growing old would take longer"

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Oh and the usual question: what is powering the AVR? (don't answer "Atmel ICE"!!)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Found the culprit ...

 

The XMega-A3BU is an Xplained board .. which by default is set to JTAG.

In order to use PDI you must either:

1) Disable JTAG in the device

2) Cut a small strip on the back of the board to force PDI ..

 

I have done the latter and it works flawlessly now. JTAG can be re-enabled by simple soldering the link again ..

 

And the AVR is powered via USB ;-)

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have resolved this issue.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hamisu wrote:
I have resolved this issue.

Thanks for feeding back.

 

Please mark the solution - see Tip #5 in my signature, below:

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...