Current Lua downloadable firmware will be posted here

User avatar
By zeroday
#2822
xinort wrote: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?


only happens to this api? no changes made for this api.
may be missing some character?
User avatar
By zeroday
#2824
picstart1 wrote: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.


baudrate 9600 8N1.

flash this bin just like AT firmware.
first, put chip in firmware update mode( in my module, pull GPIO0 down, and power the chip)
second, use flash tool to flash bin to 0x00000, flash tool choose baudrate 115200.
third, restart module, communicate with lua in serial 9600-8N1.
I will add more doc on this part, sorry for mis-leading.
User avatar
By Hans174
#2832 Hello,

I just flashed the latest version (18. Nov.).
But like the version before this line

Code: Select all
for i=1,1000,1 do print(i) end



leads to a hardware reset after 400 to 600 counts.

Is there a hint why this happens? Could it be the watchdog of the ESP8266?

Hans