Trouble flashing a new firmware
Posted: Wed Jan 14, 2015 5:13 am
I have just recently received two ESP8266 modules, which I started playing immediately.
The module is powered by a 3.3V (1A) power supply. VCC, CH_PD, GPIO2 are all connected to 3.3V. GND is connected to GND and both GPIO and RST are connected using a switch to either 3.3V or GND.
When I connect using a terminal and press reset, I see some jibberish and then the version, ai-thinker.com and 'ready'. After that, I am able to send AT-commands and receive responsed as expected: listing APs, joining mine, received an IP-address, etc.
But now I would like to flash the NodeMCU-firmware. Unfortunately, this doesn't seem to work as it should. I started to try with NodeMCI-Flasher (https://github.com/nodemcu/nodemcu-flasher):
1. configure the tool the same way as I did with my terminal (COM9, 115200)
2. specify the bin-file to use
3. hold the button connected to GPIO0 (to connect it to GND)
4. press the reset-button (which briefly connects RST to GND and back to 3.3V)
5. let go of the GPIO0-button (which connects it back to 3.3V)
6. Press 'start'
The log shows it opened the port, but then it only shows it's looking for the ESP8266. Nothing ever happens after that.
I also tried the ESP8266 flasher (https://drive.google.com/open?id=0B3dUK ... authuser=0) it also opens the COM-port, but then it gives me an error.
When I connected my terminal and executed step 1 to 5, I get a lot of jibberish on screen. Is this supposed to happen?
I also noticed that when I connect GPIO2 to GND, I also get a lot of jibberish.
After some resetting and receiving garbage, I have to disconnect the module from the USB->Serial-cable and power it down to be able to communicate with it again.
I hope anyone here can tell me what's going wrong.
The module is powered by a 3.3V (1A) power supply. VCC, CH_PD, GPIO2 are all connected to 3.3V. GND is connected to GND and both GPIO and RST are connected using a switch to either 3.3V or GND.
When I connect using a terminal and press reset, I see some jibberish and then the version, ai-thinker.com and 'ready'. After that, I am able to send AT-commands and receive responsed as expected: listing APs, joining mine, received an IP-address, etc.
But now I would like to flash the NodeMCU-firmware. Unfortunately, this doesn't seem to work as it should. I started to try with NodeMCI-Flasher (https://github.com/nodemcu/nodemcu-flasher):
1. configure the tool the same way as I did with my terminal (COM9, 115200)
2. specify the bin-file to use
3. hold the button connected to GPIO0 (to connect it to GND)
4. press the reset-button (which briefly connects RST to GND and back to 3.3V)
5. let go of the GPIO0-button (which connects it back to 3.3V)
6. Press 'start'
The log shows it opened the port, but then it only shows it's looking for the ESP8266. Nothing ever happens after that.
I also tried the ESP8266 flasher (https://drive.google.com/open?id=0B3dUK ... authuser=0) it also opens the COM-port, but then it gives me an error.
When I connected my terminal and executed step 1 to 5, I get a lot of jibberish on screen. Is this supposed to happen?
I also noticed that when I connect GPIO2 to GND, I also get a lot of jibberish.
After some resetting and receiving garbage, I have to disconnect the module from the USB->Serial-cable and power it down to be able to communicate with it again.
I hope anyone here can tell me what's going wrong.