Watch Out! Atmel ICE SAM Cable has Reversed Pinout -- NOT Standard ARM Cable

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

Hello everyone,

 

I just spent a couple of hours trying to figure out why I couldn't connect to my first ATSAM51D board.  I was using a 2x5 0.05"-pitch cable that I've used for many different ARM debuggers/programmers. But it turns out that the one you need to connect to the Atmel ICE is NOT that cable -- it requires the ends to be reversed (i.e. connectors facing different ways on each end so that pin 1 goes to pin 10).  Yuck!

 

So be sure to use the cable from the Atmel ICE box and not one from another ARM project.  I'll be adding labels to both sides so I don't do this again in the future.

 

Anyways if anyone else runs into it here are some error terms I was searching for during the debugging:

 

Error 4109

Target Voltage reading too high

 

The good news is that the Atmel ICE seems to be pretty robust as it still works even though I had the pinout reversed for awhile.

 

HTH,

 

James

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

The rules are fairly straightforward.
Plug the ATMEL-ICE ribbon into the SAM socket. Plug the 5x2 onto the 5x2 Cortex header.
Plug a regular 10-way ribbon into SAM socket. Rotate the other end 180 degrees into Cortex header. i.e. red stripe to pin 10.
.
The SAM socket is keyed. So it will always be backwards. Regular ribbon only works if the Cortex header is naked.
.
I would love to know whether the ATMEL-ICE socket feature was intentional.
.
David.

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

david.prentice wrote:
I would love to know whether the ATMEL-ICE socket feature was intentional.

 

It was certainly intentional so that it's a non-standard cable, then it can be sold only by Microchip at a higher price than a standard connector. You could make your own, Cable part-no.  3M156019-1-ND  and sockets part-no.  1175-1646-ND  from Digikey. This is only worthwhile if you order these parts along with others - the postage charges are significant for small orders, free if over $60/€60

Jerry

PS Check the partnumbers before ordering