Dynamic C is an integrated development system for writing
embedded software. It runs on an IBM-compatible PC and is
designed for use with Z-World controllers and other controllers
based on the Rabbit microprocessor. Chapter 3 provides the
libraries, function calls, and sample programs related to the
RCM2200.
3.1 More About Dynamic C
Dynamic C has been in use worldwide since 1989. It is specially designed for program-
ming embedded systems, and features quick compile and interactive debugging in the real
environment. A complete reference guide to Dynamic C is contained in the Dynamic C
User's Manual.
You have a choice of doing your software development in the flash memory or in the static
RAM included on the RCM2200. 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. All standalone applications can only run
from flash memory.
NOTE: Do not depend on the flash memory sector size or type. Due to the volatility of
the flash memory market, the RCM2200 and Dynamic C were designed to accommo-
date flash devices with various sector sizes.
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
Dynamic C Premier 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 eval-
uated 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. If a periodic call to
is included in your program, you will be able to evaluate watch expressions by hitting
<Ctrl-U>
without stopping the program.
User's Manual
3. S
OFTWARE
Options > Compiler
R
EFERENCE
menu.
runwatch()
13
Need help?
Do you have a question about the RabbitCore RCM2200 and is the answer not in the manual?