NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
wingsorc has joined #openocd
JakeSays_ has joined #openocd
JakeSays has quit [Ping timeout: 246 seconds]
JakeSays_ is now known as JakeSays
tsal has quit [Ping timeout: 240 seconds]
thinkfat_ has quit [Ping timeout: 248 seconds]
thinkfat_ has joined #openocd
tsal 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
akaWolf has quit [Ping timeout: 246 seconds]
akaWolf has joined #openocd
Hawk777 has joined #openocd
emeb_mac has quit [Read error: Connection reset by peer]
emeb_mac has joined #openocd
Hawk777 has left #openocd [#openocd]
Hawk777 has joined #openocd
Bertl_oO is now known as Bertl_zZ
c4017__ has joined #openocd
c4017_ has quit [Ping timeout: 240 seconds]
Hawk777 has quit [Quit: Leaving.]
nerozero has joined #openocd
emeb_mac has quit [Quit: Leaving.]
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 [Remote host closed the connection]
erhankur 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 [Remote host closed the connection]
erhankur 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 []
merethan has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
dormito has joined #openocd
Steffanx has joined #openocd
<dormito> While trying to use openocd 0.11 with a hifive 1 (using the cfg from the openocd project), I've noticed that openocd keeps dying with an assertion failure while debuggying(with gdb). Is there additional settings need, or is this likely a bug?
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
<borneoa_> dormito: there is relevant code from riscv fork that has been merged after v0.11.0. I suggest you to try the master branch. If it still crashes, try also the riscv fork
<Xogium> hello there borneoa_ :)
<borneoa_> Hello Xogium
<dormito> borneoa_: thanks. I'll give the head of master a try.
Bertl_zZ is now known as Bertl
<dormito> Interesting... Jim_DictPairs appears to have two sperate implemntations (one that returns the value in the return, the other returns a value via an argument pointer).
<merethan> Hi all. Getting into gdb -tui and OpenOCD on a cortex here.
<dormito> Hmmm upstream master also segfaults. I don't see much in the delta between riscv's riscv branch, and upstream master, but I cna give it a try later.
<dormito> *assert fails
<merethan> Mm Debian has gdb and gdb-multiarch
<merethan> Same thing, different compile arguments?
rkta has quit [Quit: nyaa~]
rkta_ has joined #openocd
rkta_ is now known as rkta
<Teufelchen1> karlp: Hey, in case you remember me and my issue from last friday; It was the debug probes fault. Switched to a diffrent one today and everythings works. OpenOCD has no issues what so ever. Thanks for your debugging assistance :)
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
<borneoa_> dormito: hummm, the prototype of Jim_DictPairs has changed from jimtcl 0.79 to 0.80. We need to handle this... is this what you found? Thanks for the alert.
Hawk777 has joined #openocd
<antto> merethan, gdb-multiarch --tui your/firmware.elf
<dormito> borneoa_: probably, I didn't check the version numbers, but that sounds about right.
<merethan> yes antto, having fun with that :)
<antto> bugs aren't fun, unless you're a h4x0r
<merethan> I feel like a god now, for the powers that I gained, but like a moron for all the mistakes in my code.
<borneoa_> dormito: could this be the reason of your crash? Master branch with jimtcl 0.79 ?
<borneoa_> dormito: but it should trigger a compile time error...
<dormito> borneoa_: I'm hitting an assertion failure, related to "out of date register caches" or something like that .
nerozero has quit [Ping timeout: 272 seconds]
<dormito> specifically: src/target/riscv/riscv-011.c:1210:
wtywtykk has joined #openocd
merethan has quit [Ping timeout: 256 seconds]
<karlp> Teufelchen1: glad you got it worked out, don't think I had much help to offer though
zjason has quit [Read error: Connection reset by peer]
zjason has joined #openocd
wtywtykk has quit [Quit: Client closed]
emeb_mac has joined #openocd
<borneoa_> dormito: I have no experience on riscv, sorry, don't know how to help. I suggest you to test the riscv fork and report to them the issue. Riscv guys are converging with our code, but they still put more focus and tests on their fork
<borneoa_> dormito: I'm fixing the Jim_DictPairs issue. I would like to add the tag Reported-by: with your email, if you agree.
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
indy has quit [Ping timeout: 240 seconds]
indy has joined #openocd
<dormito> borneoa_: sure, you can use my address (dullfire@yahoo.com).
<dormito> I tried what I believe to be riscv's branch, and it appears to have the same issue. it seems insanely unlikely that sifive (afaik they are the big vendor for the oss riscv stuff) is not using gdb against their chips. I must be getting something wrong... not sure what yet though.
<borneoa_> dormito: it should be github.com/riscv/riscv-openocd.git
<dormito> yup thats what I just tried (their 'riscv' branch, which seems to be the default). And that still hit the assert :/
<borneoa_> You can open a ticket in GitHub projet
BlackMage has joined #openocd
<BlackMage> hello
<BlackMage> on ubuntu 22.04 is at configure hidapi not detected
<BlackMage> but libhidapi-dev is installed
<BlackMage> any idea?
BlackMage has quit [Quit: Client closed]