These are chat archives for SmingHub/Sming

20th
Sep 2016
SkySparky
@SkySparky
Sep 20 2016 06:23
Hello! How build Sming RTOS with spiffs size of 2M or 3M on 4M flash? Spiffs it works only with option 1M flash.
For other sizes of flash output: ERROR in flash_read: r = 1 at 000810FC, size = 4, id = 1458400
SkySparky
@SkySparky
Sep 20 2016 06:47
For other sizes of flash output: ERROR in flash_read: r = 1 at 000810FC, size = 4, id = 1458400
For other sizes of flash output: ERROR in flash_read: r = 1 at 000810FC, size = 4, id = 1458400
For other sizes of flash output: ERROR in flash_read: r = 1 at 000830FC, size = 4, id = 1458400

ERROR: ERROR in flash_read: r=1 at 000830FC, size = 4, id = 1458400

mount res: -1
fs.start: address 0x59000, size: 512 Kb, result : -1

teicors
@teicors
Sep 20 2016 06:54
help
slaff
@slaff
Sep 20 2016 13:30
@/all For those of you interested in getting extra free RAM for their ESP8266s: Here is a little article that I've wrote: https://blog.attachix.com/get-extra-free-ram-in-esp8266/
zhivko
@zhivko
Sep 20 2016 15:12
@slaff is debugging now working in Sming?
I see link in post you pasted obout ram in esp8266
@slaff have you ported debugging to SmingRTOS ?
slaff
@slaff
Sep 20 2016 15:22
@zhivko No, but you should be able to port it directly from SmingNonOS
slaff
@slaff
Sep 20 2016 15:32
My plan is to move to SmingRTOS once the esp32 gains some traction. And when that happens the debugging with OpenOCD / JTags should be possible directly on the hardware. So there should be little need to do software debugging.
hreintke
@hreintke
Sep 20 2016 18:47
@SkySparky :
Are you using SmingRTOS ? If not : the spiffs support in there is much improved.
File size checking done there, automatic location.
Please share your spiffs setting in makefile & mount command in application.
SkySparky
@SkySparky
Sep 20 2016 20:58
Yes, I use SmingRTOS
SPI_SIZE = 4M
SPIFF_SIZE = 3145728

ERROR: ERROR in flash_read: r=1 at 000810FC, size = 4, id = 1458400

ERROR: ERROR in flash_read: r=1 at 000810FC, size = 4, id = 1458400

ERROR: ERROR in flash_read: r=1 at 000830FC, size = 4, id = 1458400

mount res: -1
fs.start: address 0x59000, size: 3072 Kb, result : -1

SkySparky
@SkySparky
Sep 20 2016 21:05
As far as I understand spiffis the right size, but the result is -1