EasyManua.ls Logo

Segger J-Link - Page 235

Segger J-Link
480 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
J-Link / J-Trace (UM08001) © 2004-2017 SEGGER Microcontroller GmbH & Co. KG
235
Example
CPU has a 64-bit IDCODE (on word-basis) and expects 0x11223344 0x55667788 as
IDCODE.
SetCPUConnectIDCODE = 4433221188776655
5.12.1.44SetDbgPowerDownOnClose
When using this command, the debug unit of the target CPU is powered-down when
the debug session is closed.
Note: This command works only for Cortex-M3 devices
Typical applications
This feature is useful to reduce the power consumption of the CPU when no debug
session is active.
Syntax
SetDbgPowerDownOnClose = <value>
Example
SetDbgPowerDownOnClose = 1 // Enables debug power-down on close.
SetDbgPowerDownOnClose = 0 // Disables debug power-down on close.
5.12.1.45SetETBIsPresent
This command is used to select if the connected device has an ETB.
Syntax
SetETBIsPresent = 0 | 1
Example
SetETBIsPresent = 1 // ETB is available
SetETBIsPresent = 0 // ETB is not available
5.12.1.46SetETMIsPresent
This command is used to select if the connected device has an ETM.
Syntax
SetETMIsPresent = 0 | 1
Example
SetETMIsPresent = 1 // ETM is available
SetETMIsPresent = 0 // ETM is not available
5.12.1.47SetFlashDLNoRMWThreshold
This command sets the J-Link DLL internal threshold when a write to flash memory
does not cause a read-modify-write (RMW) operation. For example, when setting this
value to 0x800, all writes of amounts of data < 2 KB will cause the DLL to perform a
read-modify-write operation on incomplete sectors.
Default: Writing amounts of < 1 KB (0x400) to flash causes J-Link to perform a read-
modify-write on the flash.
Example 1 with default config:
Flash has 2 * 1 KB sectors
Debugger writes 512 bytes
J-Link will perform a read-modify-write on the first sector, preserving contents of 512
-1023 bytes. Second sector is left untouched.

Table of Contents

Other manuals for Segger J-Link

Related product manuals