The USERBLOCK_CLEAR.C sample program shows you how to clear and " />
參數(shù)資料
型號: 101-1262
廠商: Rabbit Semiconductor
文件頁數(shù): 73/120頁
文件大小: 0K
描述: KIT DEV RCM5400W US/INTERNATIONL
標準包裝: 1
系列: RabbitCore 5000
類型: Wi-Fi / 802.11.b
頻率: 2.4GHz
適用于相關(guān)產(chǎn)品: RCM5400W
已供物品: 板,模塊,線纜,CD,電源
其它名稱: 316-1138
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描述
X-10GW21 SWITCH LEVER SPDT 10A SOLDER
X-10GW2-B SWITCH ROLLER SPDT 10A SCREW
X-10GW2 SWITCH LEVER SPDT 10A SOLDER
X-10GW SWITCH LEVER SPDT 10A SOLDER
X-10GM2 SWITCH BASIC SPDT 10A SOLDER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
10112620-106LF 功能描述:集管和線殼 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
10112620-142LF 制造商:FCI 功能描述:578-5NPF-BERGSTIK STR 制造商:FCI 功能描述:HEADER BERGSTIK STR 制造商:FCI 功能描述:OEM ITEM 578-5NPF-BERGSTIK STR
1011-262-0305 制造商:TE Connectivity / Deutsch 功能描述:BACKSHELL DT RECEPTACLE R/A 3WAY
10112626-101LF 功能描述:I/O 連接器 MINI-SAS HD 1X1 EXT BOARD CONN RoHS:否 制造商:Hirose Connector 產(chǎn)品:Plugs 系列:DH 端口數(shù)量: 位置/觸點數(shù)量:51 節(jié)距:1 mm 觸點電鍍: 觸點材料: 型式:Male 電流額定值:0.5 A 安裝風(fēng)格:Cable 端接類型:IDC 顏色: 安裝角:
10112626102L 制造商:FCI 功能描述:MINI SAS 1X4 EXTERNAL