Atmel-ICE Debugger

Comments

2 comments

  • Avatar
    Rod Turner

    OK, I think I have managed to work out for the Atmel-ICE debugger I need to use Target -> Connect -> CMSIS-DAP

     

    0
    Comment actions Permalink
  • Avatar
    Rod Turner

    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. 

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.