Flashbankinfo - Segger J-Link User Manual

Hide thumbs Also See for J-Link:
Table of Contents

Advertisement

10.5.4 <FlashBankInfo>
Description
Specifies a flash bank for the device. This allows to use the J-Link flash download
functionality with IDEs, debuggers and other software that uses the J-Link DLL (e.g.
J-Link Commander) for this device. The flash bank can then be programmed via the
normal flash download functionality of the J-Link DLL. For more information about
flash download, please refer to Flash download on page 247. For possible limitations
etc. regarding newly added flash banks, please refer to Add. Info / Considerations /
Limitations on page 296.
Valid attributes
Parameter
Name
BaseAddr
MaxSize
Loader
LoaderType
Table 10.2: <FlashBankInfo> attribute list
Notes
No separate closing tag. Directly closed after attributes have been specified:
<FlashBankInfo ... />
Must not occur outside a <Device> tag
10.5.4.1 Attribute values - LoaderType
The following values are valid for the LoaderType attribute:
J-Link / J-Trace (UM08001)
String that specifies the name of the flash bank. Only used for visu-
alisation. Can be freely chosen.
This attribute is mandatory.
E.g. Name="SPIFI flash"
Hexadecimal value that specifies the start address of the flash bank.
The J-Link DLL uses this attribute together with MaxSize to deter-
mine which memory write accesses performed by the debugger,
shall be redirected to the flash loader instead of being written
directly to the target as normal memory access.
This attribute is mandatory.
E.g. BaseAddr="0x08000000"
Hexadecimal value that specifies the max. size of the flash bank in
bytes. For many flash loader types the real bank size may depend
on the actual flash being connected (e.g. SPIFI flash where the
loader can handle different SPIFI flashes so size may differ from
hardware to hardware). Also, for some flash loaders the sectoriza-
tion is extracted from the flash loader at runtime. The real size of
the flash bank may be smaller than MaxSize but must never be big-
ger. The J-Link DLL uses this attribute together with BaseAddr to
determine which memory write accesses performed by the debug-
ger, shall be redirected to the flash loader instead of being written
directly to the target as normal memory access.
This attribute is mandatory.
E.g. MaxSize="0x80000"
String that specifies path to the ELF file that holds the flash loader.
Path can be relative or absolute. If path is relative, it is relative to
the location of the JLinkDevices.xml file.
This attribute is mandatory.
E.g. Loader="ST/MyFlashLoader.elf"
For CMSIS flash loaders the file extension is usually FLM, however
any extension is accepted by the J-Link DLL.
Specifies the type of the loader specified by Loader.
This attribute is mandatory.
E.g. LoaderType="FLASH_ALGO_TYPE_OPEN"
For a list of valid attribute values, please refer to Attribute values -
LoaderType on page 293.
Meaning
© 2004-2017 SEGGER Microcontroller GmbH & Co. KG
293

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the J-Link and is the answer not in the manual?

This manual is also suitable for:

J-trace

Table of Contents

Save PDF