9.2
Activating low power mode handling for J-Link
While usually the J-Link DLL handles communication losses as errors, there is a pos-
sibility to enable low power mode handling in the J-Link DLL, which puts the DLL into
a less restrictive mode (low-power handling mode) when it comes to such loss-cases.
The low-power handling mode is disabled by default to allow the DLL to react on tar-
get communication breakdowns but this behavior is not desired when debugging
cases where the target is unresponsive temporarily. How the low-power mode han-
dling mode is enabled, depends on the debug environment. In the following, the
most common scenarios are described:
9.2.1
SEGGER Embedded Studio
Low-power handling mode has to be activated in the J-Link settings file. Open the J-
Link settings file in a text editor and add the following line in the [CPU] section:
LowPowerHandlingMode = 1
For more information about how to locate the settings file, please refer to The J-Link
settings file on page 205.
9.2.2
Keil MDK-ARM
Low-power handling mode has to be activated in the J-Link settings file. Open the J-
Link settings file in a text editor and add the following line in the [CPU] section:
LowPowerHandlingMode = 1
For more information about how to locate the settings file, please refer to The J-Link
settings file on page 205.
9.2.3
IAR EWARM
Low-power handling mode has to be activated in the J-Link settings file. Open the J-
Link settings file in a text editor and add the following line in the [CPU] section:
LowPowerHandlingMode = 1
For more information about how to locate the settings file, please refer to The J-Link
settings file on page 205.
9.2.4
Mentor Sourcery CodeBench for ARM
Low-power handling mode has to be activated in the J-Link settings file. Open the J-
Link settings file in a text editor and add the following line in the [CPU] section:
LowPowerHandlingMode = 1
For more information about how to locate the settings file, please refer to The J-Link
settings file on page 205.
9.2.5
GDB + GDBServer based setups (Eclipse etc.)
As no settings file is created for such setups, the low-power handling mode has to be
activated from the gdbinit / .gdbinit file by adding the following command:
monitor exec LowPowerHandlingMode = 1
J-Link / J-Trace (UM08001)
© 2004-2017 SEGGER Microcontroller GmbH & Co. KG
283
Need help?
Do you have a question about the J-Link and is the answer not in the manual?