288 CHAPTER 10 Open Flashloader
J-Link / J-Trace (UM08001) ©
2004-2017 SEGGER Microcontroller GmbH & Co. KG
10.3 Adding a new device
In order to add support for a new device to the J-Link DLL, the following needs to be
added to the JLinkDevices.xml:
<Database>
<Device>
<ChipInfo Vendor="..."
Name="..."
WorkRAMAddr="..."
WorkRAMSize="..."
Core="..." />
<FlashBankInfo Name="..."
BaseAddr="..."
MaxSize="..."
Loader="..."
LoaderType="..." />
</Device>
</Database>
When adding a new device, the following attributes for the <ChipInfo> tag are man-
datory:
•Vendor
•Name
•Core
In case a <FlashBankInfo> tag is also added, the following attributes in addition to
the ones mentioned before, become mandatory:
ChipInfo-Tag
• WorkRAMAddr
• WorkRAMSize
•FlashBankInfo
FlashBankInfo-Tag
•Name
• BaseAddr
•MaxSize
•Loader
•LoaderType
For more information about the tags and their attributes, please refer to XML Tags
and Attributes on page 290.
In order to add more than one device to the device database, just repeat the
<Device> ... </Device> tag structure from above for each device.