User’s Manual
35
4. S
OFTWARE
Dynamic C is an integrated development system for writing
embedded software. It runs on an IBM-compatible PC and is
designed for use with 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 BL2100.
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 BL2100. The flash memory and SRAM options are selected with
the
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 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.
NOTE:
Do not depend on the flash memory sector size or type. Due to the volatility of
the flash memory market, the BL2100 and Dynamic C were designed to accommodate
flash devices with various sector sizes.
BL2100s that are special-ordered with 512K flash/512K SRAM memory options have two
256K flash memories. By default, Dynamic C will use only the first flash memory for
program code in these BL2100s. Uncomment the
USE_2NDFLASH_CODE
macro within
the
RABBITBIOS.C
file in the Dynamic C
BIOS
folder to allow the second flash memory
to hold any program code that is in excess of the available memory in the first flash.
Содержание Smartcat
Страница 6: ...Smartcat BL2100 ...
Страница 14: ...8 Smartcat BL2100 ...
Страница 60: ...54 Smartcat BL2100 ...
Страница 78: ...72 Smartcat BL2100 ...
Страница 84: ...78 Smartcat BL2100 ...
Страница 118: ...112 Smartcat BL2100 ...
Страница 124: ...118 Smartcat BL2100 ...
Страница 132: ...126 Smartcat BL2100 ...
Страница 134: ......