J-Link / J-Trace (UM08001) © 2004-2017 SEGGER Microcontroller GmbH & Co. KG
83
3.2.1.37 savebin
Saves target memory into binary file.
Syntax
savebin <Filename>, <Addr>, <NumBytes> (hex)
Example
savebin C:\Work\test.bin 0x0000000 0x100
3.2.1.38 setBP
This command sets a breakpoint of a specific type at a specified address. Which
breakpoint modes are available depends on the CPU that is used.
Syntax
setBP <Addr> [[A/T]/[W/H]] [S/H]
Example
setBP 0x8000036
3.2.1.39 setPC
Sets the PC to the specified value.
Syntax
setpc <Addr>
Example
setpc 0x59C
3.2.1.40 setWP
This command inserts a new watchpoint that matches the specified parameters. The
enable bit for the watchpoint as well as the data access bit of the watchpoint unit are
set automatically by this command. Moreover the bits DBGEXT, CHAIN and the
Parameter Meaning
Filename Destination file
Addr Source address.
NumBytes Number of bytes to read.
Parameter Meaning
Addr Address to be breakpointed.
A/T
Only for ARM7/9/11 and Cortex-R4 devices:
A: ARM mode
T: T HU MB mo de
W/H
Only for MIPS devices:
W: MIPS32 mode (Word)
H: MIPS16 mode (Half-word)
S/H
S: Force software BP
H: Force hardware BP
Parameter Meaning
Addr Address the PC should be set to.