NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
ianstcdns has quit [Quit: Client closed]
akaWolf has quit [Ping timeout: 268 seconds]
akaWolf has joined #openocd
Hawk777 has quit [Quit: Leaving.]
tsal has quit [Ping timeout: 268 seconds]
tsal has joined #openocd
thinkfat_ has joined #openocd
thinkfat has quit [Ping timeout: 255 seconds]
tsal has quit [Ping timeout: 268 seconds]
tsal has joined #openocd
hanetzer has joined #openocd
<hanetzer> ello. so, I've put together this config file: https://brpaste.xyz/XkMEvw; it 'seems to' work, in that I can pull information out of the soc which you'd only be able to get out of the soc (various chipid regs and so on). However if I try 'mon reset' it responds with 'hi3516dv300.a9: how to reset?', not sure where to go from there tbh. the jtag connector only has nTRST broken out
<PaulFertser> hanetzer: then you probably need to write a Tcl handler that would use SoC's WDT to reset.
<PaulFertser> Or another SoC-specific way. "reset-assert" handler it is I think.
<hanetzer> got a general example of that?
thinkfat has joined #openocd
thinkfat_ has quit [Ping timeout: 248 seconds]
<PaulFertser> hanetzer: atheros_ar9331.cfg where it halts the target and then does some "mww" command.
<PaulFertser> If you have Linux sources for that target you can see how it has restart handler implemented.
<hanetzer> its pretty simple. just a write to a reg.
<hanetzer> PaulFertser: am I ssupposed to understand that that mww command resets the cpu?
Haohmaru has joined #openocd
nerozero has joined #openocd
<PaulFertser> hanetzer: mww is write to some memory-mapped peripheral. Should be described in the SoC manual.
<indy> zapb__, libjaylink 0.3.0 in fedora rawhide, f37, f36 on the way
<indy> borneoa_, PaulFertser any timeframe for 0.12 release?
<hanetzer> PaulFertser: yeah, I know mww. I just don't know that particular register :)
<PaulFertser> hanetzer: I suggest you check u-boot or Linux sources for your target SoC to find out the right address and value.
<PaulFertser> indy: first RC planned for some time September iirc.
<borneoa_> indy: yes, rc1 some time in mid September. Let's wait for people get back from vacation to ask what is pending in gerrit and valuable for the release.
<indy> borneoa_, PaulFertser ok
<hanetzer> PaulFertser: *I know my register*. I just didn't know the one from the ar9331 config you suggested.
<PaulFertser> hanetzer: ah, I see. Neither did I, but I made an educated guess about the meaning :)
<zapb__> indy, nice, thanks!
akaWolf has quit [Ping timeout: 248 seconds]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 248 seconds]
akaWolf has joined #openocd
merethan has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
hanetzer has quit [Quit: WeeChat 3.5]
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
jancoow has quit [Quit: The Lounge - https://thelounge.chat]
jancoow has joined #openocd
Haohmaru has quit []
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
akaWolf has quit [Ping timeout: 248 seconds]
indy has quit [Ping timeout: 248 seconds]
indy has joined #openocd
akaWolf has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
nerozero has quit [Ping timeout: 252 seconds]
kraiskil has joined #openocd
kraiskil has quit [Ping timeout: 252 seconds]
jancoow has quit [Ping timeout: 248 seconds]
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
merethan has quit [Ping timeout: 248 seconds]
nerozero has joined #openocd
nerozero has quit [Ping timeout: 252 seconds]
jancoow has joined #openocd
jancoow has quit [Client Quit]
jancoow has joined #openocd
indy has quit [Ping timeout: 256 seconds]
indy has joined #openocd