User`s manual

User’s Manual 39
Standard debugging features:
X Breakpoints—Set breakpoints that can disable interrupts.
X Single-stepping—Step into or over functions at a source or machine code level, µC/OS-II aware.
X Code disassembly—The disassembly window displays addresses, opcodes, mnemonics, and
machine cycle times. Switch between debugging at machine-code level and source-code level by
simply opening or closing the disassembly window.
X Watch expressions—Watch expressions are compiled when defined, so complex expressions
including function calls may be placed into watch expressions. Watch expressions can be updated
with or without stopping program execution.
X Register window—All processor registers and flags are displayed. The contents of general registers
may be modified in the window by the user.
X Stack window—shows the contents of the top of the stack.
X Hex memory dump—displays the contents of memory at any address.
X STDIO window—
printf outputs to this window and keyboard input on the host PC can be
detected for debugging purposes.
printf output may also be sent to a serial port or file.
5.1.2 Early Versions of Dynamic C
If you are using Dynamic C version 7.04 or earlier, modify the BIOS source code as fol-
lows. Skip these three steps if your version of Dynamic C is 7.05 or later.
1. Open the BIOS source code file named RABBITBIOS.C, which can be found in the
BIOS directory.
2. Change the line
#define USE115KBAUD 1 // set to 0 to use 57600 baud
to read as follows.
#define USE115KBAUD 0 // set to 0 to use 57600 baud
3. Save the changes using File > Save.
Now press <Ctrl-Y>. You should receive the "BIOS successfully compiled …"
message indicating that the target is now ready to compile a program.