Freescale Semiconductor PE Micro Cyclone Pro User Manual page 88

Table of Contents

Advertisement

CYCLONE PRO
8.3.8
Debugging Limitations
The following limitations are inherent in MON08 debugging and should be
observed carefully.
8.3.9
Debugging Tips
The following tips may prove useful:
82
Figure 8-26: Register Window
Do not step a command that branches to itself.
Do not step an SWI (software interrupt) command.
The hardware breakpoint registers are reserved for use by the
debugger. Attempting to use these registers for other purposes may
not work.
Be careful about showing peripheral status and data registers in the
memory or variables window. A refresh of the window will read these
registers and may cause the clearing of flags.
The debug monitor built into CPU08 processors uses up to 13 bytes
of the stack. Do not write to these addresses from (SP-13) to SP. To
load a program into RAM, move the stack to the end of RAM.
If interrupts are turned on during stepping, the debugger will not step
into the interrupt. Instead, it will execute the whole interrupt and stop
on the command returned to after the interrupt.
Do not set hardware breakpoints within the monitor ROM area itself,
or they will not function properly.
Single stepping is allowed in both RAM or ROM.
Cyclone PRO User Manual

Advertisement

Table of Contents
loading

Table of Contents