2024-11-03 08:56 PM
I get the following error when trying to debug an STM32H757 with SWO enabled.
Failed to enable SWV configuration.
Failed to execute MI command:
-data-write-memory 0x5c003010 x 4 0x77
etc...
It would seem the debugger (ST-link v2) is not able to read the SWO and DBGMCU registers.
With the same debug configuration and code, SWO works on H747 hardware, so I'm wondering if there is an SWO difference between these two micros that is not obvious or documented.
Has anyone come across this issue before and has an idea of how to fix it?
Thanks
2024-11-07 07:00 AM