NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
renrelkha has quit [Quit: bye]
renrelkha has joined #openocd
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
tsal has quit [Ping timeout: 272 seconds]
tsal has joined #openocd
Hawk777 has left #openocd [#openocd]
Hawk777 has joined #openocd
erhankur has quit [Ping timeout: 246 seconds]
wingsorc has quit [Ping timeout: 260 seconds]
erhankur has joined #openocd
Hawk777 has quit [Quit: Leaving.]
erhankur has quit [Remote host closed the connection]
crabbedhaloablut has quit [Quit: No Ping reply in 180 seconds.]
crabbedhaloablut has joined #openocd
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
Haohmaru has joined #openocd
<JakeSays> hey i'm getting an error and i'm not sure where it's coming from. when i try to start debugging, i get this: 02:33:19: Cannot debug: Could not find executable for "device://{414fc88b-a868-4490-b9bf-1a1b7bfbf46b}/p/clock/SuperClock2/out/debug/mcu1/controller.elf".
<karlp> what environment are you in?
<JakeSays> is that 'device://{guid}' prefix added by openocd?
<JakeSays> linux
<karlp> more precisely please :)
<JakeSays> kubuntu 22.04:)
<karlp> no, I mean, your tooling environment that is building "controller.elf"
<JakeSays> ah
<karlp> because openocd can't access that path (obviously)
<karlp> I suspect you have some sort of magicv "lets hide our development in containers" ?
<JakeSays> i'm using qt creator version 8
<JakeSays> no dev containers
<karlp> and where does it believe the project is? it it some cloud shared repository or something?
<karlp> do you start "deebugging" from within qt creator?
<JakeSays> no. this is 100% on my local machine. no cloud - old school
<JakeSays> yes
<karlp> well, you've got a qt creator issue then I'm afraid :|
<karlp> do you see the controlelr.elf somewhere in your local source tree?
<karlp> or has qt creator built it somewhere strange as well?
<JakeSays> it's here: /p/clock/SuperClock2/out/debug/mcu1/controller.elf
<JakeSays> no creator isn't actually doing the build. i just have it run a script that uses ninja to do the build.
<karlp> so "gdb controller.elf" "target ext localhost:3333" and "load" and "run" ?
<karlp> if those all work, it's qt creator.
<karlp> but it looks like you're not even getting to openocd, qt creator is doing something wrong trying to find your scripts output to pass to the debugger.
<JakeSays> first it starts openocd with this: /usr/local/bin/openocd -c 'gdb_port 9000' -s /p/personal/truck/arduino/variants/XIAO_m0/openocd_scripts -f /p/personal/truck/arduino/variants/XIAO_m0/openocd_scripts/XIAO_m0.cfg -c "tcl_port disabled" -c "telnet_port disabled"
<karlp> yeah, it's not getting that far.
<JakeSays> which in a console runs fine
<karlp> it can't find the elf to even start debugging, let alone connecting to the target.
<JakeSays> right
<karlp> good luck :)
<JakeSays> ugh. this worked fine in creator 4.15.
<JakeSays> the quality of creator releases isn't what it used to be im afraid
<karlp> if you do "realpath blah/elf" does it spit out this device://uuid?
<karlp> and does that uuid look familiar if you use "blkid" ?
<karlp> something in your system is possibly tyrying to be very helpful and precise.
<JakeSays> realpath /p/clock/SuperClock2/out/debug/mcu1/controller.elf returns /p/clock/SuperClock2/out/debug/mcu1/controller.elf
<JakeSays> well, two things have changed since i last tried this: kubuntu 21.10 -> 22.04, and creator 4.15 -> 8.
<JakeSays> my money is on creator
<JakeSays> yup. i agree. thanks for helping me rule out openocd
<JakeSays> lol that probably made no sense
nerozero has joined #openocd
<karlp> it seemed superfluous at least :)
Deneb has joined #openocd
<JakeSays> karlp: i accidentally scrolled up so the last message was "well, you've got a qt creator issue then i'm afraid" lol
<JakeSays> yup. works perfect in creator 4.15
wingsorc_ has quit [Quit: Leaving]
wingsorc has joined #openocd
Deneb has quit [Quit: Leaving]
merethan_ has joined #openocd
Guest6747 has quit [Quit: WeeChat 3.6]
merethan_ has quit [Remote host closed the connection]
merethan_ has joined #openocd
erhankur has joined #openocd
erhankur has quit [Ping timeout: 246 seconds]
erhankur_ has joined #openocd
erhankur_ has quit [Remote host closed the connection]
erhankur_ has joined #openocd
<maribu[m]> borneao: Sorry for nagging about https://review.openocd.org/c/openocd/+/5584 - but any chance you could take another look in the next few days?
<borneoa_> maribu[m]: yep, I fully missed it. Please ping me again if you don't see any reply within this week
<maribu[m]> Thx :)
PsySc0rpi0n has quit [Ping timeout: 256 seconds]
PsySc0rpi0n has joined #openocd
erhankur_ has quit [Read error: Connection reset by peer]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
merethan_ has quit [Remote host closed the connection]
merethan_ has joined #openocd
cambrian_invader has joined #openocd
erhankur has joined #openocd
erhankur has quit [Ping timeout: 268 seconds]
nerozero has quit [Ping timeout: 272 seconds]
Guest9630 has joined #openocd
Guest9630 has quit [Client Quit]
shibboleth has joined #openocd
Haohmaru has quit []
erhankur has joined #openocd
erhankur_ has joined #openocd
erhankur has quit [Read error: Connection reset by peer]
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]
shibboleth has quit [Quit: shibboleth]
erhankur has joined #openocd
merethan_ has quit [Ping timeout: 260 seconds]
wingsorc__ has joined #openocd
wingsorc__ has quit [Quit: Leaving]
wingsorc__ has joined #openocd
wingsorc has quit [Remote host closed the connection]
diddly has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd