Current Lua downloadable firmware will be posted here

User avatar
By picstart1
#2807 Issue esp8266 is unresponsive after flashing any NodeMcu bin
If print(wifi.sta.getip()) is sent using coolterm in line mode there is no response
From the wiki
Flash the firmware
nodemcu_512k.bin: 0x00000
for most esp8266 modules, just pull GPIO0 down and restart.
Connect the hardware in serial
braudrate:9600
Start play
Connect to your ap
print(wifi.sta.getip())
--0.0.0.0
wifi.setmode(wifi.STATION)
wifi.sta.config("SSID","password")
print(wifi.sta.getip())
--192.168.18.110

I flashed this latest bin using esp8266_flasher.exe to 0x00000 it seemed to flash OK.
The esp8266 won't respond hopefully baudrate 9600 actually means 9600 8-N-1 which is what I use but I doubt this is the issue.
I suspect there are undisclosed prerequisites "for most esp8266 modules, just pull GPIO0 down and restart" I assume this refers to flashing even though it doesn't say so.
A definitive way to say this could be "for flashing most esp8266 modules, just pull GPIO0 down during flashing, release GPIO and restart to use new bin"
Anyway none of the lua bins have worked so there must be something else needed.
BTW other bins for EX.win07c bins are working fine after flashing in the exact same way as NodeMcu is flashed.

update Nov 20 2014
the flashing issue was caused by downloading the firmware using the right click link in windows ( the file downloaded this way will flash but it is corrupted)
the issue is resolved by clicking on the firmware.bin file in Github and downloading using RAW
Last edited by picstart1 on Thu Nov 20, 2014 4:56 am, edited 1 time in total.
User avatar
By xinort
#2817 Thanks for the update Zeroday! It's working great. This is the most stable I've had an ESP8266 so far.

One thing I've noticed is after entering the command gpio.mode(pin,mode) I get the >> response and it seems to want me to enter something else. Am I missing something or did this change with this recent update?
User avatar
By cendev
#2819 Have a problem.. :/

Triple checked after the new bin and looks like the tcp connect is not working as it supposed or as it were

can't connect to server. :/ even with the minimum code.

reflashed the old bin and all ok, and reflashed the new bin and no connection :/

zeroday mayday mayday zeroday x) better to keep the old versions of bins on the hub :)
User avatar
By zeroday
#2821
cendev wrote:Have a problem.. :/

Triple checked after the new bin and looks like the tcp connect is not working as it supposed or as it were

can't connect to server. :/ even with the minimum code.

reflashed the old bin and all ok, and reflashed the new bin and no connection :/

zeroday mayday mayday zeroday x) better to keep the old versions of bins on the hub :)


Opps! This is awkward. :oops:
It's because I'm commenting out two many code...
fixed now. sorry!