NODEMCU FLASHES OK BUT EVERYTHING DEAD
Posted: Fri Aug 05, 2016 9:27 am
REFLASHed my nodemcu by typing in COM 34 (Flash Size 4M):
FLASH WORKED: (“Uploading 491008 bytes from .\build\4M\ESP8266Basic.cpp.bin to flash at 0x0000..)
RESTARTed TERMITE on COM 34 to see what's happeneing.
Pressed RESET on nodemcu
TERMITE SHOWS:
0‚~?–4û!ƒ“’…[14]OCAZþû
Server listening Port: 80
ESP Basic 3.0.Alpha 25
Device MAC: 5E:CF:7F:86:94:91
1
2
3
4
5
6
7
8
9
10
11
12
Failed Wifi Connect
Creating WIFI access point
ESP5E:CF:7F:86:94:91
APname
APpass
0 winsock connected 192.168.4.2
1 winsock connected 192.168.4.2
2 winsock connected 192.168.4.2
3 winsock connected 192.168.4.2
4 winsock connected 192.168.4.2
Verified in the Network and Sharing Center that I am indeed connected to ESP access point.
Try to go to 192.168.4.1 get on CHROME: “This site can’t be reached”
RESET nodemcu again. Noticed that there was a little space of time between when TERMITE said “APpass” and then gave the 5 lines where winsock connected. So, right after got “APpass” message, jumped in and tried to load 192.168.4.1 in CHROME again.
Was able to then see the initial ESP8266 BASIC screen, with the menu starting with [VARS] at the top!
But after many tries, could never get to the [FILE MANAGER] and also could not get to [SETUP]. Everything seems completely dead now. Always got "This site can't be reached"
Pressed RESET again and then jumped in and tried to go to [SETUP] one last time. It worked! Then (with no changes to SETUP) I was even able to get to [FILE MANAGER] and even was able to go to [EDIT] my simple program, called "play", shown below:
'debugon
memclear
graphics 400,600
gcls
a = 399 'bug - a can't go to 400 - goes into never never land if a = 400
for x=0 to a step 10 '
line x, 0, x, 600, 0
next x
b = 589 ' - b can't go over 589 - goes into never never land if b = 590 and more
for y=0 to b step 10
line 0, y, 400, y, 0
next y
end
I SAVED it and it SAVED ok!
Hit [RUN] and it worked!
Changed line 5, a = 399 to a = 400 , SAVED and RAN AGAIN.
This time after the CHROME screen cleared, the screen for many minutes, trying to do something with 192.168.4.1/run, has stayed empty while I wrote up this bug. The screen is still clear and trying to run.
TERMITE SHOWS that the system reset:
5
6
7
8
9
10
11
12
Failed Wifi Connect
Creating WIFI access point
ESP5E:CF:7F:86:94:91
APname
APpass
0 winsock connected 192.168.4.2
0 winsock Disconnected!
start sending
End of Open
Done...
start save
/play.bas/30
end of save!!
Exception (29):
epc1=0x4000bf41 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000001 depc=0x00000000
ctx: cont
sp: 3fff2af0 end: 3fff2f10 offset: 01a0
>>>stack>>>
3fff2c90: 3fff1ed0 00000685 3fff0d8c 40228d8d
3fff2ca0: 00000000 3ffe8d64 3fff0d8c 40228f05
3fff2cb0: 3ffe8d64 00000001 00000000 40208a80
3fff2cc0: 00000000 3fff1360 00000000 40218bb9
3fff2cd0: 3fff6c5c 0000000f 00000003 3fff6c74
3fff2ce0: 0000000f 00000000 3fff6c8c 0000000f
3fff2cf0: 00000000 3fff729c 0000000f 00000000
3fff2d00: 3fff72b4 0000000f 00000000 3fff72cc
3fff2d10: 0000000f 00000000 3fff6d3c 0000000f
3fff2d20: 00000000 3fff6d54 0000000f 00000000
3fff2d30: 3fff6d6c 0000000f 00000000 3fff6d84
3fff2d40: 0000000f 00000000 00000000 00000000
3fff2d50: 00000000 00000000 00000000 00000000
3fff2d60: 3fff5504 3fff2e00 00000000 3fff1ed0
3fff2d70: 00000010 3fff2e00 00000000 4010053d
3fff2d80: 3fff5504 00000002 0000009c 3ffefe90
3fff2d90: 00000010 3fff2e00 3fff2e00 3ffefe90
3fff2da0: 00000010 3fff2e00 3fff2e00 40228d0c
3fff2db0: 3ffe8d64 00000000 3fff2e00 3fff1ed0
3fff2dc0: 3fff3ed4 0000000f 00000000 3fff3ebc
3fff2dd0: 0000000f 00000000 3fff6494 0000000f
3fff2de0: 00000000 3fff5b54 0000000f 00000000
3fff2df0: 3fff3b1c 0000000f 00000003 3fff435c
3fff2e00: 0000000f 00000003 3fff2e5c 40228d5b
3fff2e10: 00000000 00000000 00000000 4010020c
3fff2e20: 3fffdad0 3fff0db0 3fff2e50 4010068c
3fff2e30: 3fffdad0 3fff0db0 3fff1360 3fff1edc
3fff2e40: 3fffdad0 3fff0db0 3fff1360 4021a657
3fff2e50: 00000000 00000000 00000000 00000000
3fff2e60: 00000000 00000000 3fff1520 4021ca04
3fff2e70: 00000001 000554bc 00000000 4021ac31
3fff2e80: 00000000 3fff1520 3fff1864 4021c9dc
3fff2e90: 00000001 3fff5b90 3fff1ef0 00000000
3fff2ea0: 3fffdad0 3fff1edc 40226868 3fff1edc
3fff2eb0: 3fffdad0 00000000 3fff1520 3fff1edc
3fff2ec0: 3fffdad0 00000000 3fff1ed4 4021adcb
3fff2ed0: 00000000 feefeffe feefeffe feefeffe
3fff2ee0: 00000000 00000000 00000001 40226889
3fff2ef0: 3fffdad0 00000000 3fff1ed4 402268b4
3fff2f00: feefeffe feefeffe 3fff1ef0 40100718
<<<stack<<<
[10]ü![0B]ÿ[10]!„ÏÜÎ[10]þ
Server listening Port: 80
ESP Basic 3.0.Alpha 25
Device MAC: 5E:CF:7F:86:94:91
1
2
3
4
5
6
7
8
9
10
11
12
Failed Wifi Connect
Creating WIFI access point
ESP5E:CF:7F:86:94:91
APname
APpass
FLASH WORKED: (“Uploading 491008 bytes from .\build\4M\ESP8266Basic.cpp.bin to flash at 0x0000..)
RESTARTed TERMITE on COM 34 to see what's happeneing.
Pressed RESET on nodemcu
TERMITE SHOWS:
0‚~?–4û!ƒ“’…[14]OCAZþû
Server listening Port: 80
ESP Basic 3.0.Alpha 25
Device MAC: 5E:CF:7F:86:94:91
1
2
3
4
5
6
7
8
9
10
11
12
Failed Wifi Connect
Creating WIFI access point
ESP5E:CF:7F:86:94:91
APname
APpass
0 winsock connected 192.168.4.2
1 winsock connected 192.168.4.2
2 winsock connected 192.168.4.2
3 winsock connected 192.168.4.2
4 winsock connected 192.168.4.2
Verified in the Network and Sharing Center that I am indeed connected to ESP access point.
Try to go to 192.168.4.1 get on CHROME: “This site can’t be reached”
RESET nodemcu again. Noticed that there was a little space of time between when TERMITE said “APpass” and then gave the 5 lines where winsock connected. So, right after got “APpass” message, jumped in and tried to load 192.168.4.1 in CHROME again.
Was able to then see the initial ESP8266 BASIC screen, with the menu starting with [VARS] at the top!
But after many tries, could never get to the [FILE MANAGER] and also could not get to [SETUP]. Everything seems completely dead now. Always got "This site can't be reached"
Pressed RESET again and then jumped in and tried to go to [SETUP] one last time. It worked! Then (with no changes to SETUP) I was even able to get to [FILE MANAGER] and even was able to go to [EDIT] my simple program, called "play", shown below:
'debugon
memclear
graphics 400,600
gcls
a = 399 'bug - a can't go to 400 - goes into never never land if a = 400
for x=0 to a step 10 '
line x, 0, x, 600, 0
next x
b = 589 ' - b can't go over 589 - goes into never never land if b = 590 and more
for y=0 to b step 10
line 0, y, 400, y, 0
next y
end
I SAVED it and it SAVED ok!
Hit [RUN] and it worked!
Changed line 5, a = 399 to a = 400 , SAVED and RAN AGAIN.
This time after the CHROME screen cleared, the screen for many minutes, trying to do something with 192.168.4.1/run, has stayed empty while I wrote up this bug. The screen is still clear and trying to run.
TERMITE SHOWS that the system reset:
5
6
7
8
9
10
11
12
Failed Wifi Connect
Creating WIFI access point
ESP5E:CF:7F:86:94:91
APname
APpass
0 winsock connected 192.168.4.2
0 winsock Disconnected!
start sending
End of Open
Done...
start save
/play.bas/30
end of save!!
Exception (29):
epc1=0x4000bf41 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000001 depc=0x00000000
ctx: cont
sp: 3fff2af0 end: 3fff2f10 offset: 01a0
>>>stack>>>
3fff2c90: 3fff1ed0 00000685 3fff0d8c 40228d8d
3fff2ca0: 00000000 3ffe8d64 3fff0d8c 40228f05
3fff2cb0: 3ffe8d64 00000001 00000000 40208a80
3fff2cc0: 00000000 3fff1360 00000000 40218bb9
3fff2cd0: 3fff6c5c 0000000f 00000003 3fff6c74
3fff2ce0: 0000000f 00000000 3fff6c8c 0000000f
3fff2cf0: 00000000 3fff729c 0000000f 00000000
3fff2d00: 3fff72b4 0000000f 00000000 3fff72cc
3fff2d10: 0000000f 00000000 3fff6d3c 0000000f
3fff2d20: 00000000 3fff6d54 0000000f 00000000
3fff2d30: 3fff6d6c 0000000f 00000000 3fff6d84
3fff2d40: 0000000f 00000000 00000000 00000000
3fff2d50: 00000000 00000000 00000000 00000000
3fff2d60: 3fff5504 3fff2e00 00000000 3fff1ed0
3fff2d70: 00000010 3fff2e00 00000000 4010053d
3fff2d80: 3fff5504 00000002 0000009c 3ffefe90
3fff2d90: 00000010 3fff2e00 3fff2e00 3ffefe90
3fff2da0: 00000010 3fff2e00 3fff2e00 40228d0c
3fff2db0: 3ffe8d64 00000000 3fff2e00 3fff1ed0
3fff2dc0: 3fff3ed4 0000000f 00000000 3fff3ebc
3fff2dd0: 0000000f 00000000 3fff6494 0000000f
3fff2de0: 00000000 3fff5b54 0000000f 00000000
3fff2df0: 3fff3b1c 0000000f 00000003 3fff435c
3fff2e00: 0000000f 00000003 3fff2e5c 40228d5b
3fff2e10: 00000000 00000000 00000000 4010020c
3fff2e20: 3fffdad0 3fff0db0 3fff2e50 4010068c
3fff2e30: 3fffdad0 3fff0db0 3fff1360 3fff1edc
3fff2e40: 3fffdad0 3fff0db0 3fff1360 4021a657
3fff2e50: 00000000 00000000 00000000 00000000
3fff2e60: 00000000 00000000 3fff1520 4021ca04
3fff2e70: 00000001 000554bc 00000000 4021ac31
3fff2e80: 00000000 3fff1520 3fff1864 4021c9dc
3fff2e90: 00000001 3fff5b90 3fff1ef0 00000000
3fff2ea0: 3fffdad0 3fff1edc 40226868 3fff1edc
3fff2eb0: 3fffdad0 00000000 3fff1520 3fff1edc
3fff2ec0: 3fffdad0 00000000 3fff1ed4 4021adcb
3fff2ed0: 00000000 feefeffe feefeffe feefeffe
3fff2ee0: 00000000 00000000 00000001 40226889
3fff2ef0: 3fffdad0 00000000 3fff1ed4 402268b4
3fff2f00: feefeffe feefeffe 3fff1ef0 40100718
<<<stack<<<
[10]ü![0B]ÿ[10]!„ÏÜÎ[10]þ
Server listening Port: 80
ESP Basic 3.0.Alpha 25
Device MAC: 5E:CF:7F:86:94:91
1
2
3
4
5
6
7
8
9
10
11
12
Failed Wifi Connect
Creating WIFI access point
ESP5E:CF:7F:86:94:91
APname
APpass