Atmel ICE SWD Problems

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

Hello everyone. This is my first post. I'm posotng because I am frustrated. My ICE does not recognise my SAMD21 chip. I get error 4109. I have checked my connections a hundred thousand times and its not that.It reads target voltage okay. But does not recognise a chip present.
However if I plug and unplug the ice from the usb port I get a new error " 'ArmDev_23' is not a device context".

I have tried everything. Changing the wires, decoupling caps and vdd core output is good. I have lost all hope. Anyone know what is causing this error? Thanks

Asubero

Last Edited: Mon. Jul 11, 2016 - 09:24 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Have a look at this post, it may help.  Also, posting a schematic and pics of how your connecting it may help.

 

http://www.at91.com/discussions/...

 

Jay

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

The ribbon cable that is used to connect the ICE can be a bit fragile,  Atmel sells replacements for a ridiculous price, but you can buy the cable and connectors for about $10.  If all else fails it may be worth trying to swap it out.

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

Here you can order up to 5 free samples of the cable ;-)

 

https://www.samtec.com/products/...

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

Same issue here, 2days ago all was working fine. help please.

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

Are there any solutions in this thread?  I'm having the same issue.

15 boards, two different SAM chips were all working fine, now none of them will connect to the Atmel ICE.

 

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

I'm also having the same issue with SAMD11. Board is as simple as it gets. I stole the schematic from the SAMD11 XPlained reference. SWDIO and SWCLK are connected 10 pin 50 mil Cortex debug header via 0 ohm resistors, nRESET via a 39 ohm resistor. The rest is just GPIOs connected to another header or test pads. I can talk to it just fine via a ULINK2, so I know the pinout is correct and the device is alive. My brand new Atmel ICE gets the programming voltage correct but otherwise can't see the board at all. I've tried on two different development machines.

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

Check my recent thread on this here: https://community.atmel.com/forum/atmelice-no-longer-detects-devices-error-4109-solved

If the schematic matches, then make sure you check the polarity of the cable.

 

Good luck!

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

That was it! I was using a straight through cable (pin 1 -> pin 1, 2 -> 2 ... etc.). After reading your post, I noticed that the cable that came with the Atmel ICE has one of the connectors flipped relative to the other. I'm not using a keyed connector, so I simply plugged mine in backwards at the board end and everything started working.

 

Solution (for me): The connector pinout at the ICE is *not* the same as the JTAG connector, but backwards. A straight cable won't work. You need a reverse cable.