<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