How can i get SWO/SWV messages trough OpenOCD

Open source ARM Debugger

Moderator: phalanx

Post Reply
somor
Posts: 1
Joined: Tue Nov 21, 2017 6:45 am

How can i get SWO/SWV messages trough OpenOCD

Post by somor » Tue Nov 21, 2017 6:56 am

I wrote a program which periodically sends SWO message "TICK" . I have an LPC1343 based development board, ARM-JTAG-SWD, ARM-USB-OCD-H (both boards are from Olimex) and Segger J-Link. The problem is that i can receive messages via Segger J-link and the program "JLinkSWOViewer".
When I connect J-Link to my board and start the program i recieve
TICK
TICK
TICK
TICK
I can't manage to do so with Olimex's ARM-USB-OCD-H + ARM-JTAG-SWD + openocd. Is it even possible for openocd to print SWO/SWV messages? How to enable it. I'm using 0.9.0 version of openocd.

Post Reply