borneoa_ has quit [Quit: Connection closed for inactivity]
nerozero has joined #openocd
borneoa_ has joined #openocd
JakeSays has quit [Ping timeout: 260 seconds]
JakeSays has joined #openocd
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
Haohmaru has joined #openocd
Deneb has joined #openocd
<Deneb>
what is the reason for Raspberry Pi configs not being included with the official openocd project? It would make things a lot easire if one didn't have to download and compile a separate project from Raspberry to work with Pi and Pico devices.
<PaulFertser>
Deneb: OpenOCD is a free software project. Anyone is free to contribute some code or config under a compatible license via the common process, the OpenOCD Gerrit code review system.
<PaulFertser>
Some rpi-related configs are included, including the rp2040 config.
<Deneb>
what is the reason for Raspberry Pi configs not being included with the official openocd project? It would make things a lot easire if one didn't have to download and compile a separate project from Raspberry to work with Pi and Pico devices.
<Deneb>
sorry, not sure why that posted again!
<Deneb>
was trying to say that I was trying picoprobe.cfg and the OpenOCD just tells me it doesn't exist and lists the available interfaces. It works fine with the version from Raspberry.
<Deneb>
seems there is more to this than just copying over the .cfg file....
<Haohmaru>
hm... i have a chunk of code like: "while (a == b);" which should busy-wait until b changes to a different value (that would happen in an ISR... however, the chip seems to be sitting there on that loop and yet the debugger tells me a==226, b==225
<Haohmaru>
is it possible that the actual program has been maybe optimized such that it doesn't *really* re-read the value of b every time?
<Haohmaru>
(this is on cortex M0+)
<karlp>
are you using volatile correctly if you're modifying things in an isr and watching in a loop?
<Haohmaru>
mm, crap
<Haohmaru>
i do have a memory barrier before the loop