Sming - Open Source framework for high efficiency native ESP8266 development

User avatar
By fastlink30
#58528 sming 2.1.0 with sdk 1.5 and esp8266 12f

building all result:

20:52:46 **** Build of configuration Sming for project Seriale_Trasparente ****
make -j2 all
C+ app/TranspSerial.cpp
C+ app/application.cpp
C+ app/comandi.cpp
stat: cannot stat `out/firmware/0x09000.bin': No such file or directory
# Generating spiffs_bin
Checking for spiffs files
No files found in ./files.
Creating empty out/firmware/spiff_rom.bin
Creating rom 'out/firmware/spiff_rom.bin' of size 0x30000 (196608) bytes.
Creating empty filesystem.
out/firmware/spiff_rom.bin---------->0xC000
AR out/build/app_app.a
LD out/build/app.out

#Memory / Section info:
------------------------------------------------------------------------------
Section| Description| Start (hex)| End (hex)|Used space
------------------------------------------------------------------------------
data| Initialized Data (RAM)| 3FFE8000| 3FFE8374| 884
rodata| ReadOnly Data (RAM)| 3FFE8378| 3FFE94BC| 4420
bss| Uninitialized Data (RAM)| 3FFE94C0| 3FFF0260| 28064
text| Cached Code (IRAM)| 40100000| 40105C3E| 23614
irom0_text| Uncached Code (SPI)| 40209000| 4024085A| 227418
Total Used RAM : 33368
Free RAM : 48552
Free IRam : 9172
------------------------------------------------------------------------------
# Generating image...
Generate firmware images successully in folder out/firmware.
Done

when i try to flash:

make -j2 flash
Killing Terminal to free COM4
ERRORE: processo "Terminal.exe" non trovato.
/c/Espressif/utils/esptool.exe -p COM4 -b 115200 write_flash -ff 40m -fm qio -fs 4m 0x00000 out/firmware/0x00000.bin 0x09000 out/firmware/0x09000.bin 0x44000 out/firmware/spiff_rom.bin
Connecting...
Erasing flash...
head: 8 ;total: 8
erase size : 16384

Writing at 0x00000000... (3 %)
..........
Writing at 0x00040800... (100 %)
Written 228352 bytes in 24.88 seconds (73.42 kbit/s)...
Erasing flash...
head: 12 ;total: 48
erase size : 147456

Writing at 0x00044000... (0 %)
..................
Writing at 0x00048400... (9 %)
Writing at 0x00048800... (9 %)
Writing at 0x00048c00... (10 %)
Traceback (most recent call last):
File "esptool.py", line 634, in <module>
File "esptool.py", line 283, in flash_block
File "esptool.py", line 109, in command
Exception: Invalid head of packet
make: *** [flash] Error 255

everytime i try to flash the program i get this error, why?
can be wrong setup of some parameter, somewhere, about size of flash memory of esp12?
i do the procedure inside eclipse

someone can point me in the right direction?
thanks
User avatar
By fastlink30
#59069 The problem is caused by the DISABLE_SPIFFS=0, if i put it at 1 the problem appear.
but i need spiffs, so what i must do?
thanks