Debug using SAM-ICE
Purpose
Use IAR tools to debug applications. SAM-ICE is needed.
Download and Install
Download the latest J-Link ARM software from
SEGGER website and install it following
install process.
Debug
-
Un-plug power Adapter supply.
-
Connect SAM-ICE through the 20-wire cable to EK board.
-
Connect the SAM-ICE to a USB port of your Host PC Computer,and PC driver for SAM-ICE is detected automaticlly.
-
Re-plug in power Adapter supply.
Picture below show us the hardware connection:

-
Click Debug icon
on IAR IDE or press Ctrl+D to start debugger

After downloading,the IDE look like this:

-
Then click Go icon
or press F5 to run project on board.
And you will see the LCD display.
-
Click on "Stop Debugging" icon
to exit from the debugger.
-
Close IAR IDE.
Atmel Corporation ©2011