UC3C Custom Board "No target devices were detected"

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

I've been working on a board with an AT32UC3C3512C mcu. I have an Atmel ICE debugger connected to the JTAG port. When I try connecting to the board in Atmel Studio I get the following error message:

No target devices were detected. Debugger command Activate physical failed.

Unable to enter programming mode. Verify device selection, interface settings, target power, security bit, and connections to the target device.

Timestamp: 2017-08-31 18:26:48.897

Severity: ERROR

ComponentId: 20100

StatusCode: 1

ModuleName: TCF (TCF command: Device:startSession failed.)

 

No target devices were detected. Debugger command Activate physical failed.

I've been comparing my design with the AT32UC3C-EK dev board (http://www.atmel.com/Images/AT32...) but I can't find any differences that would matter.

 

I've measured the 3V3 and VCORE lines and they are stable at 3.3V and 1.8V.

 

In the Interface Settings tab of the Device Programming window the Target Voltage shows around 2.7 V. I measured all the pins on the JTAG port and found 2.9V on NRST and 2.7V on pin 7. When I connect pin 7 to 3.3V, the ICE reads 3.3V but I still get the same error message. I noticed that pin 7 is connected to gpio D29 in the AT32UC3C-EK design. I tried that with a jumper wire but it made no difference. It seems weird that NRST is 2.9V instead of 3.3V. I'm not sure why it's like that
 

I've inspected the board with a microscope and everything seems good.

 

Is there something I'm missing?

 

Here's my schematic:

 

Last Edited: Fri. Sep 1, 2017 - 12:43 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The UC3C2512 has an internal pullup on the RESET_N input., an extra 1k seems to me to be excessive.

Last Edited: Fri. Sep 1, 2017 - 01:57 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In fact, all of the pullups on the jtag connector are too small, try 10k's or larger.

 

Jim

 

 

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

I've changed the pull-ups to 10k ohm and NRST now shows 3.3V, which is good. But, now the Target Voltage reads 2.2V and I still get the same error message. I tried connecting pin 7 on the JTAG plug to 3V3 again, which fixed the Target Voltage problem but still no success.

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

I decided to buy a dev board (http://www.atmel.com/tools/uc3-a...) assuming that it will definitely work. I connected it to my Atmel ICE debugger, but when I try programming it, I still get the same message. So now I think it could be a faulty programmer, or I havn't configured the programmer correctly. I have all of the default configurations. Is there any settings that I should be changing? 

 

The ICE debugger is bran new and this is the first project I've tried using it on.