Segger J-Link User Manual page 231

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

Advertisement

5.12.1.30map ram
This command should be used to define an area in RAM of the target device. The area
must be 256-byte aligned. The data which was located in the defined area will not be
corrupted. Data which resides in the defined RAM area is saved and will be restored if
necessary. This command has to be executed before map
called.
Typical applications
Refer to chapter Fast GPIO bug on page 402 for an example.
Syntax
map ram <StartAddressOfArea>-<EndAddressOfArea>
Example
map ram 0x40000000-0x40003fff;
Additional information
StartAddressOfArea has to be a 256-byte aligned address.
The region size has to be a multiple of 256 bytes.
5.12.1.31map region
This command is used to specify memory areas with various region types.
Syntax
map region <StartAddressOfArea>-<EndAddressOfArea> <RegionType>
Region type
N
C
X
XI
I
A
AD
Example
map region 0x100000-0x1FFFFF C
5.12.1.32map reset
This command restores the default memory mapping, which means all memory
accesses are permitted.
Typical applications
Used with other "map" commands to return to the default values. The map reset
command should be called before any other "map" command is called.
Syntax
map reset
Example
map reset
J-Link / J-Trace (UM08001)
Normal
Cacheable
Excluded
Excluded & Illegal
Indirect access
Alias (static, e.g. RAM/flash that is aliased multiple times in
one area. Does not change during the debug session.)
Alias (dynamic, e.g. memory areas where different memo-
ries can be mapped to.)
© 2004-2017 SEGGER Microcontroller GmbH & Co. KG
indirectread will be
Description
231

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

J-trace

Table of Contents

Save PDF