UM-B-041
SmartBond Production Line Tool
User Manual
Revision 4.8
02-Nov-2022
CFR0012
51 of 170
© 2022 Renesas Electronics
7.2.1
XML and XSD Files
The CFG PLT application is a front-end user interface for the
cfg_dll.dll
library (
cfg_dll.dll
library, explained in detail in Ref.
[1],
is an XML parser, editor, and parameter validator.
It has an easy-to-use API for reading and manipulating the
params.xml
file. File
params.xsd
is the
XML schema used for parameter validation.
In the CFG PLT application, all user selectable options are loaded and saved inside the XML file, by
effectively using the
cfg_dll.dll
library API. The XSD schema file
params.xsd
is not edited in any
way but only read by the
cfg_dll.dll
library API, whenever a parameter validation is needed.
The XSD schema file,
params.xsd,
holds information about the overall structure of the
params.xml
file, the default, and valid values a parameter can take and useful help information about the purpose
of each parameter. An example part of the XSD file is given in
Figure 30: XSD Schema File Example
Element
next_bd_addr
holds the Next BD address, as described in Section
It
has a default value of
x:default="00:00:00:00:00:01"
.
This default value will be returned by the
cfg_dll.dll
API if the XML file has an error entry in the equivalent
next_bd_addr
element, since
the validation of the parameter will fail.
The
x:info="The BD address …"
value will be loaded by the
cfg_dll.dll
API and be used in the
CFG PLT tooltips. The
type="x:cfg:hex_array_6_bytes
" defines the parameter type. This is the
actual XSD entry that is used for the parameter validation. The
cfg:hex_array_6_bytes
type is
defined later in the file and has a rather complicated pattern defined with
<xs:pattern value