Can't get to REPL on M5STAMP-C3U (ESP32C3) #15850
-
Hello, I'm trying to access a REPL using $ mpremote connect /dev/cu.usbmodem2101
Connected to MicroPython at /dev/cu.usbmodem2101
Use Ctrl-] or Ctrl-x to exit this shell ...but then the shell hangs and there is no further output. I'm on an M3 Mac (ARM) on macOS 14.6.1. I've compiled the ESP32 port of micropython v1.23 (with board set to ESP32_GENERIC_C3), which succeeded, and I was able to erase the flash and flash it:
Actually, I think what I need to do is enable the USB CDC at boot option, as mentioned in the IDF docs. But I don't know how to do this. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 15 replies
-
Just checking as I have only used mpremote a few times ... are you doing a Ctrl-x and then entering the |
Beta Was this translation helpful? Give feedback.
-
The second comment contradicts the first but it is interesting because I once had a device that had this behavior and ctrl c was the way I managed to get the >>> prompt |
Beta Was this translation helpful? Give feedback.
-
This seems related to 0a11832. I tried using the most recent |
Beta Was this translation helpful? Give feedback.
I downloaded the v1.24.0-preview.286.g042693496 image and that worked too! Now I'm kind of confused. But in any case, the problem is solved...maybe I just need to use prebuilt firmware images instead of building from source from now on.