<matt_>
Hi. I'm having trouble getting OpenOCD to work with the second core in an STM32H757xI: 'target stm32h7x.cpu1 examination failed'. Is this the right place to ask for assistance?
<PaulFertser>
matt_: yes, but you might need to wait
<PaulFertser>
matt_: also I suggest you use the latest master branch with -d3 and some pastebin to show the log.
<PaulFertser>
I'd also try searching for message:STM32H7 on gerrit.
<karlp>
I guess I should try it over ethernet first using that base code if I'm going down this path...
<karlp>
zapb_: I don't suppose you haev a wireshark decoder plugin that handles all the existing supported libjaylink stuff?
<karlp>
would make it pretty easy to spot the "extra" stuff I guess :)
<karlp>
growing too many projects again...
PaulFertser has quit [Ping timeout: 240 seconds]
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 272 seconds]
PaulFertser has joined #openocd
<zapb_>
karlp, I've already RE'd it
<zapb_>
I had a private patch for AEM+OpenOCD years ago
<zapb_>
karlp, it uses the EMUCOM interface
<zapb_>
emucom can be used via jlink commands
<karlp>
yeah, I imagined it would be, I don't imagine it's _terribly_ difficult, just wondering if it was already available or not :)
<karlp>
I have a 2008 jlink usb protocol doc, and have started grossly hacking up a wireshark decoder, haven't done this in years, some of it is a little different
<karlp>
I take it there were/are professional reasons it couldn't be shared?
<karlp>
(which is fine, just checkign)
jancoow has quit [Ping timeout: 250 seconds]
c4017w_ has joined #openocd
<zapb_>
karlp, you mean AEM?
<karlp>
yeah.
<zapb_>
No, just no time and motivation to make it ready for release
<zapb_>
I can send you the documentation
<zapb_>
Basically you have to read a specific channel via "jlink emucom read"
<zapb_>
The read data gives you a timestamp and the current
<karlp>
can I do that with libjaylink?
<zapb_>
standalone libjaylink without OpenOCD?
<karlp>
eh, either
<karlp>
code correlation is cute, but not essential
<karlp>
I'd be fine just using it as a fany multimeter :)
c4017w__ has quit [Ping timeout: 240 seconds]
<zapb_>
karlp, the command above is with OpenOCD
<karlp>
looks like there's jaylink_emucom_read
<zapb_>
you can also write 10 lines C code to establish a connection with libjaylink and call jaylink_emucom_read()
<karlp>
oh, you can just read it straight up frrom within openocd?!
<karlp>
oh, that's cute
<zapb_>
Yep
<karlp>
guess I'd better fix up this efr32 series 2 patch set then :)
<zapb_>
Writing a Tcl interface for emucom is on my TODO
<karlp>
seeing as it's back in play :)
<zapb_>
karlp, how's that related to AEM?
<zapb_>
you mean instead of using "simplicity" studio? :)
<karlp>
oh, I was doing preliminary evals of a few parts, including efr32 series 2 abotu a year ago, and went with stm32wb.
<karlp>
however, for not relevant right now reasons, I'm back on efr32
<karlp>
and I'm just using ssv5, and it's actualyl fine, I mean, it's not, and I have to run xorg, becuase it's busted in all sorts of ways, but Ive been getting a lot done with it
<karlp>
but I have this itch to fix up the oocd support for it :)
<karlp>
if you ahve some notes on wha tthe specific channel is I need to work with, tha twould be great still.
<zapb_>
karlp, channel number: 0x00010001
cambrian_invader has quit [Ping timeout: 252 seconds]
<karlp>
thanks!
<zapb_>
Byte 0-3: Time in milliseconds since device powerup
<zapb_>
Byte 4-7: Current in mA (C-float, IEEE-754)
<zapb_>
Byte 8-11: Voltage in V (C-float, IEEE-754)
<zapb_>
You have to read 12 bytes
<zapb_>
This worked for STK 3300
<zapb_>
Let me know if it works with your device too
<karlp>
this is the brd4001a wstk.
cambrian_invader has joined #openocd
<zapb_>
For sanity check: channel 0x0 gives you the time since the board power up in ms (4 bytes)
c4017w__ has joined #openocd
<karlp>
ok, have a suuuuuper basic wireshark decoder, but it would need far more work on it than I feel like doing tonight to be useful :)
<karlp>
but at least I foudn what's wrong with some of my old example code.