Atmel-ICE Debugger
How should I specify the Target connect device for an Atmel-ICE debugger. I have an Atmel ATSAM3X8E board with JTAG that I'm wishing to load and debug with an Atmel-ICE debugger. When I plug in the Atmel-ICE USB cable to Windows and check with the Windows Device Manager, it shows as an Atmel-ICE Data Gateway. When I start CrossStudio for ARM, the Target - Connect list of devices has many mentioning JTAG, but none seem relevent for Atmel-ICE.
This is my first attempt at CrossWorks so I have probable missed the obvious or done something wrong.
Thanks and regards Rod
-
The next piece of my puzzle after using CMSIS-DAP was an error message
"Cannot set debug register"
Most of the suggestions I found on this were focused on insuring the connection was OK. Particularly ensuring the clock speed was not to high and the connection cable was short. Nothing seemed to help, I was always getting the ‘cannot set debug register’ error message.
So to try and verify the hardware setup I switched over to Atmel Studio and followed some instructions there for debugging with the Atmel-ICE adapter. To my surprise when trying to start the debug I got a popup window saying “Atmel-ICE firmware upgrade required”. Firmware on tool 1.0, Firmware on disk 1.21. The Popup also gave me the option to ‘Upload’, which I accepted, and next thing I was looking at debug storage and registers.
So then back to the CrossWorks setup to see what would happen there after the ICE firmware upgrade, and to my delight it is now working there. I’m happily stepping through the code via the Atmel-ICE debugger.
Please sign in to leave a comment.
Comments
2 comments