Hi all,
i've just rec'd the M5Stamp C3U and i'm running into problems with programming it in the Arduino IDE.
I downloaded both of the suggested USB drivers, the CH9102 and the CP2104 and installed them. I've added a link for the ESP32C3 and M5Stack in the boards manager in preferences and installed ESP32-Arduino and M5Stack-Arduino and can see the lists of boards under those headings in the 'boards' submenu in the Arduino IDE. I've tried uploading using the STAMP-C3 and ESP32C3 Dev Module boards.
Sometimes the C3U is recognised by my PC and sometimes it isn't. When it is recognised, the led on the C3U is off, and when it isn't recognised, the led is on.
If it is recognised by my PC i try loading a sketch onto it i get this error message...
Traceback (most recent call last):
File "esptool.py", line 5387, in <module>
File "esptool.py", line 5380, in _main
esptool.py v3.3
File "esptool.py", line 4687, in main
Serial port COM11
File "esptool.py", line 114, in get_default_connected_device
File "esptool.py", line 332, in init
File "serial\serialutil.py", line 392, in write_timeout
File "serial\serialwin32.py", line 222, in _reconfigure_port
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)
[8556] Failed to execute script 'esptool' due to unhandled exception!
the selected serial port [8556] Failed to execute script 'esptool' due to unhandled exception!
does not exist or your board is not connected
...and the led on the C3U turns on. and it is no longer recognised by my PC.
There is so little info on this product that i don't know if i'm meant to do something with the 'reset' button or if it needs a bootloader flashed onto it first, or maybe something else i have missed.
I usually run into problems when i'm writing my code, not before i've even uploaded my first sketch :(
Can anyone offer a solution to this problem?
Thanks
NM