Rabbit 2000 Getting Started Manual - page 31
Getting Started Manual
27
4.3 Running Dynamic C
You have a choice of doing your software development in the flash memory or in the static
RAM included on the Jackrabbit. The advantage of working in RAM is to save wear on
the flash memory, which is limited to about 100,000 write cycles.
NOTE: An application can be developed in RAM, but cannot run standalone from RAM
after the programming cable is disconnected. Standalone applications can only run from
flash memory.
The disadvantage of using flash memory for debug is that interrupts must be disabled for
approximately 5 ms whenever a break point is set in the program. This can crash fast inter-
rupt routines that are running while you stop at a break point or single-step the program.
Flash memory or RAM is selected on the
Options > Compiler
menu.
Dynamic C provides a number of debugging features. You can single-step your program,
either in C, statement by statement, or in assembly language, instruction by instruction.
You can set break points, where the program will stop, on any statement. You can evaluate
watch expressions. A watch expression is any C expression that can be evaluated in the
context of the program. If the program is at a break point, a watch expression can view any
expression using local or external variables.