Download netX Bootwizard

Transcript
Editing the netx.xml File
9.2
61/72
Device Entries
To include custom source and target devices you need to add "<Device>"
nodes under the "netX\dst" or "netX\src" node depending on the type of
device (source/destination). Since parameters can differ for the different
variants of the netX, the “src” and “dst” nodes have a “netx_version”
attribute indicating to which chip the device parameters apply:
Chip type
netx_version value
netX 500/100
netx 500
netX 50
netx 50
netX 10
netx 10
netX 51/52
netx 51_52
Table 11: Values of the netx_version attribute. "netx" is followed by a space
<netX>
<dst netx_version="netx 50">
<Device id="SD_MT48LC2M32B2_netx50" name="SDRam MT48LC2M32B2"
size="0x00800000" type="SDRAM">
<Param name="SdramGeneralCtrl">
0x010D0001
</Param>
<Param name="SdramTimingCtrl">
0x00A12151
</Param>
</Device>
</dst>
</netX>
A device should have the following attributes:
Element
Attribute
Mandatory
Description
Device
id
yes
Defines a unique identifier across all elements
name
yes
Name to be displayed
type
yes
Type of the device.
The following devices are available:
size
no
SPI
Serial flash
I2C
I2C EEprom
SRB
Parallel flash on SRAM Bus
EXT
Parallel flash on Extension Bus
INTRAM
Internal netX memory
SDRAM
External SDRAM
Optional: size of the device
Table 12: Base Device Configuration Parameters (XML)
Note: Generally, all IDs have to be unique. However, if you create entries
for the same device, under the same category (source or destination
device) for different netX types, these entries should have the same ID, as
this allows the Bootwizard to find the appropriate device parameters when
you change the netX type in the GUI.
To allow patching every element of the boot header each device can have
several <Param> subnodes containing a value for a boot header element.
Each parameter is identified by the name attribute of the node.
netX Bootwizard | Operating Instruction Manual
DOC070502OI16EN | Revision 16 | English | 2013-12 | Released | Public
© Hilscher, 2005-2013