Download rcX - Hilscher Knowledge Base

Transcript
Configuring the Hardware Platform and the Resources
51/94
5.11 Configuring Serial FLASH
A serial FLASH component is required if any type of information shall be stored to a non-volatile
media. This covers data like firmware as well as configuration data or data of a flash disk. A big
disadvantage of a serial flash is that code execution cannot take place from it directly. It can be
used just to store a firmware, but it has first to be copied to RAM before it can be executed.
Configuration of serial FLASH takes place in the atrXSFlsh[ ] table. Each entry configures one
serial flash that will be later accessible from the application task level. The driver will create a serial
flash object during the rcX initialization sequence - activated by the function
rX_SysEnterKernelExt() - for each entry found in the table.
The elements of each table entry provide the flash driver with all necessary information about the
serial flash to be configured. The user configures the flash’s capacity, the sector sizes, flash
commands. However, the user has to take into account that not all values that can be specified
within a table entry may apply to the selected target platform.
rcX - Realtime Communication System for netX | Configuration of rcX
DOC050601OS08EN | Revision 8 | English | 2013-06 | Released | Public
© Hilscher, 2005-2013