2023-03-07 03:56 AM
I am rather new to STM32. Ιn my project, I am using an STM32L072KZU6 and I want to debug the firmware using the ST-LINK/V2-ISOL. I connected both SWDIO and SWDCLK pins to pins 7 and 9 of the ST-LINK/V2-ISOL, along with +3.3 V on pin 1 and ground on pin 4. (Pin 2 is connected to +3.3 V, too.)
In ST32CubeProgrammer, I can connect to the target MCU without problems:
However, when I try to use Keil uVision v5.37.0.0 and click on Start/Stop Debugging Session, I get a dialog box with the message "Trace HW not present":
and, when clicking on OK button, another dialog box appears with the message "Error: Target DLL has been cancelled. Debugger aborted!":
Any clues, anyone?
Here are the settings for ST-LINK debugger in Keil:
Solved! Go to Solution.
2023-03-07 04:24 AM
The CM0(+) does not support ITM trace, uncheck the enable box in the trace settings.
2023-03-07 04:24 AM
The CM0(+) does not support ITM trace, uncheck the enable box in the trace settings.
2023-03-07 04:31 AM
@Community member, that worked for me. Thank you!