101-1226 Rabbit Semiconductor, 101-1226 Datasheet - Page 21

RCM3900 DEV KIT UNIVERSAL

101-1226

Manufacturer Part Number
101-1226
Description
RCM3900 DEV KIT UNIVERSAL
Manufacturer
Rabbit Semiconductor
Series
RabbitCore 3900r
Type
MPU Moduler
Datasheet

Specifications of 101-1226

Contents
RabbitCore Module, Dev. Board, AC Adapter, Cable and Dynamic C® CD-Rom
For Use With/related Products
RCM3900
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
316-1137
3.2.1 Use of NAND Flash (RCM3900 only)
The following sample programs can be found in the SAMPLES\RCM3900\NANDFlash folder.
RabbitCore RCM3900 User’s Manual
NFLASH_DUMP.C
NAND flash chip to the Dynamic C
rected to a serial port.
When the sample program starts running, it attempts to communicate with the NAND
flash chip. If this communication is successful and the main page size is acceptable, the
nonerased page contents (non 0xFF) from the NAND flash page are dumped to the
Dynamic C
Note that an error message might appear when the first 32 pages (0x20 pages) are
“dumped.” You may ignore the error message.
NFLASH_ERASE.C
NAND flash device.
When the sample program starts running, it attempts to initialize the onboard NAND
flash chip. If this initialization is successful, the progress of the blocks being erased is
reported in the Dynamic C
NFLASH_INSPECT.C
flash chip. When the sample program starts running, it attempts to initialize the onboard
NAND flash chip. If this initialization is successful, the user can execute various com-
mands to print out the contents of a specified page, clear (set to zero) all the bytes in a
specified page, erase (set to FF), or write a specified value or count pattern to specified
pages.
When you run this sample program, setting the
macro to (0) zero makes the NAND flash driver use smaller (512-byte) chunks of data,
which are less tedious to manage in this program than the alternative larger (16K)
chunks of data. However, using smaller chunks of data means more NAND flash block
erases are required to update all the program pages in an erased block, one per program
page written. In contrast, updating all the program pages in an erased block can require
only a single block erase when all of the program pages within the erase block are
treated as a single large page. See the
information.
NFLASH_LOG.C
the NAND flash. This log can be viewed and cleared from a Web browser by connect-
ing the RJ-45 jack on the RCM3900 to your PC as described in Section 6.1. The sidebar
on the next page explains how to set up your PC or notebook to view this log.
Before you compile and run this sample program, make any configuration changes to
match your requirements. Once you are viewing the results in a Web browser, click the
“Source
content.
NOTE: These sample programs cannot be run on the RCM3910, which does not have
NAND flash installed.
code” link on the Web page to see this sample program’s
STDIO
—This program runs a simple Web server that stores a log of hits in
—This program is a utility for dumping the nonerased contents of a
—This program is a utility for erasing all the good blocks of a
window.
—This program is a utility for inspecting the contents of a NAND
STDIO
window.
STDIO
nf_initDevice()
window, and the contents may be redi-
NFLASH_USEERASEBLOCKSIZE
function help for more
#ximport
ed file
21

Related parts for 101-1226