Chat freely about anything...

User avatar
By Code Cardinal
#15630 Hi,

I need some help over hebecause I am truely clueless.


The Wiring
This is the wiring that should put it into flashmode. Only the Red LED is on.
If I disconnect GPIO0 and reboot a blue led turns on.
Image

The modules
http://www.banggood.com/ESP8266-ESP-201-Remote-Serial-Port-WIFI-Transceiver-Wireless-Module-p-964288.html
http://www.banggood.com/ESP8266-ESP-201-Remote-Serial-Port-WIFI-Transceiver-Wireless-Module-p-964288.html

The Story
First time I tried to use the NodeMCU Flasher. I didn't know the baudrate, and just tried to install the bin that is packaged internally into the application. The first time it failed and I reconnected the device and second time is succesfully wrote the firmware to the chip 100%.

When I tried to flash the firmware for a third time, things started to get ugly. If I remember correctly first the baudrate was 74880, trying to reflash at this baudrate made the NodeMCU flasher error out again. I tried the baudrate 115200 and it showed some progress, around 1/10 of the bar it gave me the following error:
Code: Select allNote:Auto MAP serial port.Port-->COM3
Note:Serial port connected.
Note:Begin find ESP8266.
Note:ESP8266 ACK success.
Note:ESP8266 ACK success.
Note:Set base address success.
Note:Program flash success.
...
Note:Program flash success.
Error:Write flash timeout.


I also tried ESPLorer on the same baudrate. ESPLorer isn't able to connect to the ESP in flashmode but it is in normal mode with GPIO0 disconnected.
Code: Select allPORT OPEN 115200

Communication with MCU...
Got answer! AutoDetect firmware...

Can't autodetect firmware, because proper answer not received.
€ € b€$œ€rœÇl à‡À € € € b€$œàrœÜœ‚œÄ’ à‡À € € € b€œŸ’ à‡À € € €l`Ä�‚Ÿ‚n€$œàrœŸØnnŸ„ bŒ..
And the gibberish keeps on going.

I also tried the official Espressif flasher program and it also errors.
Code: Select allconnecting ....
Erasing flash...

Writing at 0x00000000... (0 %)
...
Writing at 0x00009c00... (7 %)
Invalid head of packet


Help?
User avatar
By pzw
#15650 Try to use a way more powerful power supply. Count on a power requirement of about 300mA min. (A good 500mA power supply should do the trick)
Also, connect GPIO2 to 3.3V, using a resistor. (I use normally 3k3)
User avatar
By Code Cardinal
#15666 Hi,
Adding a powersupply doesn't change much.
I have connected GPIO0,GPIO15 and CH_PD to the powersupply. Whenever I add the VCC and GND to the powersupply (so only TX and RX remain connected to the FTDI232) the programs fail to connect to the module.

I will try to add a resistor to GPIO2.

I als found out that at baudrate 74880 it connects fine and spits out fatal errors. I will post an example of that soon.