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 joined #openocd
tsal has quit [Ping timeout: 258 seconds]
shwouchk has quit [Ping timeout: 258 seconds]
shwouchk has joined #openocd
Yamakaja has quit [Server closed connection]
Yamakaja has joined #openocd
Yamakaja has joined #openocd
Yamakaja has quit [Changing host]
olerem has quit [Server closed connection]
olerem has joined #openocd
_whitelogger has joined #openocd
shwouchk has quit [Ping timeout: 260 seconds]
nerozero has joined #openocd
Hawk777 has joined #openocd
Steffanx has joined #openocd
Hawk777 has quit [Quit: Leaving.]
Haohmaru has joined #openocd
renrelkha has quit [Quit: bye]
renrelkha has joined #openocd
defiant has quit [Quit: defiant]
tchebb_ has quit [Server closed connection]
tchebb has joined #openocd
tchebb_ has joined #openocd
tchebb has quit [Ping timeout: 260 seconds]
tchebb_ has quit [Ping timeout: 260 seconds]
tchebb has joined #openocd
dgz has quit [Server closed connection]
dgz has joined #openocd
dgz has quit [Changing host]
dgz has joined #openocd
tlwoerner has quit [Ping timeout: 248 seconds]
tlwoerner has joined #openocd
tchebb_ has joined #openocd
tchebb has quit [Ping timeout: 248 seconds]
<mawk> I have a problem with stm32 and the readout protection, the stm32 apparently requires a full power-on reset to acknowledge the RDP change
<mawk> but I want to make an automated testing setup
<mawk> I suppose I could wire the enable pin of the power regulator to the raspberry pi on which openocd runs
<mawk> but it's an ugly solution
<mawk> NRST isn't enough, sysresetreq/vectreset isn't enough, wake-up from Standby isn't enough
<PaulFertser> mawk: feed the target power from USB and power cycle with uhubctl probably?
<Haohmaru> brownout? ;P~
tlwoerner has quit [Ping timeout: 258 seconds]
tlwoerner has joined #openocd
<mawk> it's fed from a battery
<mawk> and there's a physical power switch
<mawk> I would have to insert a mosfet or find the right pin for the power regulator
<mawk> the board takes 12V I can't really use USB
<PaulFertser> You can with an additional boost.
<Haohmaru> a mechanical voltage-controlled finger ;P~
<mawk> the device has a battery and is also connected to a 12V power supply that recharges the battery
tlwoerner has quit [Ping timeout: 248 seconds]
<mawk> if I have to add the wiring for the boost controller I might as well just insert a relay in the right place
<Haohmaru> use a different MCU that doesn't require a whole POR but merely a reset?
* Haohmaru runs
<PaulFertser> mawk: I guess you can wait for zapb to comment on the other possibilities to get the target re-evaluate the RDP change.
tlwoerner has joined #openocd
tchebb_ has quit [Ping timeout: 248 seconds]
<PaulFertser> Or probably you do not really need to be testing RDP on a fully assembled device, do you really expect it to fail later when you enable it?
tchebb has joined #openocd
lucascastro has joined #openocd
alkane has quit [Quit: WeeChat 4.6.3]
<mawk> we're using the ST secure bootloader with memory protections and so on and it's quite complex, we can't just test without the bootloader and then ship with the bootloader in production
<mawk> it also enables the MPU in addition to RDP
<mawk> and that's pretty complex as well
<mawk> we discovered a bunch of NULL pointer dereferences that were silently succeeding when we enabled it
<mawk> so we can't test without the protections
<Haohmaru> you're not using dynamic memory allocation, are you?
alkane has joined #openocd
<mawk> no
<mawk> well we use printf, and it internally does for floats, so I guess yes
<mawk> from newlib
<Haohmaru> eek
tlwoerner has quit [Ping timeout: 260 seconds]
tlwoerner has joined #openocd
jfsimon has quit [Read error: Connection reset by peer]
shwouchk has joined #openocd
Haohmaru has quit [Quit: saionara]
vampi has joined #openocd
vampirefrog has quit [Ping timeout: 245 seconds]
jybz has quit [Server closed connection]
jybz has joined #openocd
<zapb_> mawk, what stm32 device do you have?
lucascastro has quit [Remote host closed the connection]
slobodan has joined #openocd
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #openocd
Steffanx has quit [Quit: Connection closed for inactivity]
nerozero has quit [Ping timeout: 260 seconds]
<mawk> zapb_ stm32f767
<mawk> sorry the irc client glitched the message wasn't sent
d_olex_ has joined #openocd
d_olex has quit [Ping timeout: 256 seconds]
d_olex__ has joined #openocd
d_olex_ has quit [Ping timeout: 260 seconds]
Getty has quit [Quit: https://github.com/Getty]
slobodan has quit [Ping timeout: 258 seconds]
Getty has joined #openocd
dormito has quit [Server closed connection]
dormito has joined #openocd