Page 1 of 1

Cortex-M4 SWO log with openocd

Posted: Sat Apr 28, 2018 10:25 am
by ctc8631
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