Chat about current Lua tools and IDEs

User avatar
By lorenz12
#37657 Hi,

uploading bigger bin files stop allways after 26857 bytes uploaded with the error message:
> Uploading to ESP file feuer.out...Waiting answer from ESP - Timeout reached. Command aborted.
The file size is round about 36KByte. Free flash memory is round about 500Kbyte.
---------------------------------------------------
> file.format()
format done.
> Uploading to ESP file feuer.out...Waiting answer from ESP - Timeout reached. Command aborted.
----------------------------
feuer.out : 26857 bytes
----------------------------
Total file(s) : 1
Total size : 26857 bytes

> r,u,t=file.fsinfo() print("Total : "..t.." bytes\r\nUsed : "..u.." bytes\r\nRemain: "..r.." bytes\r\n") r=nil u=nil t=nil
Total : 504761 bytes
Used : 27610 bytes
Remain: 477151 bytes


---------------------------------------------------
My LUA is based on:
build built on: 2015-12-13 22:18
powered by Lua 5.1.4 on SDK 1.4.0


Is this a limitation of the ESPlorer or the LUA system?

Regards

Lorenz
User avatar
By 4refr0nt
#37665
lorenz12 wrote:Hi,

uploading bigger bin files stop allways after 26857 bytes uploaded with the error message:
> Uploading to ESP file feuer.out...Waiting answer from ESP - Timeout reached. Command aborted.
The file size is round about 36KByte. Free flash memory is round about 500Kbyte.
---------------------------------------------------
> file.format()
format done.
> Uploading to ESP file feuer.out...Waiting answer from ESP - Timeout reached. Command aborted.
----------------------------
feuer.out : 26857 bytes
----------------------------
Total file(s) : 1
Total size : 26857 bytes

> r,u,t=file.fsinfo() print("Total : "..t.." bytes\r\nUsed : "..u.." bytes\r\nRemain: "..r.." bytes\r\n") r=nil u=nil t=nil
Total : 504761 bytes
Used : 27610 bytes
Remain: 477151 bytes


---------------------------------------------------
My LUA is based on:
build built on: 2015-12-13 22:18
powered by Lua 5.1.4 on SDK 1.4.0


Is this a limitation of the ESPlorer or the LUA system?

Regards

Lorenz

Please, try format ESP8266 filesystem.
ESPlorer don't have file size limits.
User avatar
By lorenz12
#37676 I did format at first.

> file.format()
format done.
> Uploading to ESP file feuer.out...


I can also download many files as long as the file size is less than round about 27KByte.

It is exact 26857 bytes I can upload.

adresse : 26857 bytes
feuer.out : 26857 bytes
glediator file1 : 18624 bytes
ws2812-laufbild.lua : 800 bytes


Both files, adresse and feuer.out are 40kByte in original size.
User avatar
By devsaurus
#37689 I can confirm this observation as well. Since the same symptoms are also visible when uploading with nodemcu-uploader, I'd suspect that it's an issue in the firmware - not in ESPlorer.
lorenz12 please open an issue at https://github.com/nodemcu/nodemcu-firmware/issues with your findings.