2017-12-05 07:58 AM
hi,
(i use last firmware AT-S.Var:nv_serial=17111984)
i test the AT cmd AT+S.FSUPDATE.
test1 with i -> application Flash (
AT+S.FSUPDATE=i,192.168.43.139,FatVolume_I.img,80,0,,
AT-S.Http Server Status Code:200AT-S.Write chunk:2048:8100000AT-S.Write chunk:2048:8100800AT-S.Write chunk:2048:8101000AT-S.Write chunk:2048:8101800AT-S.Write chunk:2048:8102000AT-S.Write chunk:2048:8102800AT-S.Write chunk:2048:8103000AT-S.Write chunk:2048:8103800AT-S.Write chunk:2048:8104000AT-S.Write chunk:2048:8104800AT-S.Write chunk:2048:8105000AT-S.OKThe verification with AT cmd AT+S.FSL is ok.
test2 with e -> user flash
AT+S.FSUPDATE=e,192.168.43.139,FatVolume_E.img,80,0,,
AT-S.Http Server Status Code:200AT-S.Write chunk:2048:8100000AT-S.Write chunk:2048:8100800AT-S.Write chunk:2048:8101000AT-S.Write chunk:2048:8101800AT-S.Write chunk:2048:8102000AT-S.Write chunk:2048:8102800AT-S.Write chunk:2048:8103000AT-S.Write chunk:2048:8103800AT-S.Write chunk:2048:8104000AT-S.Write chunk:2048:8104800AT-S.Write chunk:2048:8105000AT-S.OKsurprise address is 8100000 ! it must be 8110000, no?
The verification with AT cmd AT+S.FSL give nothing (same as test1)
I did something bad?
yoann
2017-12-06 12:16 AM
hi,
After investigation and help of ST support, thank you Gerardo, i fix my problem.
Reload FW V1.1.0. Check app_fs=1 and user_fs=0.
Run AT+S.FSUPDATE=i,192.168.43.139,FatVolume_I.img,80,0,, <- to load in App disk Vol3
AT-S.Http Server Status Code:200AT-S.Write chunk:2048:8100000AT-S.Write chunk:2048:8100800AT-S.Write chunk:2048:8101000AT-S.Write chunk:2048:8101800AT-S.Write chunk:2048:8102000AT-S.Write chunk:2048:8102800AT-S.Write chunk:2048:8103000AT-S.Write chunk:2048:8103800AT-S.Write chunk:2048:8104000AT-S.Write chunk:1536:8104800:19968AT-S.OKnext,
Run AT+S.FSUPDATE=e,192.168.43.139,FatVolume_E.img,80,0,, <- to load in Flash disk vol 1
AT-S.Http Server Status Code:200AT-S.Write chunk:2048:8110000AT-S.Write chunk:2048:8110800AT-S.Write chunk:2048:8111000AT-S.Write chunk:2048:8111800AT-S.Write chunk:2048:8112000AT-S.Write chunk:2048:8112800AT-S.Write chunk:2048:8113000AT-S.Write chunk:2048:8113800AT-S.Write chunk:2048:8114000AT-S.Write chunk:1536:8114800:19968AT-S.OKNow the adress is correct '8110000'.
And the verification with cmd AT+S.FSL is ok.
So i can manage now two memory sectors.
Note:
If app_disk will contain a file named “__LOCKED__�, than app_fs will be set as 2
.Yoann