I am following this getting started https://mongoose-os.com/docs/mongoose-os/quickstart/setup.md and running the demo js app. I am trying on a wemos D1 mini v3.0
This is what I get for Sys.GetInfo
{
“app”: “app1”,
“fw_version”: “1.2”,
“fw_id”: “20190519-042139/2.10.0-g237ecfd-master-dirty”,
“mg_version”: “2.13.0”,
“mg_id”: “20190519-042139/2.13.0-gd165a78”,
“mac”: “860D8EA825AC”,
“arch”: “esp8266”,
“uptime”: 112,
“ram_size”: 51592,
“ram_free”: 27104,
“ram_min_free”: 10544,
“fs_size”: 233681,
“fs_free”: 99898,
“wifi”: {
“sta_ip”: “192.168.86.28”,
“ap_ip”: “”,
“status”: “got ip”,
“ssid”: “smps”
}
}
This is the log when I start the OTA
online: true {“ram_free”:27820,“uptime”:199.251749,“btnCount”:0,“on”:false}
online: true {“ram_free”:27820,“uptime”:200.251910,“btnCount”:0,“on”:false}
online: true {“ram_free”:27820,“uptime”:201.251804,“btnCount”:0,“on”:false}
online: true {“ram_free”:27820,“uptime”:202.251778,“btnCount”:0,“on”:false}
online: true {“ram_free”:27820,“uptime”:203.251823,“btnCount”:0,“on”:false}
online: true {“ram_free”:27820,“uptime”:204.251791,“btnCount”:0,“on”:false}
mg_rpc.c:293 OTA.Begin via WSS_out 148.251.54.236:443
mgos_ota_core.c:253 Starting, timeout 600, commit timeout 600, mem 24960
mg_rpc.c:293 OTA.Write via WSS_out 148.251.54.236:443
mgos_ota_core.c:489 FW: app1 esp8266 1.2 20190519-042139/2.10.0-g237ecfd-master-dirty
esp_ota_backend.c:157 Slot 1, FW: app1.bin -> 0x200000, FS fs.bin -> 0x48000
esp_ota_backend.c:248 Start writing app1.bin (824448) @ 0x200000
mgos_ota_core.c:506 0.16% total, app1.bin 512 of 824448
online: true {“ram_free”:16340,“uptime”:205.483429,“btnCount”:0,“on”:false}
mg_rpc.c:293 OTA.Write via WSS_out 148.251.54.236:443
E:M 7288 (912 blocks)
mgos_mongoose.c:66 New heap free LWM: 7960
online: true {“ram_free”:16656,“uptime”:206.251891,“btnCount”:0,“on”:false}
online: true {“ram_free”:18260,“uptime”:207.251887,“btnCount”:0,“on”:false}
online: true {“ram_free”:18260,“uptime”:208.251775,“btnCount”:0,“on”:false}
online: true {“ram_free”:18260,“uptime”:209.251765,“btnCount”:0,“on”:false}
online: true {“ram_free”:18260,“uptime”:210.251797,“btnCount”:0,“on”:false}
online: true {“ram_free”:18260,“uptime”:211.251814,“btnCount”:0,“on”:false}
This is the log when I call OTA.End
online: true {“ram_free”:18260,“uptime”:293.251840,“btnCount”:0,“on”:false}
online: true {“ram_free”:18260,“uptime”:294.251812,“btnCount”:0,“on”:false}
online: true {“ram_free”:18260,“uptime”:295.251866,“btnCount”:0,“on”:false}
online: true {“ram_free”:18260,“uptime”:296.251783,“btnCount”:0,“on”:false}
mg_rpc.c:293 RPC.Describe via WSS_out 148.251.54.236:443
online: true {“ram_free”:18260,“uptime”:297.251773,“btnCount”:0,“on”:false}
online: true {“ram_free”:18260,“uptime”:298.251845,“btnCount”:0,“on”:false}
mg_rpc.c:293 OTA.End via WSS_out 148.251.54.236:443
mgos_ota_core.c:811 Update finished, result -13 (Unexpected end of data)
online: true {“ram_free”:27548,“uptime”:299.250587,“btnCount”:0,“on”:false}
online: true {“ram_free”:27820,“uptime”:300.251885,“btnCount”:0,“on”:false}
online: true {“ram_free”:27812,“uptime”:301.251780,“btnCount”:0,“on”:false}
online: true {“ram_free”:27812,“uptime”:302.251709,“btnCount”:0,“on”:false}
online: true {“ram_free”:27812,“uptime”:303.251818,“btnCount”:0,“on”:false}
Does the file system size also matter for the ota or is it just ram?