NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 272 seconds]
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 240 seconds]
c4017w_ has joined #openocd
tsal has quit [Ping timeout: 250 seconds]
c4017w__ has quit [Ping timeout: 272 seconds]
tsal has joined #openocd
thinkfat_ has quit [Ping timeout: 240 seconds]
thinkfat has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 256 seconds]
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 256 seconds]
Bertl_oO is now known as Bertl_zZ
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 272 seconds]
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 272 seconds]
nerozero has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 272 seconds]
Krazubu has joined #openocd
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 252 seconds]
Krazubu has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
Haohmaru has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 240 seconds]
<karlp> antto: yeah, "gdlink" but still looks like cmsis-dap v1, no bulk,
<Haohmaru> yeah i was looking for that one at first but it was out of stock then
<Haohmaru> cheap otherwise
<karlp> this is built into the gd32vf103c-start board.
<Haohmaru> karlp did it have a serial port?
<Haohmaru> hm, wait, yours isn't a "standalone" gdlink?
<karlp> no.
<karlp> this is a similar setup to ~most vendor eval boards, with an onboard debugger.
<Haohmaru> right
<Haohmaru> but there *is* a standalone gdlink, because i saw it back then as an item
<karlp> sure, I have zero comment on that.
wingsorc__ has quit [Quit: Leaving]
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 240 seconds]
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 256 seconds]
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 256 seconds]
joconor has quit [Ping timeout: 256 seconds]
Bertl_zZ is now known as Bertl
joconor has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 240 seconds]
<NishanthMenon> borneoa_: just a gentle ping on https://review.openocd.org/c/openocd/+/6799 series..
matt_ has joined #openocd
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 256 seconds]
<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.
<matt_> Okay. I'll do that. Thanks.
<matt_> This is the log output I'm getting: https://pastebin.com/YBMsshp0
<matt_> This is my openocd.cfg file: https://pastebin.com/xDRvkN1N
<PaulFertser> matt_: it's not like the log shows the error you mentioned?
<matt_> Looks like the log got truncated. Hang on a sec...
<matt_> Okay. Here's part 1: https://pastebin.com/ZCjtJV0j
<matt_> ..and here's part 2: https://pastebin.com/dV0e4TnX
<matt_> This is all being done with the built-in STLink V3 debugger on an STM32H757I-EVAL board btw.
<karlp> is this one of the ones with both dualm7+m4?
<matt_> Yes
<karlp> partno 0 is kinda busted though, is it possible one of the cores is disabled by boot settings?
<karlp> there's a "DUAL_CORE" setting in the config, I think you need to set that manually?
c4017w__ has joined #openocd
<matt_> I get 0x1bc6aaf0 for FLASH_OPTSR_CUR, so BOOT_CM7 and BOOT_CM4 are both set, which I believe means both cores should be running.
<matt_> This is the config file I pass to OpenOCD when I start it up: https://pastebin.com/xDRvkN1N
<matt_> I have DUAL_CORE set to 1.
c4017w_ has quit [Ping timeout: 260 seconds]
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 256 seconds]
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 272 seconds]
Haohmaru has quit []
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 256 seconds]
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 250 seconds]
Krazubu has joined #openocd
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 260 seconds]
Bertl is now known as Bertl_zZ
Hawk777 has joined #openocd
Krazubu has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
nerozero has quit [Ping timeout: 272 seconds]
<karlp> don't suppose anyone here's tried using the silabs AEM frrom outside simplicity studio?
<karlp> it only has one extra interface, so I suppose that's muxing trace and power data?
<karlp> (the jlink ob pro usb interfaces I mean)
<karlp> but over usb
<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.
c4017w_ has quit [Ping timeout: 256 seconds]
<karlp> https://github.com/karlp/jlink-wireshark-decoder if anyone just wants to follow, it's not at all useful at this point...
jancoow has joined #openocd
urja has quit [Ping timeout: 256 seconds]
urja has joined #openocd
zjason has quit [Quit: ERC (IRC client for Emacs 28.0.50)]