J-Link / J-Trace (UM08001) © 2004-2017 SEGGER Microcontroller GmbH & Co. KG
79
Example
log C:\Work\log.txt
3.2.1.22 mem
The command reads memory from the target system. If necessary, the target CPU is
halted in order to read memory.
Syntax
mem [<Zone>:]<Addr>, <NumBytes> (hex)
Example
mem 0, 100
3.2.1.23 mem8
The command reads memory from the target system in units of bytes. If necessary,
the target CPU is halted in order to read memory.
Syntax
mem8 [<Zone>:]<Addr>, <NumBytes> (hex)
Example
mem8 0, 100
3.2.1.24 mem16
The command reads memory from the target system in units of 16-bits. If necessary,
the target CPU is halted in order to read memory.
Syntax
mem16 [<Zone>:]<Addr>, <NumBytes> (hex)
Example
mem16 0, 100
3.2.1.25 mem32
The command reads memory from the target system in units of 32-bits. If necessary,
the target CPU is halted in order to read memory.
Parameter Meaning
Zone Name of memory zone to access.
Addr Start address.
Numbytes Number of bytes to read. Maximum is 0x100000.
Parameter Meaning
Zone Name of memory zone to access.
Addr Start address.
NumBytes Number of bytes to read. Maximum is 0x10000.
Parameter Meaning
Zone Name of memory zone to access.
Addr Start address.
NumBytes Number of bytes to read. Maximum is 0x8000.