EasyManua.ls Logo

Freescale Semiconductor PE Micro Cyclone Pro - Page 88

Freescale Semiconductor PE Micro Cyclone Pro
158 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
82 Cyclone PRO User Manual
CYCLONE PRO
Figure 8-26: Register Window
8.3.8 Debugging Limitations
The following limitations are inherent in MON08 debugging and should be
observed carefully.
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.
8.3.9 Debugging Tips
The following tips may prove useful:
Single stepping is allowed in both RAM or ROM.

Table of Contents

Related product manuals