2025-01-14 12:37 AM
Has anyone worked with the Serial Wire Viewer on an STM32H7RS board?
We've been using it on a F7 board, without too much issue, but we are stuck on this new board.
We've followed the usual steps :
- Enable Serial Wire Viewer (SWV) in Debug configuration (using the CPU Core Clock)
- Overwrite the "_write" function to use ITM_SendChar(...) (also tested that it works and calls it for every character we send with printf()
- Open the SWV ITM Data Console, enabling port 0 and start trace.
However, nothing appears in the console :(
We double checked the clock ..
We also tried to enable the debug mode for our application (although, it doesn't seem to change anything in the code)
But so far nothing..
One thing to note is that our application uses ThreadX and NetXDuo (I don't know if it has an impact...)
We are also using a simple STLINK-V3 connector to debug