These are chat archives for SmingHub/Sming

13th
Feb 2017
slaff
@slaff
Feb 13 2017 14:03
@gbl08ma By the way thanks for the Makefile issues that you've reported in #946.
Ivanhoee
@Ivanhoee
Feb 13 2017 16:09
Hello, recently I've tried to build app with new versions os Sming and espressif, it builds fine, but i get olny this on serial:

================================================================

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

load 0x40100000, len 24856, room 16
tail 8
chksum 0x8d
load 0x3ffe8000, len 976, room 0
tail 0
chksum 0x44
load 0x3ffe83d0, len 10296, room 8
tail 0
chksum 0x67
csum 0x67
slStimeout updating: 70 -> 65535
Server timeout updating: 40 -> 90
timeout updating: 70 -> 65535
fs.start: size:3147460 Kb, offset:0x4024b000

ERROR: ERROR in flash_read: r=1 at 4024b000

ERROR: ERROR in flash_read: r=1 at 4024b0fc

ERROR: ERROR in flash_read: r=1 at 4024d0fc

ERROR: ERROR in flash_read: r=1 at 4024f0fc

ERROR: ERROR in flash_read: r=1 at 402510fc

ERROR: ERROR in flash_read: r=1 at 402530fc

ERROR: ERROR in flash_read: r=1 at 402550fc

ERROR: ERROR in flash_read: r=1 at 402570fc

ERROR: ERROR in flash_read: r=1 at 402590fc

ERROR: ERROR in flash_read: r=1 at 4025b0fc

ERROR: ERROR in flash_read: r=1 at 4025d0fc

......................... many more, and then Watchdog reset.

tried few earlier versions os sming and espressif, nothing has changed, Tried few different builds of spiffy, same results.
on earlier version of my app, it boulded fine with SDK 1.5 and Sming 2.01
Ivanhoee
@Ivanhoee
Feb 13 2017 16:29
Also tried 2 flashers, a year ago it worked fine, so I think it should now to, but problem still exists.
Andriy Petrynchyn
@petrynchyn
Feb 13 2017 16:34
@Ivanhoee not use spiffs_mount(), try spiffs_mount_manual()
Ivanhoee
@Ivanhoee
Feb 13 2017 17:31
but what to use as parameters, how to calculate right adresses and size?
laurentppol
@laurentppol
Feb 13 2017 19:18
@slaff tried to migrate my program from Sming-develop @ 2016-03-08 / SDK 1.4.0, to current Sming, SDK 2.0.0 and it totally FAILS:
  • garbage on serial console,
  • WWW not responding
what should I check first? Sming itself compiles w/o warning.
Ivanhoee
@Ivanhoee
Feb 13 2017 20:05
@Ivanhoee not use spiffs_mount(), try spiffs_mount_manual()
My friend compiled my app with his environement, and voila the app starts t o act as it should
but the env i set on linux and my on Win. With the old one, we had same results, now not.
so it's not just spiffs_mount_manual() as spiffs_mount() works well on lnux
laurentppol
@laurentppol
Feb 13 2017 21:32
SAME (almost garbage: "ERROR: ERROR in flashread: r=1 at 407200fc" trying to compile & flash "HttpConfigNetwork" example), WTF?