Go Down

Topic: Debugging MKR 1010 with Atmel ICE SWD (Read 103 times) previous topic - next topic

gojimmypi

I was hoping to use the Atmel ICE debugger with the MKR 1010, however it seems the connector on the MKR board is considerably smaller than the small 50 mil connector on the Atmel ICE.

I've spent a ton of time googling this, and cannot find anything specific to the MKR 1010. I did find something called a "PSoc 4" that looks similar. (see search results for swd "5 pin") but no matching cable.

Does someone know what the cable is called, and where I can find an adapter to use the Atmel ICE with the MKR 1010?

See attached for the black 50 mil connector cable from the Atmel ICE, just above the white 5 pin connector on the board (actually it looks like a 10 pin connector, with only 1 row of pins actually there)

Thanks

gojimmypi

#1
Dec 09, 2018, 03:46 am Last Edit: Dec 09, 2018, 09:08 pm by gojimmypi Reason: added a link to my new blog post with more info on SWD debugging for the MKR1010
Actually, that white connector is apparently *not* the J2 for SWD! Fortunately, the MKR boards appear to have a standard (yeah!) SWD on the underside, as shown for this MKR-Zero as noted here:


https://forum.arduino.cc/index.php?topic=442133.0

Ya, a bit of soldering is needed. I bent and trimmed the pins of 2 sets of 3 snap-apart headers, inserted them in a 6 pin header, and soldered to board. Note that the squid-cable will still be needed.

thanks @Federico_Vanzati ! :)


edit: I've written a blog post on debugging the MKR 1010 with the Atmel ICE here:

https://gojimmypi.blogspot.com/2018/12/swd-debugging-arduino-mkr-wifi-1010.html

ballscrewbob

Karma for the good write up...Not enough material on the SWD side of things.

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

Go Up