Error with ESP32-C3 (failed to target RAM)
# help
b
Hi - I'm running into this issue with my c3. Any ideas?
Copy code
sh
āžœ  jaguar jag flash --chip esp32c3
Flashing device over serial on port '/dev/cu.usbmodem552E0028621' ...
esptool.py v3.3.2-dev
Serial port /dev/cu.usbmodem552E0028621
Connecting....
Chip is ESP32-C3 (revision 3)
Features: Wi-Fi
Crystal is 40MHz
MAC: 10:91:a8:36:3f:08
Uploading stub...

A fatal error occurred: Failed to write to target RAM (result was 01070000: Operation timed out)
Error: exit status 1
Hmm... seems to work on another board. Could totally be something defective on my other board
This seems to happen relatively consistently but I managed to flash one of my boards
Ok I'm trying on a Linux machine and it works for every device.
f
This is happening during flashing. Right?
b
Yep
f
We are using the standard esptool under the hood.
b
Super interesting... I'll see if there's some issue with esptool, my system, and these boards
f
We just bundle it up with the pyinstaller
b
Anyways it works fine on my Linux machine so I'll just use that for flashing šŸ˜„
f
Sounds good. We will continue listening to feedback. Maybe we are using a version that is older, or the windows executable isn't working right. If more users run into it we will investigate a bit further. Unfortunately none of us use Windows, so we aren't always seeing Windows issues early.
b
Ah - I saw it on MacOS. But yeah I will also do some digging and keep you posted if I find anything. But I'm not blocked or anything at all, so it's no big deal for me
f
Could you check which usb-serial converter chip the failing board uses?
According to https://github.com/espressif/esptool/issues/280 it could be a driver issue.
Especially for CHxxx chips.
I think this is the official way of installing the ch driver: https://github.com/WCHSoftGroup/ch34xser_macos
6 Views