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

STM32 ULINK2 Serial Wire debug Issue

I am attempting to transfer debug messages from an STM32 (STM32F103VE) via ULINK2.
I am outputting the messages via the ST library version of ITM_ReceiveChar.

Serial Wire works great for "normal" debugging and programming, but the trace features seem to fail.
When the micro is running with debugger active I get a "No Synchronization".
The keil website says this can be a hardware issue, but these pins work great for JTAG at high speed, so I'm doubtful of this.

ITM_ReceiveChar can be traced right into the function, but the output does not appear in the debug window.

I have trace enabled in debug settings, TRACE_MODE=asynchronous and TRACE_IOEN=yes in my .ini file.

Anybody know why tracing is not working?

0