Configuration write : Exception
aarnaud opened this issue · comments
HTTP server started
Serving /system page...Ok!
Serving /tinfo page...
sending...OK!
Serving /system page...Ok!
Serving /tinfo page...
sending...OK!
Serving /system page...Ok!
Serving /config page...Ok!
Serving /wifiscan page...sending...Ok!
===== Posted configuration
Write config OK!
Exception (3):
epc1=0x4000bf64 epc2=0x00000000 epc3=0x00000000 excvaddr=0x40248b7f depc=0x00000000
ctx: cont
sp: 3fff2c90 end: 3fff2f80 offset: 01a0
Hi @hallard,
Yes and an other exception when first requet of browser without cache:
handleFileRead /index.htm.gz found on FS
Exception (9):
epc1=0x4010593e epc2=0x00000000 epc3=0x00000000 excvaddr=0x1ab59b09 depc=0x00000000
ctx: cont
sp: 3fff2c50 end: 3fff2f80 offset: 01a0
>>>stack>>>
3fff2df0: 3fff5c38 0000466c 3fff2e70 40212a7c
3fff2e00: 3fff5c30 4021236c 3fff0f3c 40213891
3fff2e10: 3fff5928 3fff2e70 3fff0f3c 40209ba8
3fff2e20: 00000000 00000000 00000000 00000000
3fff2e30: 00000000 00000000 000008c0 4020c23c
3fff2e40: 3fff0f5c 000001fc 3fff2e88 00000000
3fff2e50: 00000000 00000000 3fff2e70 3fff0f3c
3fff2e60: 00000001 3fff5300 3fff52f8 4020cced
3fff2e70: 3ffe9af8 00000000 000003e8 4020e15d
3fff2e80: 3fff4700 3fff47c0 00000000 00000000
3fff2e90: 00000000 3fff4660 0000001f 00000018
3fff2ea0: 3fff46a0 0000001f 00000017 40214a5a
3fff2eb0: 00000000 3fff0f78 3fff2ee0 40214b5c
3fff2ec0: 00000000 00000000 3fff0f3c 4020cbac
3f
ets Jan 8 2013,rst cause:4, boot mode:(3,6)
Write configuration:
===== Posted configuration
Write config OK!
Exception (3):
epc1=0x4000bf64 epc2=0x00000000 epc3=0x00000000 excvaddr=0x40248ba7 depc=0x00000000
ctx: cont
sp: 3fff2c90 end: 3fff2f80 offset: 01a0
>>>stack>>>
3fff2e30: 3fff181c 00000001 3fff1e74 40207ef3
3fff2e40: 40248ba7 3fff0e9c 3fff1e74 3fff1a1c
3fff2e50: 3fff0e9c 00000000 3fff0f3c 40208e5d
3fff2e60: 00000000 00000000 00000000 3fff3698
3fff2e70: 0000000f 00000000 3fff2ec0 40214a2a
3fff2e80: 00000000 00000000 3fff2ec0 4020ca68
3fff2e90: 00000002 00000001 3fff4960 402133e6
3fff2ea0: 00000000 00000000 3fff4960 4020ca5e
3fff2eb0: 3fff4960 3fff0f78 3fff4960 4020ca9a
3fff2ec0: 00000000 00000000 00000000 40214b80
3fff2ed0: 3fff4960 3fff0f78 3fff0f3c 4020cb29
3fff2ee0: 3fff5440 0000001f 00000011 4020af10
3fff2ef0: 00000000 00000185 3fff1808 00000000
3fff2f00: 00000002 0000000f 4021247c 3fff1f60
3fff2f10: 00000000 00000000 3fff0f3c 3fff1f54
3fff2f20: 00000001 3fff0f5c 3fff0f3c 4020cf2
ets Jan 8 2013,rst cause:4, boot mode:(3,6)
Which sketch are you using ?
Are you up to date with:
- Arduino IDE
- Arduino-ESP8266 git repo
- LibTeleinfo
Arduino IDE: 1.6.7
Arduino-ESP8266: 2.1.0-rc2, failed with 2.2.0-rc1
LibTeleinfo: I think : eb40430
With LibTeleinfo updated, i can't compile
Arduino: 1.6.7 (Linux), Board: "WifInfo, Disabled, None, ESP12 (4M/1M SPIFFS), Serial, 160 MHz, 40MHz, DIO, 115200"
/home/XXXXX/Arduino/libraries/LibTeleinfo/src/LibTeleinfo.cpp: In member function 'ValueList* TInfo::valueAdd(char*, char*, uint8_t, uint8_t*)':
/home/XXXXX/Arduino/libraries/LibTeleinfo/src/LibTeleinfo.cpp:252:47: error: 'xPortWantedSizeAlign' was not declared in this scope
lgname = xPortWantedSizeAlign(lgname+1); // Align name buffer
^
exit status 1
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Ok would you mind use latest Arduino-ESP8266 (2.2.0 Final or latest git ?)
Still don't know what sketch your using with the lib, WifInfo, Remora, other ?
Sorry, i use WifInfo.
Same error with Arduino-ESP8266 2.2.0 and latest git of libteleinfo
Arduino: 1.6.7 (Linux), Board: "WifInfo, Disabled, None, ESP12 (4M/1M SPIFFS), 160 MHz, 80MHz, DIO, 115200"
/home/XXXXX/Arduino/libraries/LibTeleinfo/src/LibTeleinfo.cpp: In member function 'ValueList* TInfo::valueAdd(char*, char*, uint8_t, uint8_t*)':
/home/XXXXX/Arduino/libraries/LibTeleinfo/src/LibTeleinfo.cpp:252:47: error: 'xPortWantedSizeAlign' was not declared in this scope
lgname = xPortWantedSizeAlign(lgname+1); // Align name buffer
^
exit status 1
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Ok, could you try latest LibTeleinfo release 1.0.2 I've corrected compilation problem for LibTeleinfo and WifInfo sample
You'll need to update to latest NeoPixelBus library if, not it will fail to compile, lib has changed.
Compile success with:
Arduino 1.6.8
Arduino-ESP8266 2.2.0
LibTeleinfo v1.0.2
NeoPixelBus 2.1.2
When i save the configuration :
===== Posted configuration
Write config OK!
Exception (3):
epc1=0x4000bef4 epc2=0x00000000 epc3=0x00000000 excvaddr=0x40240b7e depc=0x00000000
ctx: cont
sp: 3fff1410 end: 3fff1720 offset: 01a0
>>>stack>>>
3fff15b0: 3fff007c 00000001 3fff1608 4021260d
3fff15c0: 3ffef70c 00000000 3fff1608 40212785
3fff15d0: 40240b7e 3ffef70c 3fff0618 3fff027c
3fff15e0: 3ffef70c 00000000 3ffef7a0 40209244
3fff15f0: 00000000 00000000 00000000 00000000
3fff1600: 00000000 00000000 3fff3a54 0000000f
3fff1610: 00000002 00000011 3fff1660 402125db
3fff1620: 3fff060c 00000405 00000405 4020c89c
3fff1630: 00000002 00000001 3fff2f84 40213f12
3fff1640: 00000000 00000000 3fff2f84 4020c892
3fff1650: 3fff2f84 3ffef7e0 3fff2f84 4020c8ce
3fff1660: 00000000 00000000 00000000 4021273c
3fff1670: 3fff2f84 3ffef7e0 3ffef7a0 4020c959
3fff1680: 3fff374c 0000001f 000000
ets Jan 8 2013,rst cause:4, boot mode:(1,7)
wdt reset
The post data is:
save:1
ssid:yyyyyy
psk:xxxxxxxxxxxxxxxxxxxxxx
host:WifInfo_D4C225
emon_port:80
emon_host:emoncms.org
emon_url:/input/post.json
emon_apikey:
emon_freq:0
emon_node:0
jdom_port:80
jdom_host:192.168.0.2
jdom_url:/jeedom/plugins/teleinfo/core/php/jeeTeleinfo.php
jdom_apikey:xxxxxxxxxxxxxxxxxxxxxx
jdom_freq:15
jdom_adco:
ap_psk:
ota_auth:OTA_WifInfo
ota_port:8266
which ESP board are you using ?
could you try removing
LedBluON()
and LedBluOFF()
from function handleFormConfig()
from webserver.cpp
?
yes just checked, same thing
Removed PSTR, latest git should works