Report Bugs Here

Moderator: Mmiscool

User avatar
By Sebastian
#40300 If i try to edit my basic program at the editor, ESP8266Basic cashes!
Every time i try.
The program has 50 lines of code :-)

I use a ESP-12 with 4MB (megabytes) spi-flash.

Sometimes same crash if i try to open settings.

Code: Select all0▒~?▒▒Ҷ▒▒OAa▒▒ESP Basic 1.81
1
2
3
4

Connected to SkyNetHerborn
IP address : 192.168.0.103
WIFIname
WIFIpass
Starting Default Program


Now i hit the Edit button at webinterface:

Code: Select allException (28):
epc1=0x4000bf0e epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: cont
sp: 3fff54d0 end: 3fff5800 offset: 01a0

>>>stack>>>
3fff5670:  3fff3ae8 3ffe9740 3fff56c4 4021e284
3fff5680:  3fff3ae8 3ffe9740 3fff56dc 4021e2c0
3fff5690:  3fff3ae8 3ffe9740 00000037 4020c2b0
3fff56a0:  3fffaf28 0000003f 00000039 3fffa8d0
3fff56b0:  0000000f 00000001 3fffb318 0000036f
3fff56c0:  0000036a 00000000 00000000 00000000
3fff56d0:  3fffada8 0000003f 00000039 3fffb938
3fff56e0:  0000033f 00000330 3fffa280 0000000f
3fff56f0:  00000000 00000005 3fff5740 4021e152
3fff5700:  3fff56b8 3fff5770 3fff5740 4021e182
3fff5710:  40106e20 3fffa528 3fff5740 00000001
3fff5720:  00000001 00000001 3fffa528 40213ba2
3fff5730:  40213bac 3fffa528 3fff5760 40213be0
3fff5740:  3fffa280 0000000f 00000005 4021e2a8
3fff5750:  40213bac 3fffa528 3fff3ae8 40213e04
3fff5760:  3fff87e0 0000000f 00000005 40212c90
3fff5770:  3ffeb194 00000002 000011d0 3fffaf18
3fff5780:  3fffabf0 00000090 0000000f 3fff47e0
3fff5790:  4020187a 00000001 00000001 3fff47d4
3fff57a0:  3fffdc20 000003e8 3fff3ae8 40213eb0
3fff57b0:  3ffeb280 00000000 000003e8 0000f5f4
3fff57c0:  3fff3b08 3fffaba8 00000016 3fff47d4
3fff57d0:  3fffdc20 00000000 3fff47cc 402118b3
3fff57e0:  3fffdc20 00000000 3fff47cc 4021692d
3fff57f0:  00000000 00000000 3fff47e0 40100114
<<<stack<<<
▒!
  ▒▒▒▒)▒▒ESP Basic 1.81
1
2

Connected to SkyNetHerborn
IP address : 192.168.0.103
WIFIname
WIFIpass


Any ideas?
User avatar
By viscomjim
#40307 Sebastian, I have had the same problem with larger programs also. The way I work now with larger files (actually all files now) is, I create all my code in a text editor. When I can't get to the edit screen, i usually just reset the esp and after it boots during the 30 second wait period, I go to the settings page and hit format. Once it is done formatting (or formating as it says) then you can get to the edit menu no problem. Then I copy and paste my code and hit save, then run.

I know this is a bit of extra work and takes a little longer, but this is the only work around that has worked for me every time. I am using a nodemcu board that has a reset button on it. (esp-12e 4MB flash). Once you get used to the flow, its not so bad. Plus all your code is saved on your computer.