-->
Page 2 of 16

Re: No WiFi after Flash Basic 3.0.Alpha 65

PostPosted: Wed Dec 21, 2016 9:38 am
by dilettante
dilettante wrote:In case it helps, I found this in the Event Log for esptool.exe:

Exception 0xc0000005 (EXCEPTION_ACCESS_VIOLATION)


On a hunch I tried running ESP_Basic_Flasher elevated. This prevented the crash above on clicking Format Flash but it didn't seem to do much. Reflashing the firmware and still no go.

I tried manually running:

esptool.exe -bz 4M -v -cp COM3 -cd nodemcu -ce

It starts to work and then shows two failures to connect. Maybe I have the wrong switches.

I've also read that esptool.exe is flawed in this regard and people have installed the raft of garbage to allow them to run esptool.py for this instead and had success.

Re: No WiFi after Flash Basic 3.0.Alpha 65

PostPosted: Wed Dec 21, 2016 11:34 am
by Mmiscool
You can use the node mcu flasher. Some people who have trouble with the basic flasher have luck with that.

Also make sure your power suply is good.

Re: No WiFi after Flash Basic 3.0.Alpha 65

PostPosted: Wed Dec 21, 2016 1:06 pm
by dilettante
Weird.

Used the NodeMCU Flasher to flash with ESP8266Basic.cpp.bin and cycled power on the device.

Still no WiFi SSID, but now it blinks the blue LED once every 8 seconds or so.

Odd thing is I can flash the ancient built-in NodeMCU firmware using the NodeMCU Flasher and it comes up fine, interacts with a serial terminal as expected, etc.

Sorry to be such a nuisance.

Re: No WiFi after Flash Basic 3.0.Alpha 65

PostPosted: Thu Dec 22, 2016 12:59 pm
by dilettante
Doesn't appear that I fried the hardware or anything.

Flashed the device using the NodeMCU Flasher with the ancient built-in firmware. Cycled power. Connected using PuTTY, created an empty init.lua, and typed in a trivial "Hello World" page LUA script:

Code: Select allsrv=net.createServer(net.TCP)
srv:listen(80,function(conn)
    conn:on("receive",function(conn,payload)
        print(payload)
        conn:send("<h1> Hello, NodeMcu.</h1>")
    end)
    conn:on("sent",function(conn) conn:close() end)
end)


Saw the SSID, connected, and was able to hit the Hello World page with a browser.