2025-06-17 2:40 AM - last edited on 2025-06-17 2:52 AM by Andrew Neil
Good morning,
I am trying to debug an STM32H573II with ETM, but I cannot get it to enter that mode.
Debugging without trace with SWD works correctly.
I have used this environment:
- uVision 5.42
- ARM Compiler 6.21
- STM32CubeMx 6.14.1
I have performed the following checks:
- MCU Non_Secure mode. Avoid conflicts.
- Enter debug mode with SWD.
- Verified pinout.
- Checked that JTrace - CortexM works ETM with other MCUs (STM32H7, STM32F4, tested)
- Generate an empty project with STM32CubeMx, just to enter debug mode with trace
The JTrace log indicates a problem with the reset, but there is no problem if I debug with SWD and SWD+SWO.
Can you help me, please?
Has anyone had problems with any H5?
2025-06-17 2:51 AM
@Tresa_LiqueteGarcia wrote:- uVision 5.42
- ARM Compiler 6.21
Might also be worth asking in the Keil forum - in case it's anything specific to uVision/ARM ...
https://community.arm.com/support-forums/f/keil-forum
When cross-posting, always be sure to give links between the forums - so everyone can see all the discussions
2025-06-17 3:27 AM
Hello Andrew,
I will open a post on Keil.
I have posted it here, in case:
- any user has had the same issue
- you could suggest any MCU checks that I am not performing
- because I am using STM32Cube and may need to take additional steps with H5, which I did not need to do with H7 and F4
- any hardware recommendations that are not in the MCU recommendations document
2025-06-17 3:31 AM
@Tresa_LiqueteGarcia wrote:I will open a post on Keil.
Don't forget to give a link back to this thread.
And also post a link here to your Keil forum thread.
2025-06-17 3:44 AM
2025-06-17 3:50 AM
And don't forget to give a link in the Keil forum back to here!