node.LFS.reload("lfs.img");
node.LFS.reload("lfs.img");
Lua error: stdin:1: system restarting
stack traceback:
[C]: in field 'reload'
stdin:1: in main chunk
[C]: in ?
[C]: in ?
�
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 28596, room 16
tail 4
chksum 0x20
load 0x3ffe8000, len 2608, room 4
tail 12
chksum 0xae
ho 0 tail 12 room 4
load 0x3ffe8a30, len 8, room 12
tail 8
chksum 0xca
csum 0xca
�r��nl�l�l�n~b�b��nrn�n~b$l�$�nn�nn���~��nn���~�b�nn�����n�r��n|�l�lbbrl�nb�nl�rl�l�l�rl�l�l�rl$�llrl$rl�bbnjb�bpr�brlb�n'nn�lbl��llll���l$�n�2bbll$�b�2bbl�brlr
Erasing LFS from flash addr 0x0ae000..... to 0x0edfff
LFS image loaded
Expected behavior
"lfs.img" loaded successfully.
Actual behavior
error
Test code
Following with the example at https://nodemcu.readthedocs.io/en/release/getting-started/#minimal-lfs-example Only one line in the "hello_world.lua": print("Hello ESP8266 world!") "_init.lua" and "dummy_strings.lua" have been included in the "lfs.img".
Here are debug info from serial:
load 0x40100000, len 28596, room 16 tail 4 chksum 0x20 load 0x3ffe8000, len 2608, room 4 tail 12 chksum 0xae ho 0 tail 12 room 4 load 0x3ffe8a30, len 8, room 12 tail 8 chksum 0xca csum 0xca �r��nl�l�l�n~b�b��nrn�n~b$l�$
�nn�nn���
~��nn���~�b�nn���
��n�r��n|�l�lbbrl�nb�nl
�rl�l�l�rl�l�l
�rl$�llrl$rl�bbnjb�bpr�brlb�n'nn�lbl��llll���l$
�n�2bbll$�b�2bbl�brlr Erasing LFS from flash addr 0x0ae000..... to 0x0edfff LFS image loadedNodeMCU 3.0.0.0 branch: release commit: d4ae3c364bd8ae3ded8b77d35745b7f07879f5f9 release: 3.0.0-release_20210201 +1 release DTS: 202105102018 SSL: false build type: float LFS: 0x40000 bytes total capacity modules: adc,coap,crypto,encoder,file,gpio,http,i2c,mdns,net,node,pwm,rtcfifo,rtcmem,rtctime,sjson,sntp,spi,tmr,uart,websocket,wifi build 2021-06-01 00:56 powered by Lua 5.3.5 on SDK 3.0.1-dev(fce080e)
NodeMCU startup banner
NodeMCU 3.0.0.0 branch: release commit: d4ae3c364bd8ae3ded8b77d35745b7f07879f5f9 release: 3.0.0-release_20210201 +1 release DTS: 202105102018 SSL: false build type: float LFS: 0x40000 bytes total capacity modules: adc,coap,crypto,encoder,file,gpio,http,i2c,mdns,net,node,pwm,rtcfifo,rtcmem,rtctime,sjson,sntp,spi,tmr,uart,websocket,wifi build 2021-06-01 00:56 powered by Lua 5.3.5 on SDK 3.0.1-dev(fce080e)
Hardware
NodeMCU ESP8266 4MB.