9 years, 1 month 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, 1 month 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.

Accepted Answer

Thanks for the information, do you know if there is any plan to add this to the Mbed HDK?

posted by Rob Cawsey 09 Nov 2015