Trying to get Micropython on the M5Stamp-S3 (ESP32-S3) #13545
-
I recently got an M5Stack Cardputer, which uses the "M5Stamp-S3" board to control it. That board is based on the ESP32-S3. It's a pretty neat little device that I find really cute. I'd love to develop some stuff on the thing, but I already have a lot of experience with Micropython on the Pi Pico, and I would definitely prefer to continue to use Micropython than have to learn to use something new for this. I've tried flashing the generic ESP32-S3 firmware, as well as some other firmwares made for other ESP32-S3 boards, but no luck. When I try, I can't get access to it in Thonny, and the board just stops responding over USB until I put it into bootloader mode and reflash it. I see that there are already some official ESP32-S3 ports available, and I also see that some other M5Stack products have official ports. I've tried reading the installation instructions for those other ports, and did some searching about the differences between the devices, and how new boards get supported in Micropython, but I'm not really grasping why this thing isn't just working with the generic ESP32-S3 Micropython port. I've also tried using some different settings/utilities for flashing, and being sure to erase the flash between attempts, but no luck. Anyways, I'm curious if anyone else has tried messing with this, has some insight to offer as to how I could figure out what the problem is, or happens to know what the issue here is already :) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Can you post the output of running esptool.py to flash the firmware? |
Beta Was this translation helpful? Give feedback.
-
Have you tried a hardware reset by briefly connecting the EN pin to ground after flashing the firmware? |
Beta Was this translation helpful? Give feedback.
-
I've actually made step-by-step instructions for this. You can find it here in the MicroHydra readme. It includes steps for installing MicroPython with Thonny (and then for installing MicroHydra but you can ignore that part). |
Beta Was this translation helpful? Give feedback.
Darn, I spent like the entire day yesterday on this, and just realized I was being silly 😂
I just flashed the generic firmware of the recent build, and it actually seems to be working.
It changes the USB interface and also isn't detected automatically anymore after being flashed, so I couldn't find it and thought it was just broken. Turns out I just had to find the correct port to connect to it, and it's working now!