How to flash when m...
 
Notifications
Clear all

How to flash when module is unresponsive?

1 Posts
1 Users
0 Reactions
432 Views
Posts: 25
Topic starter
(@damnrock)
Eminent Member
Joined: 5 years ago
[#58409]

I've had several sticks this year not respond when flashing. They'll be running just fine in the yard, then I pull the unit and connect to my PC and they'll never become available to flash. I can use the same computer to flash new ones (I had two backups until recently) and I flash my DigQuads with it also. Don't think it's a driver issue. Also installed ch340/JRE on another machine just to test and does the same thing there.

They do trigger the port to activate when I connect them. I see the CH340 port in Device Manger and in drop-downs in the flashing tool. Here's is what is in the log:

-= Building Filesystem Image =-
Command: bin/win32/mklittlefs -c fs/ -p 256 -b 8192 -s 2072576 firmware/filesystem.bin
/config.json
/UpdRecipe.json
/www/alexa.html.gz
/www/apa102.html.gz
/www/artnet.html.gz
/www/ddp.html.gz
/www/dmx.html.gz
/www/e1_31.html.gz
/www/effects.html.gz
/www/esps.css.gz
/www/esps.js.gz
/www/favicon.ico
/www/fpp_remote.html.gz
/www/gece.html.gz
/www/grinch.html.gz
/www/gs8208.html.gz
/www/index.html.gz
/www/mqtt.html.gz
/www/relay.html.gz
/www/renard.html.gz
/www/serial.html.gz
/www/servo_pca9685.html.gz
/www/tls3001.html.gz
/www/tm1814.html.gz
/www/ucs1903.html.gz
/www/ucs8903.html.gz
/www/ws2801.html.gz
/www/ws2811.html.gz
Command: bin/win32/mklittlefs -c fs/ -p 256 -b 8192 -s 2072576 firmware/filesystem.bin - Done
-= Building Filesystem Image - Done =-

-= Erasing ESP Flash =-
Command: bin/win32/python3/python bin/upload.py --chip esp8266 --baud 460800 --port COM6 erase_flash
esptool.py v2.8
Serial port COM6
Traceback (most recent call last):
File "X:\Christmas\ESPixelStick\Release Archive\ESPixelStick_Firmware-4.0-ci12059322379\bin\upload.py", line 19, in
esptool.main(sys.argv)
File "//rockbox/Private/Christmas/ESPixelStick/Release Archive/ESPixelStick_Firmware-4.0-ci12059322379/bin/esptool\esptool.py", line 2889, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "//rockbox/Private/Christmas/ESPixelStick/Release Archive/ESPixelStick_Firmware-4.0-ci12059322379/bin/esptool\esptool.py", line 249, in __init__
self._port.write_timeout = DEFAULT_SERIAL_WRITE_TIMEOUT
File "//rockbox/Private/Christmas/ESPixelStick/Release Archive/ESPixelStick_Firmware-4.0-ci12059322379/bin/esptool\serial\serialutil.py", line 388, in write_timeout
self._reconfigure_port()
File "//rockbox/Private/Christmas/ESPixelStick/Release Archive/ESPixelStick_Firmware-4.0-ci12059322379/bin/esptool\serial\serialwin32.py", line 220, in _reconfigure_port
raise SerialException(
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)
Command: bin/win32/python3/python bin/upload.py --chip esp8266 --baud 460800 --port COM6 erase_flash - Done

-= Erasing ESP Flash - Done =-

-= Uploading Firmware =-
Command: bin/win32/python3/python bin/upload.py --chip esp8266 --baud 460800 --port COM6 --before default_reset --after hard_reset write_flash 0x0 firmware/esp8266/espsv3-app.bin 0x200000 firmware/filesystem.bin
esptool.py v2.8
Serial port COM6
Traceback (most recent call last):
File "X:\Christmas\ESPixelStick\Release Archive\ESPixelStick_Firmware-4.0-ci12059322379\bin\upload.py", line 19, in
esptool.main(sys.argv)
File "//rockbox/Private/Christmas/ESPixelStick/Release Archive/ESPixelStick_Firmware-4.0-ci12059322379/bin/esptool\esptool.py", line 2889, in main
esp = chip_class(each_port, initial_baud, args.trace)
File "//rockbox/Private/Christmas/ESPixelStick/Release Archive/ESPixelStick_Firmware-4.0-ci12059322379/bin/esptool\esptool.py", line 249, in __init__
self._port.write_timeout = DEFAULT_SERIAL_WRITE_TIMEOUT
File "//rockbox/Private/Christmas/ESPixelStick/Release Archive/ESPixelStick_Firmware-4.0-ci12059322379/bin/esptool\serial\serialutil.py", line 388, in write_timeout
self._reconfigure_port()
File "//rockbox/Private/Christmas/ESPixelStick/Release Archive/ESPixelStick_Firmware-4.0-ci12059322379/bin/esptool\serial\serialwin32.py", line 220, in _reconfigure_port
raise SerialException(
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)
Command: bin/win32/python3/python bin/upload.py --chip esp8266 --baud 460800 --port COM6 --before default_reset --after hard_reset write_flash 0x0 firmware/esp8266/espsv3-app.bin 0x200000 firmware/filesystem.bin - Done

-= Uploading Firmware - Done =-

ESP Action FAILED


Share: