Software architecture
22/70
Flash area definition of HW config in FDL
The storage location and size of the hardware configuration file in the
internal flash memory must be defined as an “area” in the “Flash Layout
Table” of the Flash Device Label. Because the HW config is always stored
at the beginning of the flash device, we recommend you to define it as
“Area 0”.
Note:
The pre-configured FDL templates provided by Hilscher and the
FDLs that can be created in the
New Flash Device Label
wizard of
netX Studio CDT already contain the required flash area definitions
of all files for the netX.
If you are using one of these FDLs, you thus do not need to enter
the flash area definition in the FDL yourself.
However, if you are not using a pre-configured FDL template or the
New Flash Device Label
wizard of netX Studio CDT, but create
your own FDL with your own tool instead, you must define the flash
area for this file by entering the following values in the Flash Layout
Table of the FDL.
Content type in FDL:
HIL_PRODUCT_DATA_FLASH_LAYOUT_CONTENT_TYPE_HWCONFIG
Start address in flash:
0x0
(relative address)
Size in flash:
0x2000
Chip number (flash device number):
0x0
Name in FDL:
HWConfig
Access type in flash:
O_RDONLY
Offset in FDL if defined as
area 0
Name of the field in FDL
Value to be entered at offset
in FDL
Dec
Hex
492
0x01EC
Area 0 content type
HIL_PRODUCT_DATA_FLASH_
LAYOUT_CONTENT_TYPE_HWC
ONFIG
(0x01)
496
0x01F0
Area 0 start address
0x0
500
0x01F4
Area 0 size
0x2000
504
0x01F8
Area 0 chip number
0x0
508
0x01FC
Area 0 name
HWConfig
524
0x020C
Area 0 access type
O_RDONLY
Table 8: Flash area definition of HW config in FDL
See also
FDL Content: Flash Layout Table
netX 90 | Production guide
DOC190101PG03EN | Revision 3 | English | 2019-07 | Released | Public
© Hilscher 2019