74 CHAPTER 3 J-Link software and documentation package
J-Link / J-Trace (UM08001) ©
2004-2017 SEGGER Microcontroller GmbH & Co. KG
3.2.1.1 clrBP
This command removes a breakpoint set by J-Link.
Syntax
clrBP <BP_Handle>
Example
clrBP 1
3.2.1.2 clrWP
This command removes a watchpoint set by J-Link.
Syntax
clrWP <WP_Handle>
Example
clrWP 0x2
3.2.1.3 device
Selects a specific device J-Link shall connect to and performs a reconnect. In most
cases explicit selection of the device is not necessary. Selecting a device enables the
user to make use of the J-Link flash programming functionality as well as using
unlimited breakpoints in flash memory.
For some devices explicit device selection is mandatory in order to allow the DLL to
perform special handling needed by the device.
Some commands require that a device is set prior to use them.
Syntax
device <DeviceName>
Example
device stm32f407ig
3.2.1.4 erase
Erases all flash sectors of the current device. A device has to be specified previously.
Syntax
erase
3.2.1.5 exec
Execute command string. For more information about the usage of command strings
please refer to Command strings on page 223.
Parameter Meaning
BP_Handle Handle of breakpoint to be removed.
Parameter Meaning
WP_Handle Handle of watchpoint to be removed.
Parameter Meaning
DeviceName
Valid device name: Device is selected.
?: Shows a device selection dialog.