ON Semiconductor
www.onsemi.com
29
2. When the build is running, the output of the build is displayed in the
Build Output
view in the IDE, as
illustrated in Figure 35.
Figure 35. Example of Build Output
3. The key resulting output shown in
Project Explorer
in the IDE includes:
•
blinky.hex
: HEX file for loading into flash memory
•
blinky.out
: Arm executable file, used for debugging
•
blinky.map
: map file of the sections and memory usage
5.3.3 Debugging the Sample Code
5.3.3.1 Debugging Applications
IDE debug configurations are already set in the CMSIS pack. To debug an application:
1. Make sure the Evaluation and Development Board is connected to the PC via a micro USB cable.
2. Select
Project > Download and Debug,
or click the icon shown in Figure 36, then accept the J-Link pop-up
dialog in order to use the flash breakpoints (as shown in Figure 37).
Figure 36. Start/Stop Debug Session Icon