The USERBLOCK_CLEAR.C sample program shows you how to clear and " />
參數(shù)資料
型號(hào): 20-101-1246
廠商: Rabbit Semiconductor
文件頁數(shù): 73/120頁
文件大?。?/td> 0K
描述: CORE MODULE RCM5400W
產(chǎn)品培訓(xùn)模塊: WiFi Authentication
特色產(chǎn)品: RCM5400 Family RabbitCore?
標(biāo)準(zhǔn)包裝: 50
系列: RabbitCore®
模塊/板類型: MPU 核心模塊
適用于相關(guān)產(chǎn)品: RCM5400W
其它名稱: 316-1148
50
RabbitCore RCM5400W
The USERBLOCK_CLEAR.C sample program shows you how to clear and write the con-
tents of the user block that you are using in your application (the calibration constants in
the reserved area and the ID block are protected).
5.2.4 SRAM Use
The RCM5400W module has a battery-backed data SRAM and a program-execution
SRAM. Dynamic C provides the protected keyword to identify variables that are to be
placed into the battery-backed SRAM. The compiler generates code that maintains two
copies of each protected variable in the battery-backed SRAM. The compiler also generates
a flag to indicate which copy of the protected variable is valid at the current time. This flag
is also stored in the battery-backed SRAM. When a protected variable is updated, the
“inactive” copy is modified, and is made “active” only when the update is 100% complete.
This assures the integrity of the data in case a reset or a power failure occurs during the
update process. At power-on the application program uses the active copy of the variable
pointed to by its associated flag.
The sample code below shows how a protected variable is defined and how its value can
be restored.
main() {
protected int state1, state2, state3;
...
_sysIsSoftReset();
// restore any protected variables
The bbram keyword may also be used instead if there is a need to store a variable in
battery-backed SRAM without affecting the performance of the application program. Data
integrity is not assured when a reset or power failure occurs during the update process.
Additional information on bbram and protected variables is available in the Dynamic C
User’s Manual.
5.2.4.1 SRAM Chip Select Considerations
The basic SRAM memory on Rabbit-based boards is always connected to /CS1, /OE1, and
/WE1. Both the data SRAM and the program execution fast SRAM on the RCM5400W
share /OE1.
The BIOS-defined macro, CS1_ALWAYS_ON, is set to 0 by default to disable /CS1 (set it
high). The macro may be redefined in the BIOS to 1, which will set a bit in the MMIDR
register that forces /CS1 to stay enabled (low). This capability is normally used to speed up
access time for battery-backed SRAM as long as no other memory chips are connected to
/OE1 and /WE1. Therefore, the CS1_ALWAYS_ON macro must remain at its default setting
of 0 to avoid conflicts between the data SRAM and the program execution fast SRAM.
5.2.5 Wi-Fi Drivers
Complete information on the Wi-Fi libraries and function calls is provided in Chapter 6.
Additional information on TCP/IP is provided in the Dynamic C TCP/IP User’s Manual.
相關(guān)PDF資料
PDF描述
20-101-1260 BL5S220 SBC (RCM5400-BASED)
20-101-1319 MINCORE MODULE RCM6710
20-668-0024 IC CPU RABBIT4000 128-LQFP
5AGXMB3G6F31C6NES IC ARRIA V FPGA 362K 896FBGA
5CGXFC7D7F31C8NES IC CYCLONE V FPGA 150K 896-FBGA
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
20-101-1247 功能描述:模塊化系統(tǒng) - SOM RCM5450W RABBITCORE MODULE RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類型:ARM926EJ-S 頻率:150 MHz 存儲(chǔ)容量:8 MB, 16 MB 存儲(chǔ)類型:NOR Flash, SDRAM 接口類型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-1252 功能描述:開發(fā)板和工具包 - 其他處理器 RCM56/57 Prototyping Board RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評(píng)估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
20-101-1253 功能描述:開發(fā)板和工具包 - 其他處理器 RCM56/57XX Serial Comm Board RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評(píng)估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
20-101-1254 功能描述:子卡和OEM板 RCM56/57XX Digital I/O Board RoHS:否 制造商:BeagleBoard by CircuitCo 產(chǎn)品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
20-101-1255 功能描述:單板計(jì)算機(jī) BL4S100 512K w/ XBee RoHS:否 制造商:Ampro By ADLINK 外觀尺寸:EPIC 處理器類型:Intel Atom D510 頻率:1.66 GHz 存儲(chǔ)容量:2 GB (max) 存儲(chǔ)類型:DDR2, L2 Cache 接口類型:Ethernet, PS/2, SATA, Serial, USB 工作電源電壓:5 V, 12 V 功耗:13 W 最大工作溫度:+ 70 C 尺寸:165.1 mm x 114.3 mm