Report Bugs Here

Moderator: Mmiscool

User avatar
By Roffey
#28588 Would love to get this going ..... looks like a lot of time going into this.
Tried all sizes of flash just in case there was an issue there.
Using ESP12 ..
Sure.. can get the gpio sample working ... but saving and recalling fails. In station mode even less friendly....
Lots of .....
Saving that file
file open failed
done Saving File
Saving that file
file open failed
done Saving File
file open failed

Exception (28):
epc1=0x4000bf0e epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: cont
sp: 3ffee5f0 end: 3ffee8e0 offset: 01a0

3ffee790: 4021bbfd 3ffee7f0 3fff6890 4021bde0
3ffee7a0: 00000002 3ffee7f0 3ffecae8 40213bd7
3ffee7b0: 00000000 00000000 00000000 4021bca6
3ffee7c0: ffffffff 0000001e 00000000 4021bda4
3ffee7d0: 4021bbfd 3ffee890 3ffee890 3ffecae8
3ffee7e0: 3ffed370 3ffe9e28 3ffee890 40214711
3ffee7f0: 3fffba60 00000547 00000547 3fffb798
3ffee800: 000002b6 0000001a 3fff9cf8 00000019
3ffee810: 0000000f 3fffdc20 3ffee90c 00000030
3ffee820: 3fff5bb8 00000000 00000000 3fffb240
3ffee830: 00000547 00000547 3ffface0 0000054d
3ffee840: 00000005 3fff6550 00000003 00000003
3ffee850: 3fffa770 0000055a 00000000 3ffed780
3ffee860: 3fffdc20 3ffee90c 40202050 0000000f
3ffee870: 4020153a 00000001 00000001 3ffee90c
3ffee880: 3fffdc20 000003e1 3ffecae8 402135dd
3ffee890: 3ffea140 00000000 000003e8 000258bf
3ffee8a0: 3ffecb00 3fff9c38 00000016 4010228d
3ffee8b0: 40202071 00000000 3ffee904 4020fba3
3ffee8c0: 3fffdc20 00000000 3ffee904 402020ce
3ffee8d0: 00000000 00000000 3ffed8c0 40100374
file open failed
file open failed
file open failed
Failed Wifi Connect
file open failed
Creating WIFI access point

Any clues would be really appreciated.
Ok.. start afresh (a few times) - even format at times.... get it so that it cant open the four files (so must be empty) .... save a " ports" file, a copy of the gpio example. Write a blank title file ... just cls and load ports . Save it. Sometimes ports file will open again sometimes not. Whilst in edit frame mode, all can run well.
Reset and it's a no go. Can't open file, or can't open ports file and endless loop.
At start up it can appear that the two files have been opened, but won't actually open in edit mode.

Might be a clue to what is happening?
User avatar
By Mmiscool
#28655 The file open msgs can be ignored.

For the esp-12 I would use the 4m flash.

When Wifi settings are saved the module must be rebooted for it to connect.

If you have a terminal opened at 9600 speed It should display that it was able to connect and its ip address on the network.

Network name is case sensitive.

There is an issue with all the extra blank lines when you reopen a program. You should delete the blank lines at the bottom for now before attempting to save the file again.

This issue is on the radar and will be fixed here soon hopefully.
User avatar
By Roffey
#28682 Thank you for the info ....... Yes, deleting blank lines certainly helps a lot. Station mode has far less issues.
File saving etc no more an issue.
Getting resets at times, and can't get solid reproducible working, but far less frustrating. More fun, which is what it all about.
Please do not take these as negative comments, because they are definitely not, just notes as to what is happening.

Without this kind of development by someone who has the skills and share mindset to do it, we'd still be fishing with bamboo and string!
Looking forward to updates.