The following sample programs can be found in the <" />
參數(shù)資料
型號: 101-1226
廠商: Rabbit Semiconductor
文件頁數(shù): 83/168頁
文件大小: 0K
描述: RCM3900 DEV KIT UNIVERSAL
標(biāo)準(zhǔn)包裝: 1
系列: RabbitCore 3900
類型: MPU 模塊
適用于相關(guān)產(chǎn)品: RCM3900
所含物品: RabbitCore 模塊、開發(fā)板、交流適配器、纜線和 Dynamic C? 光盤
其它名稱: 316-1137
RabbitCore RCM3900 User’s Manual
21
3.2.1 Use of NAND Flash (RCM3900 only)
The following sample programs can be found in the SAMPLES\RCM3900\NANDFlash folder.
NOTE: These sample programs cannot be run on the RCM3910, which does not have
NAND flash installed.
NFLASH_DUMP.C
—This program is a utility for dumping the nonerased contents of a
NAND flash chip to the Dynamic C STDIO window, and the contents may be redi-
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 STDIO window.
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
—This program is a utility for erasing all the good blocks of a
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 STDIO window.
NFLASH_INSPECT.C
—This program is a utility for inspecting the contents of a NAND
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 NFLASH_USEERASEBLOCKSIZE
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 nf_initDevice() function help for more
information.
NFLASH_LOG.C
—This program runs a simple Web server that stores a log of hits in
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 code” link on the Web page to see this sample program’s #ximported file
content.
相關(guān)PDF資料
PDF描述
AIUR-10-102K INDUCTOR POWER 1000UH 10% T/H
AIUR-06-470K INDUCTOR POWER 47UH 10% T/H
V300C28C75B2 CONVERTER MOD DC/DC 28V 75W
AT91SAM9X25-EK KIT EVAL FOR AT91SAM9G25
AT91SAM9G25-EK KIT EVAL FOR AT91SAM9G25
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
10-11-2263 功能描述:集管和線殼 KK 100 Housing Crimp Ramp 26 Ckt RoHS:否 產(chǎn)品種類:1.0MM Rectangular Connectors 產(chǎn)品類型:Headers - Pin Strip 系列:DF50 觸點類型:Pin (Male) 節(jié)距:1 mm 位置/觸點數(shù)量:16 排數(shù):1 安裝風(fēng)格:SMD/SMT 安裝角:Right 端接類型:Solder 外殼材料:Liquid Crystal Polymer (LCP) 觸點材料:Brass 觸點電鍍:Gold 制造商:Hirose Connector
10-11-2264 制造商:MOLEX 制造商全稱:Molex Electronics Ltd. 功能描述:2.54mm (.100") Pitch KK?? Crimp Terminal Housing, High Pressure, 1 Circuits
10-11-2273 制造商:MOLEX 制造商全稱:Molex Electronics Ltd. 功能描述:2.54mm (.100") Pitch KK?? Crimp Terminal Housing, High Pressure, 1 Circuits
10-11-2274 功能描述:集管和線殼 KK 100 Housing Crimp Pol Ramp 27 Ckt RoHS:否 產(chǎn)品種類:1.0MM Rectangular Connectors 產(chǎn)品類型:Headers - Pin Strip 系列:DF50 觸點類型:Pin (Male) 節(jié)距:1 mm 位置/觸點數(shù)量:16 排數(shù):1 安裝風(fēng)格:SMD/SMT 安裝角:Right 端接類型:Solder 外殼材料:Liquid Crystal Polymer (LCP) 觸點材料:Brass 觸點電鍍:Gold 制造商:Hirose Connector
10-11-2283 功能描述:集管和線殼 28P HI PRESSURE HSG RoHS:否 產(chǎn)品種類:1.0MM Rectangular Connectors 產(chǎn)品類型:Headers - Pin Strip 系列:DF50 觸點類型:Pin (Male) 節(jié)距:1 mm 位置/觸點數(shù)量:16 排數(shù):1 安裝風(fēng)格:SMD/SMT 安裝角:Right 端接類型:Solder 外殼材料:Liquid Crystal Polymer (LCP) 觸點材料:Brass 觸點電鍍:Gold 制造商:Hirose Connector