Hey,
the Huzzah ESP8266 comes with NodeMCU version 0.9.5 which is somewhat outdated (they are at 1.4/1.5 now).
When flashing newer versions they write that I have to also burn some other files
Also, in some special circumstances, you may need to flash blank.bin or esp_init_data_default.bin to various addresses on the flash (depending on flash size and type).
So looks like this is an ESP12 board (which I figured out via the FCC report and then later found etched on that metal shield on the board :-).
Reading
@adafruit: it would be cool if you could explicitly mention either the above or at least ESP-12 module with 4MB flash on https://www.adafruit.com/products/2471 . Perhaps also link to the above mentioned "Upgrading from 0.9.5" document.
I'm trying to upgrade and am getting it to flash just fine, but on boot it is spraying noise to the serial port so I'm thinking i dont have all of the appropriate modules selected. Can anyone tell me which modules are recommended for a basic install? Thank you
Thanks Mike. I don't think that's the problem though -- I have tried on that and every other common baud rate.
After flashing with 1.5 and restarting, the blue LED on the esp module flashes wildly and luatool is unable to upload anything. I can re-flash, however. Going back to 0.9 makes it all work fine again.
I used the cloud builder for mcu, but there are a lot of options for modules to include. My best guess at this point is that there are modules I ought to be selecting that I'm not aware of. Do you know which modules were included in the 0.9 release that works?
I posted in this thread because OP seemed to have a similar issue, is also using the nodemcu cloud builder, and had 15 packages selected. OP seems to have gotten it to work while no combination of "modules" ive selected have made it work.
By default, the builder has 7 selected. OP has 15, and theres no documentation that notes which modules were included in the 0.9.6 build, which works.
I have selected a variety of software modules, built the firmware, erased, and uploaded (and ive tried every combination with and without the separate flash step for the init script) and what i end up with is a fast blink on the esp module's blue led and luatool fails to connect and upload a script or communicate with the module. If i erase and re-flash with 0.9.6, it all works again.
Update: I cloned fresh versions of esptool.py and luatool and tried flashing using the same process and images. This time, the erase_flash step took significantly longer (it returned almost instantly before) and the output from my flash command:
I tried a few baud rates on screen, and finally got the following:
$ screen /dev/tty.SLAB_USBtoUART 115200
Formatting file system. Please wait...
NodeMCU custom build by frightanic.com
branch: master
commit: 8e48483c825dea9c12b37a4db3d034fccbcba0bf
SSL: false
modules: file,gpio,net,node,rtctime,tmr,uart,wifi
build built on: 2016-09-23 19:05
powered by Lua 5.1.4 on SDK 1.5.4.1(39cb9a32)
lua: cannot open init.lua
>
After entering node.restart() the device appears to have restarted and I can upload files.
The problem seems to be that my esptool was old, it didn't upload everything properly, and/or that I didn't know that it was sitting and waiting to format the file system.
I am trying to reflash an ESP12 module and have managed to update the firmware using the NodeMCU tool. I had to build a custom firmware using the cloud service above but again I cannot get it to work. Once I reset the module it just rapidly flashes the blue led and does not respond. I have tried all the baud rates and just get blocks on 230400 and gibberish on everything else.
I think what I really need is the "stock" ESP12 image. Can you point me to such a thing please? The link above is for an earlier module...
Thanks Mike. Yes, that is the tool that I am using also. What I am asking is which file you upload using that tool please? I tried some custom builds but there must be a default file that you are flashing. Do you have a copy of that please?