Hardware Reference
In-Depth Information
Program debugging is carried out by the debugger. The CodeWarrior debugger is started
by pressing the function key
F5
or pressing the
Project
menu and selecting
Debug
from the
CodeWarrior IDE window. The initial response of the CodeWarrior debugger varies depending
on the chosen connection method.
I
NITIAL
D
EBUGGER
R
ESPONSE
FOR
THE
S
ERIAL
M
ONITOR
The debugger startup screen for the serial monitor is shown in Figure 3.34. The user should
select the appropriate communication port and then click on
OK.
After the debugger resets the
MCU successfully, the screen will change to that in Figure 5.21. If the screen is not the same as
that in Figure 5.21, the user should press the
Reset
button on the demo board.
I
NITIAL
R
ESPONSE
UNDER
THE
P&E M
ULTILINK
If the user uses a P&E Multilink or a CyclonePro debugger to debug the program running
on the Dragon12-Plus demo board, the initial debugger screen after pressing the F5 function
will look like that in Figure 3.36. This screen asks the user whether it is OK to erase the flash
memory and download the program onto the memory. Click on
OK
and the screen will change
to that shown in Figure 5.21. The debugger screen layout is explained in Section 3.9.5.
Figure 5.21
■
CodeWarrior debugger screen after program is downloaded into the memory
Search WWH ::
Custom Search