AtmelICE no longer detects devices. Error 4109 - Solved

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

I have two different boards, one using a SAM4N8 and another using SAMD20G15.  Both used to work/debug/program fine.  15 boards in total.

Now today, none of them will connect to the ICE.  They run just fine on their own, but I can not debug or program them.

No device detected. Error 4109. (TCF Error code: 1)

I've tried the debug interface, the programming tool and the command line:

atprogram -i swd -d atsamd20g15 -t atmelice info

All end the same, no device detected.  In the programming tool I also get the same error when trying to read the signature.  The voltage however is read, 3.4v.

 

I just finished reinstalling Atmel Studio 7, and it updated the firmware in the ICE after that, but still no change.

I can use the EDBG on my SAM20Xplained board and get the signature to work.

I have two different ICE pods and both are giving me the same results.

 

Here is the programming interface for the SAMD20

 

 

 

I'm using Win10.

 

Any help would be appreciated, I'm stuck!

 

Thanks,

Aaron

Last Edited: Thu. Jan 4, 2018 - 10:23 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I don't know how this could have happened, or how it ever worked before, but we looked at one of the ribbon cables from production (for AVR), and it looks like the cable I've been using has one connector backwards in comparison.  So we cut off the polarizing notch and reversed it on the ICE side, and now it all works!

talk about a WTF moment!surprise

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

The cable could have been reversed on the other end.

Last Edited: Mon. Jan 29, 2018 - 01:02 AM