5.12 Command strings
The behavior of the J-Link can be customized via command strings passed to the
JLinkARM.dll which controls J-Link. Applications such as the J-Link Commander, but
also the C-SPY debugger which is part of the IAR Embedded Workbench, allow pass-
ing one or more command strings. Command line strings can be used for passing
commands to J-Link (such as switching on target power supply), as well as customize
the behavior (by defining memory regions and other things) of J-Link. The use of
command strings enables options which can not be set with the configuration dialog
box provided by C-SPY.
5.12.1 List of available commands
The table below lists and describes the available command strings.
Command
AppendToLogFile
CORESIGHT_SetIndexAHBAP
ToUse
CORESIGHT_SetIndexAPBAP
ToUse
device
DisableAutoUpdateFW
DisableCortexMXPSRAutoC
orrectTBit
DisableFlashBPs
DisableFlashDL
DisableInfoWinFlashBPs
DisableInfoWinFlashDL
DisableMOEHandling
DisablePowerSupplyOnClo
se
EnableAutoUpdateFW
EnableEraseAllFlashBank
s
EnableFlashBPs
EnableFlashDL
EnableInfoWinFlashBPs
EnableInfoWinFlashDL
EnableMOEHandling
EnableRemarks
ExcludeFlashCacheRange
Hide device selection
HSSLogFile
InvalidateCache
InvalidateFW
map exclude
Table 5.12: Available command strings
J-Link / J-Trace (UM08001)
Enables/Disables always appending new loginfo to log-
file.
Selects a specific AHB-AP to be used to connect to a
Cortex-M device.
Selects a specific APB-AP to be used to connect to a
Cortex-A or Cortex-R device.
Selects the target device.
Disables automatic firmware update.
Disables auto-correction of XPSR T-bit for Cortex-M
devices.
Disables the FlashBP feature.
Disables the J-Link FlashDL feature.
Disables info window for programming FlashBPs.
Disables info window for FlashDL.
Disables output of additional information about mode
of entry in case the target CPU is halted / entered
debug mode.
Disables power supply on close.
Enables automatic firmware update.
Enables erase for all accessible flash banks.
Enables the FlashBP feature.
Enables the J-Link FlashDL feature.
Enables info window for programming FlashBPs.
Enables info window for FlashDL.
Enables output of additional information about mode
of entry in case the target CPU is halted / entered
debug mode.
Enable detailed output during CPU-detection / connec-
tion process.
Invalidate flash ranges in flash cache, that are config-
ured to be excluded from flash cache.
Hide device selection dialog.
Logs all HSS-Data to file, regardless of the application
using HSS.
Invalidates Cache.
Invalidating current firmware.
Ignores all memory accesses to specified area.
© 2004-2017 SEGGER Microcontroller GmbH & Co. KG
Description
223
Need help?
Do you have a question about the J-Link and is the answer not in the manual?
Questions and answers