Jtag error 20100 status 1 ATmega16U4 custom.

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

Good morning brilliant people.

 

I have a custom board I am trying to program with Atmel-ICE but Jtag seems to only be halfway working and by that I mean in Atmel Studio 7 under device programing the tool shows up and I'm able to select the device and apply but if I try to read the voltage it fails and if I try to read the device signature it reads the voltage and fails saying no Jtag devices are present.

I have a MEGA-1284P Xplained board for testing that I can hook up and read the device so it isn't the programmer.

I suspected cable issues so I have short snips of wire soldered to the breakouts for the Jtag and connected directly to the squid cable that I tested on the Xplained board which got me this far.

The VCC and GND are still a bit long but the roundabout voltage reading in Atmel Studio is stable at 4.8VDC. 

 

I hope I'm just tired and am missing something simple but any ideas and information is greatly appreciated.

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

.. doesn't sound like JTAG is working at all...

:: Morten

 

(yes, I work for Atmel, yes, I do this in my spare time, now stop sending PMs)

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

Not sure what direction to go from here.

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

FurikuriYugi wrote:
The VCC and GND are still a bit long but the roundabout voltage reading in Atmel Studio is stable at 4.8VDC.
... at a low sample rate; try a low bandwidth oscilloscope to confirm (1MHz for LDO, 10MHz for SMPS)

The mega16U4's Vcc regulator may be oscillating, BOR, etc.

After confirm Vcc, confirm mega16U4's clock.

 

P.S.

FurikuriYugi wrote:
I suspected cable issues so I have short snips of wire soldered to the breakouts for the Jtag and connected directly to the squid cable that I tested on the Xplained board which got me this far.
Series termination can reduce the cable's effect within reason; some value between AVR's output impedance and the impedance of free space.

Excessive inductance, excessive over-shoot, excessive injection current, either defects/faults/failure due to temporary upset or cumulative damage or destruction (AVR's ESD suppression)

 

"Dare to be naïve." - Buckminster Fuller

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

Update:

I think I've found my problem.  *Bang head on desk*

I apparently mixed up my projects and put a 32.768kHz crystal on here.