tsal has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
tsal has joined #openocd
nerozero has quit [Ping timeout: 240 seconds]
Greg40 has joined #openocd
Bertl_zZ is now known as Bertl
<Greg40>
Hey, so I'm using OpenOCD to connect to a Redbear Nano BLE v2 on Mac OS X Monterey, but it's just hanging with no feedback. Thinking it could be a lower level usb issue, any thoughts? I'm using it as part of Platform.io, debug eve info here https://pastebin.com/1rx9dv3Y
<PaulFertser>
Greg40: hey
<Greg40>
hey
<Greg40>
PaulFertser hey
<PaulFertser>
Greg40: can you also try building with --HEAD please?
<PaulFertser>
Greg40: and let's troubleshoot from there.
<PaulFertser>
Greg40: it's rather odd it hangs there, I can't remember why it can be happening.
<Greg40>
Yeah really odd, must be something lower level? Here's the pastebin for HEAD, same output. https://pastebin.com/vC3TkppR
<PaulFertser>
Greg40: what's your debug adapter? Old regular CMSIS-DAP or newer v2 with bulk endpoints?
<PaulFertser>
Greg40: btw, you shouldn't need that -s command, openocd binary knows where its scripts are.
<mra90>
PaulFertser, thanks, currently I am facing some issue with plain Lauterbach toolchain
<mra90>
during startup script loading I get "debug port failure while reading from Reg:0x00..."
<PaulFertser>
mra90: if you have a jtag adapter supported by OpenOCD you can give it a try.
<Greg40>
aha, I recently updated to Monterey, is reporting no apple CLI tools, so no gdb... could be it?
<PaulFertser>
Greg40: brew should have installed everything needed for openocd to work.
<PaulFertser>
Greg40: probably you have old hidapi or need it recompiled? I do not know much about macOS tricks.
<Greg40>
curious, it's not finding gdb in my path
<mra90>
PaulFertser, ok but for now, do you have ssome experience with Lauterbach debugging?
<PaulFertser>
mra90: I probably saw a config file for it once :)
<Greg40>
wouldn't be the first time brew and OS X upgrades leave things in a broken state....will poke at that for a but. thanks.\
<mra90>
ahh ok :)
<PaulFertser>
mra90: what's your target device btw?
<mra90>
ARC chip
<mra90>
DesignWare ARC
<PaulFertser>
OpenOCD actually has some support for ARC, directly from synopsys.
<PaulFertser>
It might provide different results since it's likely a rather different code from the one in lauterbach.
<mra90>
What do you mean by different results?
<mra90>
The target device doesn't care who is talking to it
<mra90>
at the end of the day its all about generating CPU debugging signals
<PaulFertser>
mra90: but different code in OpenOCD might end up generating a different sequence of those debugging signals.
<Greg40>
oh yay, gdb installs on brew get complicated by apple code signing / trust.. remember that pain:/ Maybe someone's just trying to tell me I should switch to Linux :)
<mra90>
ok, make sense
<PaulFertser>
Also, different code might be interpreting the results it's getting in another way and probably providing useful diagnostics.
Greg40 has quit [Quit: Ping timeout (120 seconds)]
zjason`` has joined #openocd
zjason` has quit [Ping timeout: 268 seconds]
Krazubu has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]