- Sat May 28, 2016 2:58 am
#190002
Hello!
I must thank the contributors of this amazing project. I am using the latest release 0.9.0 of the OpenOCD and a board using a STM32F205 processor. My debugger is a ST-Link V2 and my CPU is running at a 120 MHz frequency. I use the following command to get the ITM output in a file:
The file is populated with the live trace but it can not be directly displayed as there seem to be delimiters in between characters. Now one message that I expect to see for example is:
Which seems to be a raw packet. Now if I disable the formatter, I get something like this:
Which looks very much like what I'd like to see but has a 0x01 character between every two characters.
I'd like to know if this is the intended behaviour and what's the point of using a formatter if you can't directly get a useful output?
I must thank the contributors of this amazing project. I am using the latest release 0.9.0 of the OpenOCD and a board using a STM32F205 processor. My debugger is a ST-Link V2 and my CPU is running at a 120 MHz frequency. I use the following command to get the ITM output in a file:
Code: Select all
F.N: If anyone else is struggling with finding out how to send these commands to OpenOCD, it's either through a
tpiu config internal test.log uart on 120000000
Code: Select all
when launching the OpenOCD instance or using a telnet session with your OpenOCD instance (Mine is on Port 4444). openocd -c "your command"
The file is populated with the live trace but it can not be directly displayed as there seem to be delimiters in between characters. Now one message that I expect to see for example is:
Code: Select all
Now when I have the formatter enabled, I get something like this:[INFO][main]: GREEN: ON
Which seems to be a raw packet. Now if I disable the formatter, I get something like this:
Which looks very much like what I'd like to see but has a 0x01 character between every two characters.
I'd like to know if this is the intended behaviour and what's the point of using a formatter if you can't directly get a useful output?