Cortex-M4 SWO log with openocd

Open source ARM Debugger

Moderator: phalanx

Post Reply
Posts: 1
Joined: Sat Apr 28, 2018 10:20 am

Cortex-M4 SWO log with openocd

Post by ctc8631 » Sat Apr 28, 2018 10:25 am

I'm using ubuntu, openocd and stlink to develop stm32f407-discovery, I'm learning to use ITM module through SWO pin to get log from chip.

Finally, I found that openocd command:
tpiu config internal /tmp/swo.out uart off 168000000

It's perfect to get log from the temporary file, but is there anyway to show log on openocd console directly, like semihosting log. Thanks

Post Reply