martin-ger / esp_mqtt

MQTT Broker/Bridge on the ESP8266
MIT License
293 stars 68 forks source link

What is the correct LED behavior? #29

Closed bilogic closed 6 years ago

bilogic commented 6 years ago

Hi,

I was trying to upload the firmware to a NodeMCU but have no success seeing the SSID MyAP:

What is the correct LED behavior to indicate a proper upload? Thank you.

martin-ger commented 6 years ago

The LED should be off. You probably ran in into this problem:

Sometimes there is a wrong or non-matching version of "esp_init_data_default.bin" in the flash. If the firmware files from above flash correctly but after reboot you see only garbage on the serial and/or the LED on GPIO2 is flashing rapidly, try to re-initialize this sector: download https://github.com/espressif/ESP8266_NONOS_SDK/blob/master/bin/esp_init_data_default_v08.bin and flash it to 0x7c000 for 512 kB modules (some ESP-01, Sonoff Switch), 0xfc000 for 1 MB modules (most ESP-01), or 0x3fc000 for 4 MB modules (most ESP-12, Wemos D1).

bilogic commented 6 years ago

THANK YOU! It works and I see MyAP now! I should have written in hours earlier :) Just curious, how do I read the serial? (You mentioned garbage on the serial)

Once again, thank you!

martin-ger commented 6 years ago

Just connect with 115200 bps to the UART (NodeMCU USB connection) and use a terminal program (e.g. the Arduino Serial Monitor).

bilogic commented 6 years ago

Alright, thank you for the help!