-->
Page 1 of 1

user interface not loading

PostPosted: Mon Nov 30, 2015 3:41 am
by joey
Hi, thank you for giving iot to the people...

I have problem with loading the user interface.
Wifi connect is OK (at 192.168.4.1)
I get this from terminal program:
Failed Wifi Connect
Creating WIFI access point
ESP
APname
APpass
Starting Default Program
in>

If I flash with 512k, I get "done" from terminal program, and can access the user interface.
But then I cannot save files og run program, because the flash size is wrong.

If I flash back to right flash size, I get same problem.
Is there a way to clear the flash/program or boot without "starting default program"
Do you have a way to set timeout and "end" in the basic program, so it don't get stuck?

Joey

Re: user interface not loading

PostPosted: Mon Nov 30, 2015 9:04 am
by heckler
which module are you using?
If ESP8266-01 then is it blue or black pcb? (although it sounds like you have a different module by the terminal responses)

the default program is called "default" but I believe it only exists if you have uploaded code to the module without giving it a name.

Re: user interface not loading

PostPosted: Mon Nov 30, 2015 11:28 am
by joey
I'm using esp-12e dev board from doit.
ref: http://www.dx.com/p/404647

It looks like the basic program is running and waiting for input:
Starting Default Program
in>

I tested "hello world" with "end", that was working:
Starting Default Program
done

I looks like the user interface is stuck, if I don't have "end" in the program.

Now I'm down to my last module....... =:-(

Re: user interface not loading

PostPosted: Mon Nov 30, 2015 5:22 pm
by Mmiscool
Hello. I am glad to hear you are using esp8266 basic.

If you saved a program with an input command you will have a > symbol showing on the serial terminal. Send a carage return line feed on the serial terminal and it will continue. The input command is blocking.

Also if you save a blank program before the default program starts it should solve your issue. It will automatically run the default program 30 seconds after boot up.

The esp-12 has a 4 meg flash so you should also reflash the moduel to take advantage of the full storage space available.