4.5. Debugging the demo

You can now load the software into memory on the Cyclone III Starter Board.

In the RealView MDK window, select Debug → Start/Stop Debug Session. At this point, the code has been loaded onto the board, and execution has continued through the initial startup code, and has halted at the main() as shown in Figure 4.9.


If you are running RealView MDK in evaluation mode, you will see warnings about a restricted code size limit.

You can now set breakpoints and step through the code.

Figure 4.9. RealView IDE with break at main()

RealView IDE with break at main()

Copyright © 2008 ARM Limited. All rights reserved.ARM DUI 0430A