pico-bootrom
pico-bootrom copied to clipboard
consider lowering bootloader current requirement to 100mA
I was working with a colleague on a guide to using an ipad text editor with CircuitPython. We ran into trouble when an RP2040 board was plugged in that was never flashed, the ipad's operating system would say that it couldn't successfully power the device. For more info: https://blog.adafruit.com/2022/05/11/new-guide-edit-circuitpython-code-on-ios-with-runestone-adafruitlearningsystem-adafruit-circuitpython-simonbs-makermelissa/
I assume (did not measure) that the device would not exceed 100mA in bootloader mode. If so, the current limit should be lowered. 100mA request may improve compatibility with un-powered hubs or with OTG devices like an ipad.
Note that we haven't been able to successfully uf2-flash a device from an ipad, but not getting the scary power warning would be nice.
I don't have an iPad myself, but I wonder if you could plug the Pico into a powered hub, and then plug that into the iPad?
+1 Currently we are designing an hardware with an USB hub + rp2040 and other hardware. If we use the hub in bus powered mode and starting RPIBOOT, the device goes offline in Windows because of too much power draw. Because of this "bug" we have to use the hub in self powered mode (also when it's not)!