STM32H7B3IL-DK - Trace & Profiling is not working correctly.
- March 11, 2022
- 3 replies
- 3398 views
Hi All,
I tried to profile my latest creation using the STM32H73BIL, but the Trace Log and Profiling Window aren't working correctly.
I thought maybe it was my CubeIDE Install, so I tried profiling on a Nucleo F411RE. It worked fine:
The STM32H73BIL gave:
From the trace log of the STM32H73BIL-DK it would appear that instead of sampling the program counter, the trace system is sampling at least two of the address comparitors although none of the address comparitors is enabled. The Nucleo on the other hand is sampling the program counter.
The setup for the STM32H73BIL-DK is:
Debug -
The Trace Settings:
I tried to examine the Cortex-M7 data watch-point and trace unit (DWT) registers, but they don't seem to be included in the SFR list. I have a suspicion that the Trace Settings dialog isn't setting these correctly.
I tried making a simple project for the STM32H73BIL-DK using the latest CubeMX (6.5) and Cube IDE (1.9) as my other project was created about six months ago, but I got the same result for the trace log and profile.
I have attached this project (cleaned) as a zip.
It's a bit of a pain because I quite like the Profiling tool as it is a quick and easy way of getting a feel for overall system performance. It's also good for picking up silly mistakes in loops which bog the processor down.
Has anyone any ideas on this?
Regards
Rob
**** Moderator note: Internal name removed