<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>
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
<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.
<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.