Some boards running MicroPython show up as a flash drive on a Windows computer. My DOIT ESP32DevKIT with MicroPython loaded according to Rui’s excellent instructions does not. uPyCraft works well but I would like my DOIT ESP32DevKIT to show up as a flash drive so that I can load .py files without using uPyCraft. Is it possible to do this? Thanks
Hello James, which board allows you to do that with MicroPython? I’ve read about it, but I’ve never tried that method!
The Adafruit Metro M0 Express, the Adafruit Feather M0 Express, the Adafruit CircuitPlayground Express, and the Pyboard all appear as a flash drive. The Adafruit devices are designed for their own CircuitPython language but that is virtually identical with MicroPython. CircuitPython scripts have a .py extension. The Pyboard runs regular MicroPython. I hope this helps.
Here is some more information I found at http://bbs.esp32.com/viewtopic.php?t=6534 This page appears to be sponsored by ESPRESSIF.
“Bonus, The module (ESP32) will appear as a USB drive when operating in Bootloader mode, so programming the ESP32 is just a simple mater of dragging a new application file onto the “Virtual USB FAT Drive” and it automatically programs. No need to use python programming tools, no need for drivers, works with Windows, MAC and Linux transparently. Although if you want to use the standard programming tools, they will of course continue to work.”
I don’t know how to get it to operate in Bootloader mode but hopefully, Rui, you do.
To be honest I couldn’t find any relevant information how to do it with an ESP32 DO IT board… I think that forum topic refers to someone that is implementing that solution for his own board. Did you find the bootloader download link? If I had that file or page, I could probably figure it out on how to upload it…
Sorry it took me so long to get back to you. As far as I can determine, I think the only place where you might be able to find the bootloader download link would be on https://www.espressif.com/products/hardware/esp32/resources
However, when we start talking about things like bootloaders, the conversation has gotten beyond my meager abilities. My computer science knowledge is very, very limited.
Good luck and thanks.
But that’s not for MicroPython. Those resources are meant to program the ESP with the official SDK and the ESP-IDF, so I don’t think there’s an easy way of turning the ESP32 with MicroPython in a flash drive..
I’ll keep looking for a solution for that. Thanks for the suggestion!