User’s Manual
37
5. S
OFTWARE
R
EFERENCE
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
menu.
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
Code and BIOS in Flash,
Run in RAM
from the Dynamic C
Options > Project Options > Compiler
menu to
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
®
With Windows Vista
®
,
Содержание RCM3305
Страница 6: ...RabbitCore RCM3305 RCM3315...
Страница 14: ...8 RabbitCore RCM3305 RCM3315...
Страница 22: ...16 RabbitCore RCM3305 RCM3315...
Страница 28: ...22 RabbitCore RCM3305 RCM3315...
Страница 70: ...64 RabbitCore RCM3305 RCM3315...
Страница 106: ...100 RabbitCore RCM3305 RCM3315...
Страница 144: ...138 RabbitCore RCM3305 RCM3315...
Страница 160: ......