Chapter 5. Software Reference; More About Dynamic C - Rabbit RabbitCore RCM3305 User Manual

C-programmable core module with serial flash mass storage and 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 controllers based on the Rabbit micropro-
cessor. Chapter 5 describes the libraries and function calls
related to the RCM3305/RCM3315.

5.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. A com-
plete 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
SRAM included on the RCM3305/RCM3315. The flash memory and SRAM options are
selected with the
Options > Program Options > Compiler
The advantage of working in RAM is to save wear on the flash memory, which is limited
to about 100,000 write cycles. The disadvantage is that the code and data might not both
fit in RAM.
NOTE: An application should be run from the program execution SRAM after the pro-
gramming cable is disconnected. Your final code must always be stored in flash memory
for reliable operation. RCM3305/RCM3315 modules running at 44.2 MHz have a fast
program execution SRAM that is not battery-backed. Select
Run in RAM
store the code in flash and copy it to the fast program execution SRAM at run-time to
take advantage of the faster clock speed. This option optimizes the performance of
RCM3305/RCM3315 modules running at 44.2 MHz.
NOTE: Do not depend on the flash memory sector size or type in your program logic.
The RCM3305/RCM3315 and Dynamic C were designed to accommodate flash
devices with various sector sizes in response to the volatility of the flash-memory
market.
Developing software with Dynamic C is simple. Users can write, compile, and test C and
assembly code without leaving the Dynamic C development environment. Debugging
occurs while the application runs on the target. Alternatively, users can compile a program
to an image file for later loading. Dynamic C runs on PCs under Windows 2000 and
later—see Rabbit's Technical Note TN257, Running Dynamic C
User's Manual
5. S
OFTWARE
from the Dynamic C
Options > Project Options > Compiler
R
EFERENCE
menu.
Code and BIOS in Flash,
menu to
®
With Windows Vista
®
,
37

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rabbitcore rcm3315Rabbitcore rcm3309

Table of Contents