Hi every one.
is your esp32C3 XIAO working for a substantial amont of time ?
the error :
esptool.py v4.5.1
Serial port COM8
Connecting...
A serial exception error occurred: Write timeout
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
*** [upload] Error 1
Description
I have tried 3 boards so far. esp32C3 Xiao boards. And faced the same problem everytime.
the boards works fine for a while, and after xx time suddenly, it’s not possible to upload new code (see error below write time error), the board is stuck (no code running anymore) and it’s not possible to reset nor put the board in bootloader mode to use espRFtool to reflash firmware…
On some board the problem occured after more than 30 working hours, and on others after not even an hour.
when USB cable is connected I can hear the typical sound from windows driver recognized, and I can see the COM port defined in Device manager.
What I have tried so far
according to documentation seedStudio_documentation :
- I tried to reset the board with reset button (while plugged in) (I use tweezers to push buttons)
- I tried holding Boot button then reset the board with the reset button
- I tried holding Boot button and then plugging USB cable (bootloading mode)
- I tried different USB cables (no USB hubs)
- I tried upload code with both PlatformIO and Arduino IDE (even try a simple led blinker)
- I tried to reflash the bootloader with factory firmware without success ( I followed the procedure from here
EspRFTestTool Reflash firmware ERROR write timeout
DEBUG:open com8 sucess
DEBUG:select test bin
DEBUG:Flash
DEBUG:['C:/Users/myuser/Downloads/ESP32-C3_RFTest_108_2b9b157_20211014.bin']
DEBUG:Com is closed ser0
DEBUG:close com sucessfully
ERROR:Write timeout
WARNING:Sync fail...
( I tried with both 115200 and 9600 baudrate)
so for now nothing worked for me.
The really anoying thing is not that one board is stucked, but more that I have tried 3 of them. and all got stucked at some point.
I used an Oscilloscope to see the Power Voltage, when plugging the battery (trough a DC-DC converter) to look after any transient voltage that may be too big for the 3.3V board, but it seems that no peak voltage appeared.
So I have unanswered questions that I ask to myself, and to kind smart people like you.
Is there a way to save these boards ?
What is the cause of that problem ? how could I prevent it to occur in the futur