<div dir="auto">Can you give steps to reproduce? I've said in the past, I've not experienced using the usb mass storage as affecting much in a negative way aside from running out of space due to the recycle bin hidden files.<div dir="auto"><br></div><div dir="auto">I will note that calling pulse() at the end of reset (I think hard or soft) never successfully worked for me (to initiate a pulse train right, i.e. after plugging in)... I had to manually call pulse() from the REPL (didn't try calling based on say an external button push).</div><div dir="auto"><br></div><div dir="auto">Maybe that issue is somehow related to what you're seeing. Is there something in pulse() we need to call once after reset, outside of the pulse() function?</div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Aug 4, 2018, 10:51 AM John Griessen <<a href="mailto:john@cibolo.com">john@cibolo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 08/04/2018 12:44 PM, John Griessen wrote:<br>
> Now I can get into a good startup state from soft reset, but after a hard reset,<br>
> a soft reset is still needed.  After a good while, when the USB mass storage behavior starts, the port A GPIOs<br>
> go bad again.<br>
<br>
--><br>
<br>
A good while after hard reset, when the USB mass storage behavior starts, the port A GPIOs<br>
go bad again, and a soft reset is needed again.<br>
<br>
So if running fine and give a hard reset, culture shock goes into a state where high current is drawn<br>
because the push signal is always on.  I need a work around for this.<br>
<br>
I guess it means detecting from the running program if USB mass storage is doing something and waiting until then<br>
to the setup chores and get the staye right with a<br>
timers_init()<br>
command.<br>
<br>
Otherwise, I need to debug why  USB mass storage does this and get it fixed by the micropython devs, or stop using<br>
USB mass storage, which is what some of the practical devs of micropython apps do<br>
<br>
It's just cost me days of no progress again and might make me tear my hair if I had more of it :-)<br>
<br>
_______________________________________________<br>
open_electroporator mailing list<br>
<a href="mailto:open_electroporator@cibolo.us" target="_blank" rel="noreferrer">open_electroporator@cibolo.us</a><br>
<a href="https://cibolo.us/mailman/listinfo/open_electroporator" rel="noreferrer noreferrer" target="_blank">https://cibolo.us/mailman/listinfo/open_electroporator</a><br>
</blockquote></div>