NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
<zapb_> karlp, how could we make swo easier to use? :)
<zapb_> more default configs?
dmh has joined #openocd
Steffanx- has quit [Quit: Connection closed for inactivity]
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 272 seconds]
Hawk777 has quit [Quit: Leaving.]
<c4017w__> I'm using cross-build.sh. I want to use -O0 temporarily, but unsure how to add just that one flag. I tried `export CFLAGS="-O0"` before running the script, but it appears to remove other cflags (specifically '-g'). It's not a big deal as I can just do `export CFLAGS="-g -O0"`, but I'm wondering if there's a way to add a flag without the others being removed?
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 240 seconds]
thinkfat_ has joined #openocd
thinkfat has quit [Ping timeout: 250 seconds]
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 256 seconds]
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 240 seconds]
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 256 seconds]
Bertl_oO is now known as Bertl_zZ
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 240 seconds]
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 240 seconds]
zjason has quit [Ping timeout: 240 seconds]
zjason has joined #openocd
wolfshappen has quit [Ping timeout: 256 seconds]
wolfshappen has joined #openocd
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 256 seconds]
c4017w__ has joined #openocd
captain_morgan has quit [Remote host closed the connection]
captain_morgan has joined #openocd
c4017w_ has quit [Ping timeout: 272 seconds]
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 240 seconds]
<jancoow> Mmh okay so. I start openOCD as a subprocess in my python code and connect to the 6666 port. However, after 18~20 minutes, openOCD does not give a response to my command on this port. The code does restart the process then and it works, but I was wondering why this is happening
<jancoow> maybe the python process is not kept alive or something?>
nerozero has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 272 seconds]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
Steffanx- has joined #openocd
<zapb_> jancoow, I never had problems like that and I use Python + OpenOCD a lot
<zapb_> jancoow, can you provide more information?
Krazubu has joined #openocd
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 240 seconds]
<jancoow> zapb_ unfortunally, no. I can ony see my own python logging so I am limited to that. The only thing I see is that I'm trying to send a command, and that command timed out because I dont receive a response
<jancoow> I was wondering if it was any openocd specific so ye
Krazubu has quit [Remote host closed the connection]
Krazubu has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 272 seconds]
Steffanx- has quit [Quit: Connection closed for inactivity]
Krazubu has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 256 seconds]
Bertl_zZ is now known as Bertl
Krazubu has joined #openocd
Krazubu has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 250 seconds]
<karlp> zapb_: openocd not an awful lot, but yes, having easier defaults that can be found and turned on would be great. probe-rs expanded their scope a bit to include trace, and integrates a few things a little neater, so it's "discoverable" somewhat.
<karlp> it's kinda ecosystem as a whole expanding trace usage.
<karlp> many of the rust demos use swo ch0 printf just out of the box, so people see it and start to remember it exists.
<karlp> st cube for isntance it's kinda awkward to use it, even if you know what you're doing.
<karlp> even though _all_ demo boards have swo connected to the stlinks.
Krazubu has joined #openocd
c4017w_ has joined #openocd
Krazubu has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
c4017w__ has quit [Ping timeout: 256 seconds]
<zapb_> karlp, yes, I tried swo/tpiu today
<zapb_> Actually it was a pita
<zapb_> Even if you're familiar with OpenOCD
Bertl is now known as Bertl_oO
<zapb_> jancoow, what target? is openocd responsive via telnet?
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 272 seconds]
wingsorc__ has joined #openocd
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 256 seconds]
Krazubu has joined #openocd
Krazubu has quit [Quit: Textual IRC Client: www.textualapp.com]
<jancoow> zapb_ im not sure; it's hard for me to debug
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 240 seconds]
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 272 seconds]
extor has quit [Ping timeout: 268 seconds]
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 256 seconds]
Steffanx has quit [Read error: Connection reset by peer]
Steffanx has joined #openocd
veverak has quit [Quit: WeeChat 3.0]
<karlp> bleh, riscv-openocd fork works, openocd plus https://review.openocd.org/c/openocd/+/6704 fails, but... opening the cmsis-dap?! not what I expected... https://paste.jvnv.net/view/8BI20
<karlp> was expecting changes in teh gd32v bits, not the cmsis-dap bits :|
<karlp> $ src/openocd -s tcl -f interface/cmsis-dap.cfg -c "adapter speed 2000" -f target/gd32vf103.cfg -d2
<karlp> huh, adding adapater speed manually works?!
<karlp> that... can't be the intended behaviour of cmsis-dap right?
<karlp> is that a bug in some cmsis-dap refactoring we did?
extor has joined #openocd
<karlp> well, great, even with that, now it _claims_ to have flashed things, but doesn't...
<karlp> ok, this needs more debugging and testing behviious than I have time for tonight :|
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 240 seconds]
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 240 seconds]
Steffanx- has joined #openocd
c4017w_ has joined #openocd