Problem Summary:
When I try to activate J-Link’s “low-power-mode handling”, there are no messages indicating whether it was activated, or not.
How can J-Link be configured and run so that it provides such messages?
More info is below. Any help is much appreciated.
Problem Description:
I’m using Ozone, and a J-Link probe on an ST Nucleo dev-board. The MCU is an STM32F767ZI.
The Ozone project-file runs the J-Link script below, which has code to activate J-Link’s low-power-mode handling.
The J-Link script’s output is displayed on the Ozone console and in a log file.
In the script, SetupTarget() runs JLINK_SYS_Report(), to show if the script runs. The message is written to the Ozone console and log-file, as shown below. So, the script runs.
SetupTarget() start
JY: in SetupTarget
SetupTarget() end
Connected to target device.
In the script, InitEMU() also runs JLINK_SYS_Report(), and it runs the command EnableLowPowerHandlingMode. The problem is that there is no output from InitEMU, neither in the Ozone console nor the log-file.
It seems there should be output from InitEMU, including the message from JLINK_SYS_Report() and an indication of whether the command worked ok.
System Specs and References
Dev-board: STM32 Nucleo-F767ZI
Ozone: v3.22a
Debug probe: ST-Link on dev-board, converted to a J-Link v6.94
J-Link low-power mode handling
wiki.segger.com/UM08001_J-Link_/_J-Trace_User_Guide
wiki.segger.com/UM08001_J-Link…Guide#Low_Power_Debugging
wiki.segger.com/Generic_IDE#Via_J-Link_script_file
When I try to activate J-Link’s “low-power-mode handling”, there are no messages indicating whether it was activated, or not.
How can J-Link be configured and run so that it provides such messages?
More info is below. Any help is much appreciated.
Problem Description:
I’m using Ozone, and a J-Link probe on an ST Nucleo dev-board. The MCU is an STM32F767ZI.
The Ozone project-file runs the J-Link script below, which has code to activate J-Link’s low-power-mode handling.
The J-Link script’s output is displayed on the Ozone console and in a log file.
SetupTarget() start
JY: in SetupTarget
SetupTarget() end
Connected to target device.
In the script, InitEMU() also runs JLINK_SYS_Report(), and it runs the command EnableLowPowerHandlingMode. The problem is that there is no output from InitEMU, neither in the Ozone console nor the log-file.
It seems there should be output from InitEMU, including the message from JLINK_SYS_Report() and an indication of whether the command worked ok.
System Specs and References
Dev-board: STM32 Nucleo-F767ZI
Ozone: v3.22a
Debug probe: ST-Link on dev-board, converted to a J-Link v6.94
J-Link low-power mode handling
wiki.segger.com/UM08001_J-Link_/_J-Trace_User_Guide
wiki.segger.com/UM08001_J-Link…Guide#Low_Power_Debugging
wiki.segger.com/Generic_IDE#Via_J-Link_script_file