NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
joconor has quit [Quit: ZNC 1.8.2 - https://znc.in]
joconor has joined #openocd
Hawk777 has joined #openocd
harryballs has joined #openocd
<harryballs> Hey all
harryballs has quit [Client Quit]
nerozero has joined #openocd
joconor has quit [Quit: ZNC 1.8.2 - https://znc.in]
joconor has joined #openocd
Haohmaru has joined #openocd
Hawk777 has quit [Quit: Leaving.]
joconor has quit [Ping timeout: 244 seconds]
joconor has joined #openocd
slobodan has joined #openocd
<karlp> I'm trying to use a watchpoint on cortex-m0, and I'm hitting "watchpoint value masks not supported"
<karlp> but I don't want or need a mask,
<karlp> I'm just doing "watch blah" in gdb
<karlp> and help watch doesn't show anything about masks.
<karlp> the gdb remote reports it got "@bar(input):button2
<karlp> fack
<karlp> not that
<karlp> Z2,4002e024,4
<karlp> which _looks_ like "just watch the 32bit word at 4002e024" which is what I want.
<karlp> (I'd also tried watch *0x4002e024 but get the same errors)
<karlp> ok. umm. this looks like a weird 32/64bit issue?
<karlp> and struct watchpoint has a 64bit mask value
<karlp> but when I arrive into
<karlp> cortex_m_add_watchpoint
<karlp> I have a 32bit mask 0x 0xffffffff, as would be apppropriate for my target...
<karlp> damnit, watchpoint_add has the 64bit mask.
<karlp> watchpoint_add_internal throws it away and uses 32bit mask?!
<karlp> it's a regression :) yay.
<karlp> let me test this out...
<karlp> yay works again.
<karlp> I mean, it hasn't helped me catch who writes a zero to my peripheral, but I guess that's because it's clocked/unclocked, not _written_ I guess.
<karlp> ok, let's get this patch up
<karlp> https://review.openocd.org/c/openocd/+/8364 why didn't that pick up the "fixes: " tag?
<karlp> borneoa___: if you're still "just about" to make 0.13, I'd say that regression is pretty important to pull in. fortunately it came in after 0.12
<karlp> ffs, it's already submitted, if I'd read all the footnotes on the original one
bvernoux has joined #openocd
<indy-> hi all, is there any patch for using latest jimtcl in openocd? in fedora i get in rawhide failures with jimtcl-0.83
indy- is now known as indy
joconor has quit [Quit: ZNC 1.8.2 - https://znc.in]
joconor has joined #openocd
<borneoa___> karlp: no schedule for 0.13, yet
<borneoa___> indy: Humm, jimtcl 0.83 tagged August 28. We all missed it! Must be addressed asap and that's a good reason for a new tag, probably a minor release
<borneoa___> indy: if you can, please send more info on the mailing list or open a ticket, so everyone gets aware of the details
<karlp> borneoa___: no stress then :)
<karlp> but yeah, watchpoints are pretty busted right now. I believe they'll only work if you specify a mask, and your hardware supports masking, and the masks are less than 32bits.
<karlp> plain "watch var" is börked.
<Haohmaru> björked.
diddly has quit [Ping timeout: 272 seconds]
<slobodan> Hey folks
<slobodan> Uh wrong channel again sorry :)
Haohmaru has quit [Quit: saionara]
dliviu has quit [Quit: Going away]
dliviu has joined #openocd
diddly has joined #openocd
nerozero has quit [Ping timeout: 248 seconds]
diddly has quit [Ping timeout: 272 seconds]
slobodan has quit [Ping timeout: 264 seconds]
diddly has joined #openocd
<bacam> a
<bacam> Oops
slobodan has joined #openocd
geep_ has joined #openocd
cyrozap_ has joined #openocd
cyrozap has quit [*.net *.split]
geep has quit [*.net *.split]
braunr has quit [*.net *.split]
polprog has quit [*.net *.split]
Wonka has quit [*.net *.split]
cyrozap_ is now known as cyrozap
braunr has joined #openocd
polprog has joined #openocd
Wonka has joined #openocd
<zapb__> karlp, oups, good watch. let me try to very this here... do you have a minimum working example?
pedroa has joined #openocd
pedroa has quit [Quit: Client closed]
<borneoa___> indy: please have a look at Gerrit patch 8512. Compile is fixed, but I have not tested if jimtcl 0.83 introduces some runtime regression
<borneoa___> PaulFertser: should we consider commit 8512 for a 0.12.1 ? After some tests, of course
<PaulFertser> borneoa___: s/than need it/that need it/ . Hm, why not. If 0.13.0 is still too far away the distro maintainers might benefit from that point release, yes.
<borneoa___> PaulFertser: thanks for the review! Updated! I cannot imagine any regression from that patch, but I want some extra check on the new jimtcl. The patch alone gives the incorrect feeling that jimtcl 0.83 is fully ok with OpenOCD
<PaulFertser> Good point! It's C so if it compiles doesn't mean it works.
zjason`` has joined #openocd
zjason` has quit [Ping timeout: 265 seconds]
slobodan has quit [Ping timeout: 276 seconds]
<borneoa___> PaulFertser: more complex then expected. v0.12.0 requires backporting 7405, 7517, 7721 and 8512 ! Then it will compile for jimtcl 0.83 (and older from 0.79)
<PaulFertser> BTW, trying to use SWO capture on stlinkv2 from a nucleo board and if I power off the target while openocd is running then I'm not ever getting SWO back (by restarting OpenOCD) until power cycling the stlink it seems.
<PaulFertser> I haven't tried understanding or debugging it yet, sorry.
rigid_ has quit [Quit: +++ATH NO CARRIER]
rigid has joined #openocd
rigid has quit [Changing host]
rigid has joined #openocd
bvernoux has quit [Read error: Connection reset by peer]
xorbital has joined #openocd
xorbital has quit [Remote host closed the connection]
<karlp> zapb__: "watch var" will fail?
<karlp> well, it will accept, until you do a "run" or continune or anyting and it tries to actualyl insert it.