Hello,
I try to use a CMSIS DAP debugger (MCU link) for debugging a CortexM4 (LPC54618). Flashing and stepping through the code works as expected, but it seems I can't use SWO trace to get my printf outputs via SWO in the debug (printf) viewer window. In the debugger setup window the TRACE function seems to be disabled. But according to the MCU link documentation SWO is supported.
- Do I configure somthing wrong,- or does µVision 5.41 not support SWO output for CMSIS DAP, - or is the MCU link not fuilly compatibel to CMSIS-DAP stanard- or any other idea why printf via SWO does not work in thes case?
Thank you.
Hello Ronan,
thank you fro your answer.
When the CMSIS-DAP is connected TRACE enable is grayed out. When I use ULINK , ST-Link or J-Trace, Trace is possible.
I will look for a Firmwre Update. The questio is stil: is this a limitation of µVision, or a limitation of teh debug probe (hw or fw)
I'm sure I could add a startup script that enables SWO trace in the CPU, but this doesn't help is µVision is not aware the this is enabled.
UPDATE:
After a firmware update of MCU-link the TRACE function works as expected.Probem solved :-)
Glad to hear it is now working.
As expected, the updated CMSIS-DAP firmware added SWO support.
Hope your debugging goes well!