This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Using STM32H7 ETM without external tool

Hello,

I want to record the execution trace on our STM32H753 (all the time, in circular buffer mode) and, in some particular cases, output this trace to an external peripheral through SPI (no dedicated tool like Lauterbach).

I understood that I can do this thanks to ETM and ETF, however I couldn't find enough details in the various ARM documentation to make it work.

I tried the following code


But the bit ready of ETF_STS never raises.

Would you have resources (specific documentation or even better sample code) to share ?

Best regards

0