Luat_V0029_8955_TTS1
TTS固件的剩余空间非常有限的
远程升级文件下载成功,但是重启后的启动过程报错,远程升级 失败,依旧运行老固件,新老固件只差个版本号,剩余FLASH :150016 Bytes,远程升级文件大小50K
[2018-10-11 11:35:59.394]: [LzmaUncompressFile]: write file error!
[2018-10-11 11:35:59.575]: [parse_luadb_data]: luadb error -8 ==========》报错
[2018-10-11 11:35:59.578]: parse_luadb_data:delupdpack=1,err=-8,section=0,wrFile=1
具体TRACE如下:
[2018-10-11 11:35:48.731]: [E]-[errDump.appendErr]restart[updatecbFnc.downloadResult=true];=======>远程升级成功,重启系统
[2018-10-11 11:35:48.733]: lualibc_fopen_ext /lib_err.txt w+b 602 1 2
[2018-10-11 11:35:49.009]: (0x00000057)模块软件开机中。。。
[2018-10-11 11:35:58.155]: CDFU_LoadSection: %d-%d
[2018-10-11 11:35:58.158]: CDFU_LoadSection: %d-%d
[2018-10-11 11:35:58.161]: ====================================
[2018-10-11 11:35:58.163]: INTR VER :Luat_V0029_8955_TTS1
[2018-10-11 11:35:58.168]: BASE VER :B5561
[2018-10-11 11:35:58.170]: SCRIPT ADDR :0x00380000
[2018-10-11 11:35:58.172]: SCRIPT SIZE :0x00036000
[2018-10-11 11:35:58.175]: BASE ADDR :0x00330000
[2018-10-11 11:35:58.177]: BASE SIZE :0x00050000
[2018-10-11 11:35:58.181]: ====================================
[2018-10-11 11:35:58.184]: [cust_task_main]: Enter message loop
[2018-10-11 11:35:58.187]: lualibc_fopen_ext /luazip/update.bin rb 0 1 2
[2018-10-11 11:35:58.192]: lualibc_fopen_ext /lua/audio.lua wb 601 1 2
[2018-10-11 11:35:58.195]: lualibc_fopen_ext /lua/clib.lua wb 601 1 2
[2018-10-11 11:35:58.199]: lualibc_fopen_ext /lua/common.lua wb 601 1 2
[2018-10-11 11:35:58.202]: lualibc_fopen_ext /lua/config.lua wb 601 1 2
[2018-10-11 11:35:58.204]: lualibc_fopen_ext /lua/errDump.lua wb 601 1 2
[2018-10-11 11:35:58.208]: lualibc_fopen_ext /lua/http.lua wb 601 1 2
[2018-10-11 11:35:58.211]: lualibc_fopen_ext /lua/link.lua wb 601 1 2
[2018-10-11 11:35:58.215]: lualibc_fopen_ext /lua/lock.lua wb 601 1 2
[2018-10-11 11:35:58.218]: lualibc_fopen_ext /lua/log.lua wb 601 1 2
[2018-10-11 11:35:58.223]: lualibc_fopen_ext /lua/main.lua wb 601 1 2
[2018-10-11 11:35:58.226]: lualibc_fopen_ext /lua/misc.lua wb 601 1 2
[2018-10-11 11:35:58.230]: lualibc_fopen_ext /lua/mycommon.lua wb 601 1 2
[2018-10-11 11:35:58.233]: lualibc_fopen_ext /lua/myfs.lua wb 601 1 2
[2018-10-11 11:35:58.237]: lualibc_fopen_ext /lua/mygps.lua wb 601 1 2
[2018-10-11 11:35:58.240]: lualibc_fopen_ext /lua/mymaths.lua wb 601 1 2
[2018-10-11 11:35:58.243]: lualibc_fopen_ext /lua/mypara.lua wb 601 1 2
[2018-10-11 11:35:58.247]: lualibc_fopen_ext /lua/mypowerKey.lua wb 601 1 2
[2018-10-11 11:35:58.251]: lualibc_fopen_ext /lua/mytime.lua wb 601 1 2
[2018-10-11 11:35:58.252]: lualibc_fopen_ext /lua/mywdt.lua wb 601 1 2
[2018-10-11 11:35:58.253]: lualibc_fopen_ext /lua/net.lua wb 601 1 2
[2018-10-11 11:35:58.255]: lualibc_fopen_ext /lua/ntp.lua wb 601 1 2
[2018-10-11 11:35:58.257]: lualibc_fopen_ext /lua/nvm.lua wb 601 1 2
[2018-10-11 11:35:58.258]: lualibc_fopen_ext /lua/patch.lua wb 601 1 2
[2018-10-11 11:35:58.260]: lualibc_fopen_ext /lua/pins.lua wb 601 1 2
[2018-10-11 11:35:58.261]: lualibc_fopen_ext /lua/pm.lua wb 601 1 2
[2018-10-11 11:35:58.492]: lualibc_fopen_ext /lua/protocol.lua wb 601 1 2
[2018-10-11 11:35:59.394]: [LzmaUncompressFile]: write file error!
[2018-10-11 11:35:59.575]: [parse_luadb_data]: luadb error -8 ==========》报错
[2018-10-11 11:35:59.578]: parse_luadb_data:delupdpack=1,err=-8,section=0,wrFile=1
[2018-10-11 11:36:01.043]: FH:file=/lua/utils.lua,len=2839,offset=152183
[2018-10-11 11:36:01.048]: FH:file=/lua/update.lua,len=2249,offset=149907
[2018-10-11 11:36:01.050]: FH:file=/lua/timertask.lua,len=2609,offset=147270
[2018-10-11 11:36:01.054]: FH:file=/lua/sys.lua,len=5718,offset=141521
[2018-10-11 11:36:01.057]: FH:file=/lua/socketTask.lua,len=2225,offset=139271
[2018-10-11 11:36:01.059]: FH:file=/lua/socketOutMsg.lua,len=648,offset=138591
[2018-10-11 11:36:01.063]: FH:file=/lua/socketInMsg.lua,len=335,offset=138222
[2018-10-11 11:36:01.065]: FH:file=/lua/socket.lua,len=11263,offset=126926
[2018-10-11 11:36:01.068]: FH:file=/lua/sim.lua,len=1110,offset=125788
[2018-10-11 11:36:01.069]: FH:file=/lua/ril.lua,len=7850,offset=117913
[2018-10-11 11:36:01.070]: FH:file=/lua/rc522.lua,len=13993,offset=103895
[2018-10-11 11:36:01.071]: FH:file=/lua/protocol.lua,len=16521,offset=87347
[2018-10-11 11:36:01.072]: FH:file=/lua/pm.lua,len=474,offset=86843
[2018-10-11 11:36:01.073]: FH:file=/lua/pins.lua,len=1132,offset=85687
[2018-10-11 11:36:01.168]: FH:fi
[2018-10-11 11:36:01.315]: (0x00000057)模块软件开机中。。。 ==============》自动重启,后面运行的还是老固件
[2018-10-11 11:36:05.869]: CDFU_LoadSection: %d-%d
[2018-10-11 11:36:05.872]: CDFU_LoadSection: %d-%d
[2018-10-11 11:36:05.874]: ====================================
[2018-10-11 11:36:05.875]: INTR VER :Luat_V0029_8955_TTS1
[2018-10-11 11:36:05.878]: BASE VER :B5561
[2018-10-11 11:36:05.880]: SCRIPT ADDR :0x00380000
[2018-10-11 11:36:05.884]: SCRIPT SIZE :0x00036000
[2018-10-11 11:36:05.888]: BASE ADDR :0x00330000
[2018-10-11 11:36:05.890]: BASE SIZE :0x00050000
[2018-10-11 11:36:05.892]: ====================================
[2018-10-11 11:36:05.895]: [cust_task_main]: Enter message loop
[2018-10-11 11:36:05.897]: lualibc_fopen_ext /integrity.bin rb 0 1 2
[2018-10-11 11:36:05.900]: lualibc_fopen_ext /integrity.bin rb 0 1 2
[2018-10-11 11:36:05.902]: INTEGRITY file correct!
[2018-10-11 11:36:05.904]: FH:file=/lua/utils.lua,len=2839,offset=152183
[2018-10-11 11:36:05.908]: FH:file=/lua/update.lua,len=2249,offset=149907
[2018-10-11 11:36:05.913]: FH:file=/lua/timertask.lua,len=2609,offset=147270
[2018-10-11 11:36:05.916]: FH:file=/lua/sys.lua,len=5718,offset=141521
[2018-10-11 11:36:05.917]: FH:file=/lua/socketTask.lua,len=2225,offset=139271
[2018-10-11 11:36:05.918]: FH:file=/lua/socketOutMsg.lua,len=648,offset=138591
[2018-10-11 11:36:05.919]: FH:file=/lua/socketInMsg.lua,len=335,offset=138222
[2018-10-11 11:36:05.920]: FH:file=/lua/socket.lua,len=11263,offset=126926
[2018-10-11 11:36:05.922]: FH:file=/lua/sim.lua,len=1110,offset=125788
[2018-10-11 11:36:05.923]: FH:file=/lua/ril.lua,len=7850,offset=117913
[2018-10-11 11:36:05.925]: FH:file=/lua/rc522.lua,len=13993,offset=103895
[2018-10-11 11:36:05.927]: FH:file=/lua/protocol.lua,len=16521,offset=87347
[2018-10-11 11:36:05.929]: FH:file=/lua/pm.lua,len=474,offset=86843
[2018-10-11 11:36:05.930]: FH:file=/lua/pins.lua,len=1132,offset=85687
[2018-10-11 11:36:05.931]: FH:file=/lua/patch.lua,len=1186,offset=84475
[2018-10-11 11:36:05.933]: FH:file=/lua/nvm.lua,len=3301,offset=81147
[2018-10-11 11:36:05.935]: FH:file=/lua/ntp.lua,len=1972,offset=79150
[2018-10-11 11:36:05.936]: FH:file=/lua/net.lua,len=5181,offset=73944
[2018-10-11 11:36:05.938]: FH:file=/lua/mywdt.lua,len=720,offset=73199
[2018-10-11 11:36:05.939]: FH:file=/lua/mytime.lua,len=1830,offset=71342
[2018-10-11 11:36:05.941]: FH:file=/lua/mypowerKey.lua,len=833,offset=70481
[2018-10-11 11:36:05.942]: FH:file=/lua/mypara.lua,len=874,offset=69575
[2018-10-11 11:36:05.943]: FH:file=/lua/mymaths.lua,len=144,offset=69403
[2018-10-11 11:36:05.944]: FH:file=/lua/mygps.lua,len=14800,offset=54574
[2018-10-11 11:36:05.945]: FH:file=/lua/myfs.lua,len=2625,offset=51922
[2018-10-11 11:36:05.946]: FH:file=/lua/mycommon.lua,len=6105,offset=45791
[2018-10-11 11:36:05.947]: FH:file=/lua/misc.lua,len=3393,offset=42368
[2018-10-11 11:36:05.948]: FH:file=/lua/main.lua,len=649,offset=41693
[2018-10-11 11:36:05.950]: FH:file=/lua/log.lua,len=1174,offset=40493
[2018-10-11 11:36:05.952]: FH:file=/lua/lock.lua,len=18287,offset=22181
[2018-10-11 11:36:05.954]: FH:file=/lua/link.lua,len=2743,offset=19412
[2018-10-11 11:36:05.956]: FH:file=/lua/http.lua,len=6628,offset=12758
[2018-10-11 11:36:05.961]: FH:file=/lua/errDump.lua,len=2491,offset=10241
[2018-10-11 11:36:05.963]: FH:file=/lua/config.lua,len=282,offset=9930
[2018-10-11 11:36:05.967]: FH:file=/lua/common.lua,len=4186,offset=5716
[2018-10-11 11:36:05.969]: FH:file=/lua/clib.lua,len=489,offset=5199
[2018-10-11 11:36:05.970]: FH:file=/lua/audio.lua,len=5122,offset=51
[2018-10-11 11:36:05.973]: parse_luadb_data:delupdpack=0,err=0,section=1,wrFile=0
[2018-10-11 11:36:05.974]: [fopen_ext]: /lua/main.lua 2!
[2018-10-11 11:36:05.976]: RUN main.lua
[2018-10-11 11:36:05.978]: [fopen_ext]: /lua/main.lua 2!
[2018-10-11 11:36:05.979]: [fopen_ext]: /lua/log.lua 2!
[2018-10-11 11:36:05.981]: [fopen_ext]: /lua/log.lua 2!
[2018-10-11 11:36:05.983]: [fopen_ext]: /lua/sys.lua 2!
[2018-10-11 11:36:05.985]: [fopen_ext]: /lua/sys.lua 2!
[2018-10-11 11:36:05.988]: [fopen_ext]: /lua/utils.lua 2!
[2018-10-11 11:36:05.992]: [fopen_ext]: /lua/utils.lua 2!
[2018-10-11 11:36:05.995]: [fopen_ext]: /lua/patch.lua 2!
[2018-10-11 11:36:05.997]: [fopen_ext]: /lua/patch.lua 2!
[2018-10-11 11:36:06.000]: [fopen_ext]: /lua/clib.lua 2!
[2018-10-11 11:36:06.002]: [fopen_ext]: /lua/clib.lua 2!
[2018-10-11 11:36:06.006]: [fopen_ext]: /lua/net.lua 2!
[2018-10-11 11:36:06.008]: [fopen_ext]: /lua/net.lua 2!
[2018-10-11 11:36:06.010]: [fopen_ext]: /lua/ril.lua 2!
[2018-10-11 11:36:06.012]: [fopen_ext]: /lua/ril.lua 2!
[2018-10-11 11:36:06.013]: [fopen_ext]: /lua/sim.lua 2!
[2018-10-11 11:36:06.015]: [fopen_ext]: /lua/sim.lua 2!
[2018-10-11 11:36:06.016]: [fopen_ext]: /lua/mywdt.lua 2!
[2018-10-11 11:36:06.017]: [fopen_ext]: /lua/mywdt.lua 2!
[2018-10-11 11:36:06.019]: [fopen_ext]: /lua/pins.lua 2!
[2018-10-11 11:36:06.020]: [fopen_ext]: /lua/pins.lua 2!
[2018-10-11 11:36:06.022]: [I]-[wdt.taskWdt]AirM2M --> WATCHDOG : OK
[2018-10-11 11:36:06.023]: [fopen_ext]: /lua/errDump.lua 2!
[2018-10-11 11:36:06.024]: [fopen_ext]: /lua/errDump.lua 2!
[2018-10-11 11:36:06.026]: [fopen_ext]: /lua/socket.lua 2!
[2018-10-11 11:36:06.027]: [fopen_ext]: /lua/socket.lua 2!
[2018-10-11 11:36:06.028]: [fopen_ext]: /lua/link.lua 2!
[2018-10-11 11:36:06.029]: [fopen_ext]: /lua/link.lua 2!
[2018-10-11 11:36:06.031]: [fopen_ext]: /lua/misc.lua 2!
[2018-10-11 11:36:06.032]: [fopen_ext]: /lua/misc.lua 2!
[2018-10-11 11:36:06.034]: lualibc_fopen_ext /lib_err.txt rb 0 1 2
[2018-10-11 11:36:06.035]: [E]-[errDump.libErr]restart[updatecbFnc.downloadResult=true];
[2018-10-11 11:36:06.108]: [fopen_ext]: /lua/update.lua 2!
[2018-10-11 11:36:06.110]: [fopen_ext]: /lua/update.lua 2!
[2018-10-11 11:36:06.111]: [fopen_ext]: /lua/http.lua 2!
[2018-10-11 11:36:06.113]: [fopen_ext]: /lua/http.lua 2!
[2018-10-11 11:36:06.115]: [fopen_ext]: /lua/common.lua 2!
[2018-10-11 11:36:06.116]: [fopen_ext]: /lua/common.lua 2!
[2018-10-11 11:36:06.117]: [fopen_ext]: /lua/mycommon.lua 2!
[2018-10-11 11:36:06.119]: [fopen_ext]: /lua/mycommon.lua 2!
[2018-10-11 11:36:06.120]: [fopen_ext]: /lua/mytime.lua 2!
[2018-10-11 11:36:06.121]: [fopen_ext]: /lua/mytime.lua 2!
[2018-10-11 11:36:06.123]: [fopen_ext]: /lua/ntp.lua 2!
[2018-10-11 11:36:06.124]: [fopen_ext]: /lua/ntp.lua 2!
[2018-10-11 11:36:06.126]: [fopen_ext]: /lua/mypara.lua 2!
[2018-10-11 11:36:06.127]: [fopen_ext]: /lua/mypara.lua 2!
[2018-10-11 11:36:06.129]: [fopen_ext]: /lua/config.lua 2!
[2018-10-11 11:36:06.130]: [fopen_ext]: /lua/config.lua 2!
[2018-10-11 11:36:06.131]: [fopen_ext]: /lua/nvm.lua 2!
[2018-10-11 11:36:06.133]: [fopen_ext]: /lua/nvm.lua 2!
[2018-10-11 11:36:06.135]: lualibc_fopen_ext /nvm_para.lua rb 0 1 2
[2018-10-11 11:36:06.136]: load fExist fBakExisttruenil
[2018-10-11 11:36:06.137]: lualibc_fopen_ext /nvm_para.lua r 0 1 2
[2018-10-11 11:36:06.139]: lualibc_fopen_ext /nvm_para.lua r 0 1 2
[2018-10-11 11:36:06.140]: load fResulttrue
[2018-10-11 11:36:06.141]: [fopen_ext]: /lua/mygps.lua 2!
[2018-10-11 11:36:06.142]: [fopen_ext]: /lua/mygps.lua 2!
[2018-10-11 11:36:06.143]: [fopen_ext]: /lua/pm.lua 2!
[2018-10-11 11:36:06.143]: [fopen_ext]: /lua/pm.lua 2!
[2018-10-11 11:36:06.145]: [fopen_ext]: /lua/mymaths.lua 2!
[2018-10-11 11:36:06.146]: [fopen_ext]: /lua/mymaths.lua 2!
[2018-10-11 11:36:06.147]: [fopen_ext]: /lua/socketTask.lua 2!
[2018-10-11 11:36:06.148]: [fopen_ext]: /lua/socketTask.lua 2!
[2018-10-11 11:36:06.149]: [fopen_ext]: /lua/socketOutMsg.lua 2!
[2018-10-11 11:36:06.149]: [fopen_ext]: /lua/socketOutMsg.lua 2!
[2018-10-11 11:36:06.150]: [fopen_ext]: /lua/socketInMsg.lua 2!
[2018-10-11 11:36:06.151]: [fopen_ext]: /lua/socketInMsg.lua 2!
[2018-10-11 11:36:06.152]: [fopen_ext]: /lua/myfs.lua 2!
[2018-10-11 11:36:06.153]: [fopen_ext]: /lua/myfs.lua 2!
[2018-10-11 11:36:06.154]: myFSget_fs_free_size: 150016 Bytes
[2018-10-11 11:36:06.155]: myFSMake_dir_OK
[2018-10-11 11:36:06.156]: [I]-[SOCKET.ServerADDR=177.188.152.1]
[2018-10-11 11:36:06.157]: [I]-[SOCKET.ServerPORT=6009]
[2018-10-11 11:36:06.158]: [I]-[SOCKET.myAPNS=nil]
[2018-10-11 11:36:06.159]: [I]-[SOCKET.wait IP Ready]
[2018-10-11 11:36:06.160]: [fopen_ext]: /lua/protocol.lua 2!
[2018-10-11 11:36:06.161]: [fopen_ext]: /lua/protocol.lua 2!
[2018-10-11 11:36:06.162]: [I]-[gps.open]1gps1nilfunction: 0x821f84c8
[2018-10-11 11:36:06.163]: [I]-[protocol.gpsPowerSWCb]GPS开启
[2018-10-11 11:36:06.164]: [I]-[gps._open]
[2018-10-11 11:36:06.164]: [I]-[MQBC_WAIT_BEGIN]
[2018-10-11 11:36:06.165]: gpsUPTimeLEN=30,long_connction_mode
[2018-10-11 11:36:06.166]: SpeedLimitValue=54
[2018-10-11 11:36:06.167]: [fopen_ext]: /lua/rc522.lua 2!
[2018-10-11 11:36:06.168]: [fopen_ext]: /lua/rc522.lua 2!