<limonene0>
Does anyone know how to program a STM32g030 chip using an STLINK/V2 on openocd 0.10.0 ? I'm currently getting an error message: Error: BUG: current_target out of bounds
jn has quit [Remote host closed the connection]
jn has joined #openocd
jn has joined #openocd
jn has quit [Changing host]
jeeebz has joined #openocd
jybz has quit [Excess Flood]
renrelkha_ has joined #openocd
renrelkha has quit [Write error: Broken pipe]
<PaulFertser>
limonene0: hi
<PaulFertser>
limonene0: what's your invocation command line? Please also use some pastebin to show full output.
<PaulFertser>
limonene0: 0.12.0 is the current release and should be available in all modern distros.
Haohmaru has joined #openocd
wingsorc has quit [Ping timeout: 248 seconds]
gzlb has quit [Quit: WeeChat 3.8]
slobodan_ has joined #openocd
slobodan_ has quit [Read error: Connection reset by peer]
slobodan_ has joined #openocd
postal_blab__ has joined #openocd
postal_blab_ has quit [Ping timeout: 240 seconds]
marcusmae has quit [Ping timeout: 252 seconds]
marcusmae has joined #openocd
gzlb has joined #openocd
slobodan_ has quit [Quit: Leaving]
PsySc0rpi0n has joined #openocd
Haohmaru has quit [Remote host closed the connection]
<limonene0>
I'm on Linux Mint 19.3 . What is the best way to get openocd version 0.12.0?
<limonene0>
No wait, it's actually 20.3
Boban has joined #openocd
<Boban>
Hi there
<Boban>
I'm looking to implement CTI support for peripheral halt on Cortex-M33. I'd like to know if OpenOCD supports this.
blathijs has joined #openocd
<Boban>
The documentation doesn't explicitly mention CTI support for ARMv8-M but just ARMv8. Does this include ARMv8-M as well or only ARMv8-A parts?
<blathijs>
Hey all. I've fixed a bug and submitted the patches to gerrit, but I'm not quite familiar with Gerrit (more used to pull requests on github or gitlab). I've separated my changes into three logically separated commits and pushed that per instructions, but now it seems that gerrit treats them as completely independent patches, meaning I cannot find a way to refer to the entire set (i.e. to add a
<blathijs>
Hm, it does seem that the "Relation chain" displayed for each of these patches links them together, though.
<blathijs>
Ah, it seems that Gerrit is configured for the cherry-pick submit type, which AFAICS means that gerrit does not track dependencies but expects each commit/patchset to be separately cherry-pickable, it seems.
<blathijs>
I also cannot find a way to actually add a comment to the patchset, other than adding an inline comment that responds to a particular part of the patch, but maybe that's by design (I would want to comment that the merge conflict is because of the dependency, and something about why the build seemingly failed)
Boban has quit [Quit: Client closed]
Boban has joined #openocd
<limonene0>
How do I write a target configuration file for STM32G030 ? There isn't one currently.
Haohmaru has quit [Ping timeout: 248 seconds]
Boban has quit [Quit: Client closed]
slobodan has joined #openocd
nerozero has quit [Ping timeout: 265 seconds]
nashpa has quit [Quit: Going away]
dliviu has joined #openocd
Boban has joined #openocd
peeps[work] has joined #openocd
Boban has quit [Quit: Client closed]
<PaulFertser>
limonene0: the best way to get 0.12.0 is to ask yyour distro maiintainers.
<PaulFertser>
blathijs: hey! Thank you so much for fixing and sending it properly to Gerrit!
<PaulFertser>
blathijs: when a patch has +2 from one of the maintainer, it's possible to "submit" it, and our merging strategy is cherry-pick. So indeed that can result in a merge conflict if the previous patch wasn't cherry-picked before that. For OpenOCD project this strategy seems to be better for the maintainers, so Gerrit shows merge conflicts for all the patches that can't be applied right away to master
<PaulFertser>
HEAD.
<PaulFertser>
blathijs: Gerrit always tracks dependencies for the patchsets as it's working on top of real git. It's just that it doesn't take it into account when computing conflicts with this submit strategy.
<PaulFertser>
blathijs: to comment press "Reply" on top, and add your "patchset comment" there.
<PaulFertser>
limonene0: there's target configuration called tcl/target/stm32g0x.cfg added in v0.10.0-1134-gba131f30a.
<PaulFertser>
limonene0: so if your distro is stuck at 0.10.0 please talk to your maintainers. If they have issues packaging, the OpenOCD team is always happy to help.
<PaulFertser>
blathijs: so don't worry about the merge conflict, no need to comment on it.
<PaulFertser>
blathijs: regarding the failed build, no need to comment on it either, it's indeed pushing another revision just aborted the build and a new one will eventually happen and override the verified label.
jn has quit [Remote host closed the connection]
jn has joined #openocd
jn has joined #openocd
jn has quit [Changing host]
Foxyloxy has joined #openocd
<limonene0>
PaulFertser: I managed to get upgraded to openocd 0.11 and the stm32g0x.cfg file appears to be working. Thank you. If you're ever in Minneapolis, I'll buy you a beer.
<PaulFertser>
limonene0: welcome, and thank you :)
<blathijs>
PaulFertser: Thanks for your elaborate reply, very helpful. I totally missed the "Reply" button, I see it now. I guessed as much that there was no real reason to comment, but wanted to do so just in case, but I'll refrain from it now. Looks indeed like the builds are now all ok, so I think I'm done for now - and can now redirect attention to implementating a workaround to work with the released
<blathijs>
openocd versions :-)
wingsorc has joined #openocd
limonene0 has left #openocd [Leaving]
<PaulFertser>
blathijs: btw, to actually send per-line comments you'd need to press the reply anyway, they're always part of the bigger whole reply.
<PaulFertser>
It's strange build time is an hour, guess I need to check if ccache is working properly soon.