Earlier quoted context omitted.
Took me a while to find this again, but here you go: https://www.yepkit.com/product/300110/YKUSH3 , a 3-port USB 3.1 Hub with switchable Vbus that doesn't cost an arm and a leg.
we use these in our CI/CD pipelines as we deal with embedded hardware. they work absolutely awesome for power cycling stuck USB peripherals or powering USB-powered boards for tests.
Power-cycling a USB port should be simple, right? (2017)
11–16 of 16 posts
Re: Power-cycling a USB port should be simple, right? (2017)
#12Re: Power-cycling a USB port should be simple, right? (2017)
#13I had a need to test the insert/remove a whole bunch for a while. Because the timing worked out, I ended up getting a programmable USB hub [1]. It worked well for my needs, but I'm not sure I'd trust it enough for a really inaccessible location. I do wish I could find a not stupid priced version of this concept that does USB 3.1 [1] https://capablerobot.com/products/programmable-usb-hub/
Re: Power-cycling a USB port should be simple, right? (2017)
#14For that rare event, it doesn't seem worth writing code to power cycle a single USB peripheral (and then write and test all the code to clear the error states at each level of the stack and bring that peripheral back up again).
Instead, power cycle the entire system. Have a small hardware watchdog which, when not being tickled, will power off the whole system for 5 seconds and power everything back on.
Write code to periodically tickle the hardware watchdog when everything is 100% healthy, or when 3 reboots have happened in short succession (you'd prefer the system up with 90% of the hardware working than bootlooping).
Re: Power-cycling a USB port should be simple, right? (2017)
#15Earlier quoted context omitted.
we use these in our CI/CD pipelines as we deal with embedded hardware. they work absolutely awesome for power cycling stuck USB peripherals or powering USB-powered boards for tests.
I’me working on an embedded project and would like to setup a CI/CD pipeline. Do you have any recommended resources?
A recording can be found here: https://www.youtube.com/watch?v=nFytbVFMLfA
Re: Power-cycling a USB port should be simple, right? (2017)
#16Earlier quoted context omitted.
I’me working on an embedded project and would like to setup a CI/CD pipeline. Do you have any recommended resources?
There was a presentation about CI/CD for embedded systems at HITB+CyberWeek a couple of days ago: https://cyberweek.ae/2020/ci-cd-with-sast-and-dast-for-embed... A recording can be found here: https://www.youtube.com/watch?v=nFytbVFMLfA