Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years ago.
Mbed 1768 - LPCXpresso IDE SWV output not available
Hi,
I've taken the simple LED blinking code example and exported to LPCXpresso builds and deploys ok and I'm able to step through the code using the debugger. However I'm trying to enable the SWV feed but for some reason LPCXpresso does not detect any SWV capability:
HasSWV = FALSE HasETM = FALSE HasJTAG = FALSE HasSWD = TRUE Probe Type = CMSIS-DAP
Is this feature not supported by the mbed firmware?
Thanks
1 Answer
9 years ago.
The SWV will only work when the interface hardware on the mbed platform supports this feature. This is not the case on the original LPC1768 mbed platforms. It does work as expected when you use a segger jlink on a JTAG port which is available on some of the ST evaluation boards and many other breakout/experimentation boards. I have also been able to use SWV with ST software on ST nucleos. See here.