by theover » Sat Dec 07, 2019 12:03 pm
Before this project gets demoted to the museum hall where failed machines go, I recall my suggestion works, maybe I'll try and Youtube it for fun, but for people who for some reason need Usb, the way I recall it I can start up, shutdown until the card has been unmounted (to prevent data corrupton), and then hit the reset button. System comes back up and always with USB working.
It might be possible to automate this, though I've looked for a way to get a signal after the unmount portion of shutdown, but that's hard to do for me thus far. If you'd be in the RO portion of the system filesystem mount shutdown program, you could use a user IO to apply the reset, and maybe require a bit of external storage to remember you are then in the second boot. I have another bit of storage on my 7010 setup to remember my debounced supply status (on or off to the powerFET feeding through the supplied 3 Amp supply unit to the boards power pin), which could also be driven by a userIO to be applied after full shutdown has taken effect. That prevents card data loss in every decent system use event: debounced (one step of voltage coming up) power up, decent restart to get Usb reliably to work, and proper all-shutdown with automated power off.
It would somehow still be a shitty system...