NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
tsal has quit [Ping timeout: 252 seconds]
tsal has joined #openocd
thinkfat has joined #openocd
thinkfat_ has quit [Ping timeout: 256 seconds]
Hawk777 has quit [Ping timeout: 255 seconds]
Hawk777 has joined #openocd
ianstcdns has quit [Quit: Client closed]
indy has quit [Ping timeout: 252 seconds]
nerozero has joined #openocd
indy has joined #openocd
indy has quit [Quit: ZNC 1.8.2 - https://znc.in]
indy has joined #openocd
Hawk777 has quit [Quit: Leaving.]
indy has quit [Ping timeout: 248 seconds]
indy has joined #openocd
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
akaWolf has quit [Ping timeout: 248 seconds]
<drath42> I'm seeing segfaults whenever my Cortex-A53 (i.MX 8M Plus) target goes through resets. The segfault is in mem_ap_read_u32 (via target_poll), because the debug_ap is NULL at that point.
akaWolf has joined #openocd
<drath42> Before that, polling failed once (Polling target imx8mp.a53.0 failed, trying to reexamine), and in aarch64_examine_first the debug_ap was set to NULL.
<drath42> That aarch64_examine_first failed (Could not find APB-AP for debug access)
<drath42> last log output at -d3 is "Examination failed, GDB will be halted. Polling again in 100ms"
<drath42> I guess there are multiple things going wrong:
<drath42> - the target is being re-examined while the JTAG chain isn't working
<drath42> - the next target poll tries to access the target even though it hasn't been (re-examined)
<drath42> - the code tries to read from the AP even though it isn't set (NULL)
<drath42> What I'm not sure is how this is supposed to be handled, i.e. at which level this should be caught, and how this could be handled gracefully
<drath42> I'm using board/imx8mp-evk.cfg and interface/ftdi/imx8mp-evk.cfg
<hanetzer> patching pycortexmdebug to support derivedFrom registers :)
<hanetzer> and *done*
Guest59 has joined #openocd
Guest59 has quit [Client Quit]
akaWolf has quit [Ping timeout: 268 seconds]
akaWolf has joined #openocd
zjason has quit [Read error: Connection reset by peer]
zjason has joined #openocd
akaWolf has quit [Ping timeout: 256 seconds]
akaWolf has joined #openocd
Hawk777 has joined #openocd
Steffanx has quit [Quit: Whop whop]
kraiskil has joined #openocd
defiant has joined #openocd
kraiskil has quit [Ping timeout: 268 seconds]
nerozero has quit [Ping timeout: 252 seconds]
kraiskil has joined #openocd
kraiskil has quit [Ping timeout: 252 seconds]
shibboleth has joined #openocd
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Ping timeout: 268 seconds]
erhankur has joined #openocd
akaWolf has quit [Ping timeout: 256 seconds]
akaWolf has joined #openocd
Steffanx- has joined #openocd
defiant has quit [Quit: defiant]
BlackMage has joined #openocd
erhankur has quit [Remote host closed the connection]
shibboleth has quit [Remote host closed the connection]
shibboleth has joined #openocd
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
akaWolf has quit [Ping timeout: 268 seconds]
akaWolf has joined #openocd
shibboleth has quit [Quit: shibboleth]
Hawk777 has quit [Quit: Leaving.]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd