Chapter 4. Software; Running Dynamic C - Z-World Wildcat BL2000 User Manual

C-programmable, with ethernet
Table of Contents

Advertisement

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 single-board computers and other
devices based on the Rabbit microprocessor.
Chapter 4 provides the libraries, function calls, and sample pro-
grams related to the BL2000.

4.1 Running Dynamic C

You have a choice of doing your software development in the flash memory or in the static
RAM included on the BL2000. 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
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.
User's Manual
4. S
Options > Compiler
OFTWARE
menu.
33

Advertisement

Table of Contents
loading

Table of Contents