230 CHAPTER 5 Working with J-Link and J-Trace
J-Link / J-Trace (UM08001) ©
2004-2017 SEGGER Microcontroller GmbH & Co. KG
The "problematic" memory areas are:
To exclude these areas from being accessed through J-Link the map exclude com-
mand should be used as follows:
map exclude 0x00080000-0x3FFFFFFF
map exclude 0x40008000-0x7FCFFFFF
map exclude 0x7FD02000-0x7FD02000
map exclude 0x80000000-0xDFFFFFFF
5.12.1.28map illegal
This command marks a specified memory region as an illegal memory area. All sub-
sequent memory accesses to this memory region produces a warning message and
the memory access is ignored. This command can be used to mark more than one
memory region as an illegal area by subsequent calls.
Syntax
Map Illegal <SAddr>-<EAddr>
Example
Map Illegal 0xF0000000-0xFFDFFFFF
Additional information
• SAddr has to be a 256-byte aligned address.
The region size has to be a multiple of 256 bytes.
5.12.1.29map indirectread
This command can be used to read a memory area indirectly. Indirect reading means
that a small code snippet is downloaded into RAM of the target device, which reads
and transfers the data of the specified memory area to the host. Before map indi-
rectread can be called a RAM area for the indirect read code snippet has to be
defined. Use therefor the map ram command and define a RAM area with a size of >=
256 byte.
Typical applications
Refer to chapter Fast GPIO bug on page 402 for an example.
Syntax
map indirectread <StartAddressOfArea>-<EndAddress>
Example
map indirectread 0x3fffc000-0x3fffcfff
Additional information
• StartAddressOfArea has to be a 256-byte aligned address.
The region size has to be a multiple of 256 bytes.
0x00080000-0x3FFFFFFF Reserved
0x40008000-0x7FCFFFFF Reserved
0x7FD02000-0x7FD02000 Reserved
0x80000000-0xDFFFFFFF Reserved