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: 264 seconds]
tsal has joined #openocd
_whitelogger has joined #openocd
nerozero has joined #openocd
wrigby has joined #openocd
wrigby has quit [Ping timeout: 246 seconds]
borneoa_ has joined #openocd
Hawk777 has quit [Quit: Leaving.]
borneoa_ has quit [Quit: Connection closed for inactivity]
borneoa_ has joined #openocd
uartist has quit [Quit: Ping timeout (120 seconds)]
<PaulFertser> borneoa_: hey! :) yesterday's discussion on ##stm32 highlighted a potential issue with SYSRESETREQ: https://github.com/ARM-software/CMSIS_5/issues/302 . There's also a linked issue made by someone working for NXP but explanations I could read feel unsatisfactory. My point is that /probably/ OpenOCD should treat this register the same way but it would be good to understand why exactly it might be
<PaulFertser> needed.
uartist has joined #openocd
<borneoa_> PaulFertser: thanks for reporting it. I will have a look at it.
<PaulFertser> borneoa_: tbh, I got rather angry after reading those tickets.
<borneoa_> PaulFertser: why? Maybe I missed the point but looks like some incorrect reading of arm docs.
Hawk777 has joined #openocd
<borneoa_> PaulFertser: after reading, looks like a timings issue between writing in NVIC_AIRCR and the moment SW reset gets triggered. Not preserving prigroup bits can make the running FW unstable and crash before the SW reset takes effect.
<borneoa_> PaulFertser: I think we should implement the same, but maybe after 0.12.0
nerozero has quit [Ping timeout: 246 seconds]
<PaulFertser> borneoa_: nobody really properly explained why it was needed there. So even if running FW is unstable and crashes, does it mean the target won't reset at all?
<PaulFertser> This comment seems to imply reset might fail altogether but why? https://github.com/ARMmbed/DAPLink/pull/362#issuecomment-350356905
zjason` has joined #openocd
zjason has quit [Ping timeout: 272 seconds]
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
Hawk777 has quit [Quit: Leaving.]
borneoa_ has quit [Quit: Connection closed for inactivity]