Can't start debugging with SAM-ICE (Error 4109)

All design tool related questions: compiler, assembler, linker. Embedded programming questions: assembler, C code.

Moderator: nferre

terbo
Posts: 26
Joined: Sun Oct 06, 2013 11:04 pm

Can't start debugging with SAM-ICE (Error 4109)

Mon Jul 21, 2014 3:51 pm

Hi.
I use a SAM-ICE for my ATSAMD20E17 on our target-PCB. When I try to download my SW to my PCB (using the "Start Debugging" icon (F5)), a pop-up appears:

Failed to launch program.
Error: No device detected. Error 4109.

On my SAM-ICE, my "Left LED" is GREEN, my "Middle LED" is RED. My "Right LED" is not lit, though when (trying to) transfer the code to my target (I assume), the "Right LED" is flashed GREEN twice, and then turned OFF again. Ref: http://www.atmel.com/webdoc/atmelice/at ... _leds.html

I'll appreciate someones assistance to overcome this issue.

Best Regards Terje Bohler
Andy Peters
Posts: 46
Joined: Mon Jul 08, 2013 11:09 pm

Re: Can't start debugging with SAM-ICE (Error 4109)

Mon Jul 21, 2014 6:37 pm

terbo wrote:Hi.
I use a SAM-ICE for my ATSAMD20E17 on our target-PCB. When I try to download my SW to my PCB (using the "Start Debugging" icon (F5)), a pop-up appears:

Failed to launch program.
Error: No device detected. Error 4109.

On my SAM-ICE, my "Left LED" is GREEN, my "Middle LED" is RED. My "Right LED" is not lit, though when (trying to) transfer the code to my target (I assume), the "Right LED" is flashed GREEN twice, and then turned OFF again. Ref: http://www.atmel.com/webdoc/atmelice/at ... _leds.html
I have seen this several times.

Does Atmel Studio see the dongle? It's in the tools section of your project.

Also, make sure you're on 6.2.
terbo
Posts: 26
Joined: Sun Oct 06, 2013 11:04 pm

Re: Can't start debugging with SAM-ICE (Error 4109)

Tue Jul 22, 2014 2:26 pm

Thanks awneil, but no.

It seems like it was a hardware-reason (hw-bug) for my "Error 4109":
==> All GND signals on the "Cortex Debug Connector" on our PCB was not connected (to GND). Ref:
http://infocenter.arm.com/help/topic/co ... ectors.pdf
http://www.atmel.com/images/Atmel-42129 ... asheet.pdf

Best regards Terje Bohler

Return to “Development Tools”

Who is online

Users browsing this forum: No registered users and 1 guest