wemos d1 mini - bricked(?) after esptool flash
Posted: Sun Jun 25, 2017 3:47 pm
I've been using this wemos board with arduino IDE without any problems. After I've tried to flash the deauth.bin firmware with esptool, I can no longer get it to flash anything.
I am on linux so I am limited to esptool.
Some things work:
but I can't get it to erase flash:
or flash a new firmware through Arduino IDE:
Any ideas? It stopped working immediately after flashing with the esptool.
I am on linux so I am limited to esptool.
Some things work:
Code: Select all
./esptool.py --port /dev/ttyUSB1 chip_id
esptool.py v2.0.1-dev
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266
Uploading stub...
Running stub...
Stub running...
Chip ID: 0x0008e6e8
Hard resetting...
but I can't get it to erase flash:
Code: Select all
./esptool.py --port /dev/ttyUSB1 erase_flash
esptool.py v2.0.1-dev
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
A fatal error occurred: Timed out waiting for packet content
or flash a new firmware through Arduino IDE:
Code: Select all
warning: espcomm_send_command: didn't receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed
closing bootloader
error: espcomm_upload_mem failed
Any ideas? It stopped working immediately after flashing with the esptool.