From: Paul F. <fer...@gm...> - 2015-03-07 09:59:00
|
Hey, On Sat, Mar 07, 2015 at 10:55:10AM +0100, Hugo Damme wrote: > 2015-03-07 6:30 GMT+01:00 Paul Fertser <fer...@gm...>: > > On Fri, Mar 06, 2015 at 10:25:21PM +0100, Hugo Damme wrote: > >> The last thing I would like to use but can't get working is the SWO > >> (via the ST-link): > > > > Please grab this _branch_ http://openocd.zylin.com/#/c/2540 and use it > > accordingly to the added documentation. It completely rewrites the old > > trace support and it's now easy and reliable. For decoding the stream, > > you can use contrib/itmdump.c. > > I grabbed your branch, and from the documentation I used the command: > openocd -f interface/stlink-v2-1.cfg -c "transport select hla_swd" -f > target/stm32f4x.cfg -c "itm ports on" -c "tpiu config external uart > off 80000000 40000000" Right, because "external" means you capture the trace with an external LA or UART converter, whatever, OpenOCD can't affect that anyhow. If you want to use stlink, then use "internal <filename>" and then you can omit the last argument (the maximum 2MHz will be autoselected in this case). HTH -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fer...@gm... |