Hardware Reference
In-Depth Information
Figure 5.33 Find out the address of program variables by examining the map file
After making result a global variable, remake the project. The project build process gener-
ates a map file. For example, the map file of the icctutor project is icctutor.mp. The user can
scroll around the file icctutor.mp and find the address of result (changed to _result ). As shown
in Figure 5.33, the variable result is assigned to the memory location $1000.
A CTIVATE THE T ERMINAL W INDOW
Before the user can download the program onto the demo board, she or he needs to switch
the work space to be used as the terminal window because the work space can be used as the
editor space or terminal window. Activate the terminal window by pressing the Terminal menu
and select Show Terminal Window. The ICC12 screen with the terminal window activated is
shown in Figure 5.34.
Figure 5.34 ICC12 screen with terminal window activated
 
Search WWH ::




Custom Search