<frankplow>
Hi, I am trying to use OpenOCD to read a SWV trace from a J-Link probe. When I try to initialise the trace, it causes a fatal error in the emulator as determined by the probe's indicator LED. OpenOCD does not report any error messages however there is no SWV output. J-Link's SWOViewer software works fine.
<frankplow>
The target device is an nRF52832. Here is how I am trying to initialise the SWV trace:
<frankplow>
I have tried both a 64MHz and 32MHz traceclk and explicit and automatic pin-freq but with no luck.
<frankplow>
nrf52.cpu.tpiu enable
merethan has joined #openocd
PsySc0rpi0n has quit [Ping timeout: 245 seconds]
<Haohmaru>
is that 64MHz uart bitrate? o_O
postal_blab has quit [Server closed connection]
postal_blab has joined #openocd
rpirea_ has quit [Quit: Leaving]
<frankplow>
No, the traceclk is the frequency of the TPIU peripheral. It's usually just the core clock but I think for this particular MCU it's divided (the datasheet calls the divisor TRACEPORTSPEED). OpenOCD calls the SWO/UART frequency pin-freq and it is much lower, ~1MHz, but the protocol should be able to negotiate this I think. I've tried explicitly setting pin-freq to 1MHz and some other values but to no avail.
Haohmaru has quit [Ping timeout: 244 seconds]
bvernoux has quit [Quit: Leaving]
nerozero has quit [Ping timeout: 240 seconds]
bvernoux has joined #openocd
noarb- has quit [Server closed connection]
noarb has joined #openocd
w00die has joined #openocd
merethan has quit [Ping timeout: 264 seconds]
zjason` has joined #openocd
zjason has quit [Ping timeout: 252 seconds]
w00die has quit [Quit: Client closed]
xantoz has joined #openocd
slobodan has quit [Ping timeout: 240 seconds]
crabbedhaloablut has quit []
bvernoux has quit [Read error: Connection reset by peer]