<PaulFertser>
braunr: yes, but usually the resistor hack works as well.
<braunr>
i'm not familiar enough :)
<PaulFertser>
braunr: logic analyser.
<PaulFertser>
I've used the second interface of FT2232H to capture at 12 MHz, the official doc outlines the procedure I followed.
<PaulFertser>
But you can use any other external device as well.
<PaulFertser>
The resistor hack is documented in interface/ftdi/swd-resistor-hack.cfg
<braunr>
or just found it :)
<braunr>
thanks
<PaulFertser>
braunr: feel free to ask additional questions if anything's unclear.
<braunr>
i've asked one of our hardware guys to work on this
<braunr>
thanks
<braunr>
PaulFertser: also, it seems the mcu can switch to swd with a special sequence, can openocd do that ? is there already something i may have missed ?
<braunr>
i guess it's some data to associated with SWD_EN but again, it's a blur for me
<PaulFertser>
braunr: if you "transport select swd" OpenOCD sends the right sequence automatically.
<braunr>
oh it's a standard one, ok
<braunr>
i should be all set until i can test then, thanks :)
<PaulFertser>
braunr: welcome :)
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Guest8 has joined #openocd
<Guest8>
PaulFertser hello, it's richard (braunr), i'm with my colleague and we're wondering about leaving all the other GND pins connected or not
<Guest8>
the hach cfg file says to "leave everything else unconnected", but why ?
<Guest8>
hack*
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
<PaulFertser>
Guest8: hi
<PaulFertser>
Guest8: usually adapter has all GND pins shorted by PCB close to the connector. So connecting one is enough.
<Guest8>
ok
<PaulFertser>
Guest8: that said, if you're using a ribbon cable then sometimes connecting every other line of it to GND can improve signal integrity.
<Guest8>
i am
<Guest8>
that's why that instruction looked suspicious to me
<PaulFertser>
Guest8: I think the comment in the file was written in assumption that connecting as many GND lines as possible is a natural thing to do so goes without saying ;)
<Guest8>
ok :)
<PaulFertser>
"You also need to have reliable GND connection", so GND is already mentioned, so "everything else" later doesn't include it obviously :)
Guest8 has quit [Quit: Client closed]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
<braunr>
PaulFertser: it works \o/
<braunr>
ugh, now I'm getting another error which blocks me :/
<braunr>
"The selected interface does not support tracing"
<braunr>
"interface" as in "adapter" ?
<braunr>
i enabled debugging and didn't get more than this message (when trying $tpiu enable)
<PaulFertser>
braunr: tracing? what prints it?
<PaulFertser>
braunr: are you using external specification for tpieu?
<PaulFertser>
It should be external since you're not using an adapter which has integrated SWO capturing facility.
<braunr>
ok
<braunr>
i guess that means i need something like an rs232 transceiver ?
<PaulFertser>
braunr: I used the second interface of ft2232h.
<PaulFertser>
braunr: you need something that can capture UART-formatted data at the speed you need it.
<braunr>
ok i think i get it
nvmd has joined #openocd
nvmd has quit [Read error: Connection reset by peer]
nvmd has joined #openocd
zjason` is now known as zjason
erhankur has quit [Read error: Connection reset by peer]
erhankur has joined #openocd
Haohmaru has quit []
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Read error: Connection reset by peer]
erhankur has joined #openocd
emeb has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Ping timeout: 268 seconds]
<braunr>
PaulFertser: i managed to get something working :)
<braunr>
still a work in progress, but as a first step, it's pretty good
<braunr>
PaulFertser: so thanks a lot :)
<PaulFertser>
braunr: yay, happy to hear that
emeb has quit [Quit: Leaving.]
shibboleth has joined #openocd
nerozero has quit [Ping timeout: 250 seconds]
shibboleth has quit [Quit: shibboleth]
damex has joined #openocd
erhankur has joined #openocd
erhankur has quit [Ping timeout: 250 seconds]
urja has quit [Read error: Connection reset by peer]