-->
Page 1 of 1

erasing default coding

PostPosted: Sun Nov 01, 2015 10:58 am
by donProsko
Hi,
first THX for that brilliant idea with an basic in-chip interpreter. I remember the gradfull times with the genial 8052 AH BASIC . At the moment I make some expiriences with the ESP-12-Q.
I've testet a Servo on GPIO 14. It works at the beginning a little bit unsatisfactory. But with trying to change coding I hope it will be getting better. I've also change to the actual release ESP Basic 1.04 . But then suddenly after saving coding that happens:

[code]
Exception (29):
epc1=0x4000bf41 epc2=0x00000000 epc3=0x00000000 excvaddr=0x0000000b depc=0x00000000

ctx: cont
sp: 3ffeff90 end: 3fff02a0 offset: 01a0

>>>stack>>>
3fff0130: 3ffeb570 00000000 3ffee308 4021eca4
3fff0140: 3ffeb570 00000000 3ffee308 40210524
3fff0150: 3fffab00 0000000f 0000000c 40202ffc
3fff0160: 3fff01f0 00000001 3fffab60 0000000f
3fff0170: 00000006 3fffab20 0000000f 00000006
3fff0180: 3fffab40 0000000f 00000002 3fffaab0
3fff0190: 0000003f 00000030 3fff0230 402113c4
3fff01a0: 3fff01f0 3ffec9bc 3fff0230 4020db76
3fff01b0: 3fffaa90 0000000f 00000000 3fffaa70
3fff01c0: 0000000f 00000000 3fffa9f8 0000000f
3fff01d0: 00000000 3fffa550 0000000f 00000006
3fff01e0: 3fff8cf0 0000000f 00000004 3fff7ab0
3fff01f0: 0000000f 00000006 0000000a 3fff8cf0
3fff0200: 401000b4 3ffeddac 3fff7ab0 0000000f
3fff0210: 0000000a 00000000 3ffee260 3fff02cc
3fff0220: 3fffdc20 00000000 3ffeddac 40210fa4
3fff0230: 3fffaa90 0000001f 00000000 402112a8
3fff0240: 3fffa9c0 0000000f 3fff02c4 40211064
3fff0250: 0000001f 00000017 3fff7ab0 0000000f
3fff0260: 00000008 00000000 00000000 00000000
3fff0270: 3fffdc20 00000000 3fff02c4 40211389
3fff0280: 3fffdc20 00000000 3fff02c4 402022b2
3fff0290: 00000000 00000000 3ffef280 40100398
[/code]

That comes in an endless loop and I have no chance to erase my coding because also new flashing (even the old release 1.02) wipe out the default coding.

That is not the actual coding inside my chip. But there where only minor changes:
[code]
SERIALPRINTLN "restart page"
CONNECT "***" "***"
cls
let pinStat = 0
Print "ESP8266 WiFi Solid State Relay"
print
Button "On" [on]
button "Off" [off]
button "Exit" [exit]
textbox pinStat
button "SERVO" [servo]
button "WLAN" [WLAN]
wait

[on]
po 2 0
po 14 0
SERIALPRINTLN "LED ON"
Wait

[off]
po 2 1
po 14 1
SERIALPRINTLN "LED OFF"
Wait

[servo]
servo 14 pinStat
SERIALPRINTLN pinStat
Wait

[WLAN]
CONNECT "***" "***"
wait
[/code]

btw.
It was also not possible for me to save coding with another name than default. Only default was possible.

What can I do to wipe out my old stuff?

BR, donProsko

Re: erasing default coding

PostPosted: Sun Nov 01, 2015 2:22 pm
by Mmiscool
if you connect to the device and goto the save page and hit save with the save page empty it will erase your current program.

If you want to save to any other name you must first click the open button with the desired name typed inn. the type in your program and save.