82 CHAPTER 3 J-Link software and documentation package
J-Link / J-Trace (UM08001) ©
2004-2017 SEGGER Microcontroller GmbH & Co. KG
Syntax
ReadDP <RegIndex>
Example
//
// Read DP-CtrlStat
//
ReadDP 1
3.2.1.33 regs
Shows all current register values.
Syntax
regs
3.2.1.34 rnh
This command performs a reset but without halting the device.
Syntax
rnh
3.2.1.35 rreg
The function prints the value of the specified CPU register.
Syntax
rreg <RegIndex>
Example
rreg 15
3.2.1.36 rx
Resets and halts the target. It is possible to define a delay in milliseconds after reset.
This function is useful for some target devices which already contain an application or
a boot loader and therefore need some time before the core is stopped, for example
to initialize hardware, the memory management unit (MMU) or the external bus
interface.
Syntax
rx <DelayAfterReset>
Example
rx 10
Parameter Meaning
RegIndex Index of DP register to read
Parameter Meaning
RegIndex Register to read.
Parameter Meaning
DelayAfter-
Reset
Delay in ms.