-->
Page 1 of 2

How to load lua firmware

PostPosted: Sun Dec 07, 2014 9:26 pm
by SoC
i have a couple of units thatbi played around. reloading firmware to it using xtcom util on win7. everything works fine.

now i tried to load lua fw from this link:
https://github.com/nodemcu/nodemcu-firm ... 512k-flash

but after loading complete, i cant get any reponse from the 2 units i tried. tried to change baudrate of my serial terminal and i dont see msg on start up. i reload back AT firmware on one module, and the unit worked again with AT firmware.

is there any special requirement other than the normal reflashing procedure for the lua firmware?

im using xtcom util to reflash.
loaded lua fw at 0x00000.

Re: How to load lua firmware

PostPosted: Mon Dec 08, 2014 7:22 am
by fadleen
i have a couple of units thatbi played around. reloading firmware to it using xtcom util on win7. everything works fine.

now i tried to load lua fw from this link:
https://github.com/nodemcu/nodemcu-firm ... 512k-flash

but after loading complete, i cant get any reponse from the 2 units i tried. tried to change baudrate of my serial terminal and i dont see msg on start up. i reload back AT firmware on one module, and the unit worked again with AT firmware.

is there any special requirement other than the normal reflashing procedure for the lua firmware?

im using xtcom util to reflash.
loaded lua fw at 0x00000.


Hi,

Once you loaded the nodemcu firmware, you are now working in LUA. no longer in AT commands as before. thus you need to send in commands line-by-line into Teraterm or the serial terminal of your choice. Alternatively,you can check out the forum as there are lots of users who have created loaders/programs that enable you to run LUA script without entering the LUA commands line by line.

Fad

Re: How to load lua firmware

PostPosted: Mon Dec 08, 2014 11:35 am
by Redshiftman
I have had the same problem when I run the board from a usb connector. I found that running it from an external 3.3v supply it was much more reliable.
Dave

Re: How to load lua firmware

PostPosted: Mon Dec 08, 2014 7:23 pm
by picstart1
Well,
The nodemcu.bin needs to be downloaded from github using the raw file format.....probably any other format messes up flashing the esp8266.