How to output SWO trace?
Hi all.
I'm also trying to get SWO trace out of STMF469i-discovery board in exclipse via boards internal ST-Link v2.1.
Here's my .cfg file.
- This is an STM32F4 discovery board with a single STM32F469NIH6 chip.
- ### To be updated ### http://www.st.com/internet/evalboard/product/.jsp
-
- This is for using the onboard STLINK/V2-1
source find interface/stlink-v2-1.cfg
transport select hla_swd
reset_config srst_only
tpiu config external uart off 180000000 1800000
- increase working area to 128KB
set WORKAREASIZE 0x20000
- chip name
set CHIPNAME STM32F469
source find target/stm32f4x.cfg
If I try running debug session with it I get:
"Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:3333
Error message from debugger back end:
localhost:3333: Connection timed out.
localhost:3333: Connection timed out."
Ideas? Dunno why there's so little about swo tracing regardless of platform and manufacturer. It's fantastic feature compared to UART tracing and supported by pretty much every board from HW point of view :/.