The following sample programs can be found in the <" />
參數(shù)資料
型號: 20-101-1196
廠商: Rabbit Semiconductor
文件頁數(shù): 83/168頁
文件大?。?/td> 0K
描述: MODULE RABBITCORE RCM3900
標準包裝: 1
系列: RabbitCore®
模塊/板類型: MPU 核心模塊
適用于相關(guān)產(chǎn)品: RCM3900
其它名稱: 20-101-1196-ND
316-1155
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描述
20-101-1105 MODULE RCM4100 RABBITCORE
20-101-1028 MODULE RABBITCORE RCM3750
046232104015800+ CONN FFC/FPC 4POS 1MM VERT SMD
20-101-0454 MODULE RABBITCORE RCM2200
20-101-0405 MODULE RABBITCORE RCM2010
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
20-101-1197 功能描述:模塊化系統(tǒng) - SOM RCM3910 RABBITCORE RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類型:ARM926EJ-S 頻率:150 MHz 存儲容量:8 MB, 16 MB 存儲類型:NOR Flash, SDRAM 接口類型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-1198 功能描述:程序設(shè)計器配件 Programmers, Development Systems Accessories - CARD EXPANSION RN1400 ROHS RoHS:否 制造商:Lattice 產(chǎn)品:ispDOWNLOAD Cables 用于:In-system Programming
20-101-1200 功能描述:子卡和OEM板 UNIVERSAL RELAY EXP BOARD RoHS:否 制造商:BeagleBoard by CircuitCo 產(chǎn)品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
20-101-1201 功能描述:程序設(shè)計器配件 USB PROG CBL WITH 2MM CONN RoHS:否 制造商:Lattice 產(chǎn)品:ispDOWNLOAD Cables 用于:In-system Programming
20-101-1202 功能描述:WiFi/802.11模塊 RCM4400W CORE MODULE Wi-Fi/802.11 RoHS:否 制造商:Taiyo Yuden 支持協(xié)議:802.11 b/g/n 頻帶: 數(shù)據(jù)速率:150 Mbps 接口類型:SDIO 傳輸功率(最大): 天線連接器類型: 工作電源電壓:3.4 V to 5.5 V 傳輸供電電流: 接收供電電流: 最大工作溫度:+ 80 C 尺寸:35 mm x 15 mm x 2.9 mm