Sming - Open Source framework for high efficiency native ESP8266 development

User avatar
By Leandro Zimmer
#31697 Hi.

I have flash my ESP eith HttpServer_ConfigNetwork example. Bronwser request to 192.168.4.1 reset esp.

LOG:

Set AP configuration in background
mode : sta(18:fe:34:9b:1c:72) + softAP(1a:fe:34:9b:1c:72)
add if0
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
addUser: me 123
'/' registered
'/ipconfig' registered
'/ajax/get-networks' registered
'/ajax/connect' registered
AP configuration was updated on system ready event
f 0, scandone
scan completed: 7 found
add 1
aid 1
station: 44:80:ec:58:bf:5f join, AID = 1
onAccept state: 0 K=0
Free heap size=37328, K=0
+TCP connection
timeout updating: 70 -> 90
TcpServer onClient 192.168.4.2, activeClients = 1

path=/
Host === 192.168.4.1
parsed
Request: GET, nodata
TCP received: 447 bytes
onReadyToSendData: 1
send file: index.html (12168 bytes)
response sendHeader
response sendBody
READ Template (0)
read errno -10014

Fatal exception (3):
epc1=0x4023258e, epc2=0x00000000, epc3=0x00000000, excvaddr=0x40000960, depc=0x00000000

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 22312, room 16
tail 8
chksum 0x43
load 0x3ffe8000, len 848, room 0
tail 0
chksum 0xc1
load 0x3ffe8350, len 7928, room 8
tail 0
chksum 0x0e
csum 0x0e
óËë¢�use rtc mem data
;l+TCP connection
timeout updating: 70 -> 65535
Server timeout updating: 40 -> 90
+TCP connection
timeout updating: 70 -> 65535
Server timeout updating: 40 -> 900
fs.start: size:208 Kb, offset:0x0x48000

mount res: 0


My flash command:
c:/Espressif/utils/esptool.exe -p COM7 -b 115200 write_flash -ff 40m -fm qio -fs 4m 0x00000 out/firmware/0x00000.bin 0x09000 out/firmware/0x09000.bin 0x6C000 out/firmware/spiff_rom.bin
User avatar
By Venkatesh
#34895 Try to flash spiffs_rom at 0x48000

esptool.py -p /dev/ttyUSB0 -b 115200 write_flash -ff 40m -fm qio -fs 4m 0x00000 out/firmware/0x00000.bin 0x09000 out/firmware/0x09000.bin 0x48000 out/firmware/spiff_rom.bin