Can't get to flash the firmware... (NodeMCU dev kit 1.0)
Posted: Tue Mar 15, 2016 5:41 pm
Hello all,
Sorry for this "yet another firmware install problem" :/
This is with the NodeMCU dev kit version 1.0.
Here are the symptoms after flashing:
- in a serial terminal ('minicom -D /dev/ttyUSB0 -b 115200 -c on'), after a reset, I only get gibberish characters and no prompt. The gibberish is different when I user 9600 baud, but still nothing usable).
- in Esplorer, I get ".........Got answer! AutoDetect firmware...
Can't autodetect firmware, because proper answer not received."
( with buttons DTR and RTS activated, and tested with 9600 or 115200 baud).
Here is my setup and process to flash the :
- OS: linux,
- NodeMCU dev kit version 1.0,
- flashing tool: (https://github.com/themadinventor/esptool) with pyserial installed,
- followed the doc at https://nodemcu.readthedocs.org/en/dev/en/flash/,
- created a build with http://nodemcu-build.com/,
- I keep pressing the flash button while I press the reset button, then I leave the flash button when the blue led is blinking (once).
- Then I run esptool. I tried these two (I don't know how many times...), with no luck:
During the operation, the blue led is blinking fast, and the console says it's writing, up to 100% with no error:
I even tried to keep the flash button pressed during the execution of esptool, or put the GPIO0 to GND.
Can you please tell me what I do wrong ?
Thanks
Sorry for this "yet another firmware install problem" :/
This is with the NodeMCU dev kit version 1.0.
Here are the symptoms after flashing:
- in a serial terminal ('minicom -D /dev/ttyUSB0 -b 115200 -c on'), after a reset, I only get gibberish characters and no prompt. The gibberish is different when I user 9600 baud, but still nothing usable).
- in Esplorer, I get ".........Got answer! AutoDetect firmware...
Can't autodetect firmware, because proper answer not received."
( with buttons DTR and RTS activated, and tested with 9600 or 115200 baud).
Here is my setup and process to flash the :
- OS: linux,
- NodeMCU dev kit version 1.0,
- flashing tool: (https://github.com/themadinventor/esptool) with pyserial installed,
- followed the doc at https://nodemcu.readthedocs.org/en/dev/en/flash/,
- created a build with http://nodemcu-build.com/,
- I keep pressing the flash button while I press the reset button, then I leave the flash button when the blue led is blinking (once).
- Then I run esptool. I tried these two (I don't know how many times...), with no luck:
Code: Select all
./esptool/esptool.py --port /dev/ttyUSB0 write_flash 0x00000 nodemcu-master-10-modules-2016-03-15-21-26-49-float.bin
Code: Select all
esptool.py --port /dev/ttyUSB0 write_flash 0x00000 blank.bin
# and then
./esptool/esptool.py --port /dev/ttyUSB0 write_flash 0x00000 nodemcu-master-10-modules-2016-03-15-21-26-49-float.bin 0x3fc000 esp_init_data_default.bin
During the operation, the blue led is blinking fast, and the console says it's writing, up to 100% with no error:
Code: Select all
./esptool/esptool.py --port /dev/ttyUSB0 write_flash 0x00000 nodemcu-master-10-modules-2016-03-15-21-26-49-float.bin
Connecting...
Erasing flash...
Took 1.75s to erase flash block
Wrote 467968 bytes at 0x00000000 in 45.0 seconds (83.1 kbit/s)...
Leaving...
I even tried to keep the flash button pressed during the execution of esptool, or put the GPIO0 to GND.
Can you please tell me what I do wrong ?
Thanks