[BG96 - DFOTA] - Error 702 for AT+QFOTADL

Hi !

I have an issue related to my Quectel BG96 Module.

For my application, I need to use the command AT+QICFG="recvind",1 in order to add a parameter at the end of an UDP unsolicited response.

This command isn’t implemented on the firmware of my module. According to the documents I found, it was added in revision 01.008.01.008 ; sadly my module is under the revision 01.007.01.007.

This is why I need to make a firmware update. I’ve turned to FOTA (Delta FOTA here in fact).

I’ve followed the instructions given in BG96 DFOTA User Guide (found here : http://www.dragino.com/downloads/downloads/NB-IoT/BG96/Quectel_BG96_DFOTA_User_Guide_V1.0.pdf) ; I’ve only found this .bin file as a delta firmware file between 01.007.01.007 and 01.008.01.008 (tutorial & file here : https://forum.rakwireless.com/t/how-to-upgrade-the-firmware-of-bg96-on-itracker-module/37/2).

I’ve uploaded to a AWS S3 Bucket ; and tried to download it & update it. Below is a log of what happened but I basically got a +QIND: "FOTA","HTTPEND",702␍␊ after 6 minutes.

Can you help me achieve the firmware update by any mean ? Is the file that I got a valid one (even thought it’s a .bin one instead of a .zip one) ? Do you have any idea of a similar command that I would’ve missed available in 01.007.01.007 ?

Thanks a lot for your help,

Thomas


Here’s the log :

[16:17:37:700] AT+QGMR␍␍␊
[16:17:37:700] BG96MAR02A07M1G_01.007.01.007␍␊
[16:17:37:700] ␍␊
[16:17:37:700] OK␍␊
[16:18:13:645] AT+CGDCONT?␍␍␊
[16:18:13:645] +CGDCONT: 1,"IP","iotinternet","0.0.0.0",0,0,0,0␍␊
[16:18:13:656] ␍␊
[16:18:13:656] OK␍␊
[16:18:18:906] AT+CSQ?␍␍␊
[16:18:18:906] +CME ERROR: 3␍␊
[16:18:24:042] AT+CSQ␍␍␊
[16:18:24:042] +CSQ: 16,99␍␊
[16:18:24:042] ␍␊
[16:18:24:042] OK␍␊
[16:18:29:102] AT+COPS?␍␍␊
[16:18:29:102] +COPS: 0,0,"F SFR",0␍␊
[16:18:29:102] ␍␊
[16:18:29:102] OK␍␊
[16:18:34:984] AT+CREG?␍␍␊
[16:18:34:984] +CREG: 0,1␍␊
[16:18:34:984] ␍␊
[16:18:34:984] OK␍␊
[16:18:43:529] AT+CGREG?␍␍␊
[16:18:43:529] +CGREG: 0,1␍␊
[16:18:43:529] ␍␊
[16:18:43:529] OK␍␊
[16:19:02:198] AT+QFOTADL="https://http-dfota-test.s3.eu-west-3.amazonaws.com/dfota07-08.bin"␍␍␊
[16:19:02:255] OK␍␊
[16:19:02:255] ␍␊
[16:19:02:255] +QIND: "FOTA","HTTPSTART"␍␊
[16:26:03:051] ␍␊
[16:26:03:051] +QIND: "FOTA","HTTPEND",702␍␊

“Http err702 ” means that http timeout, it depend on your environment of network

you can try this DFOTA package with local way

by at cmd: AT+QFOTADL=1 //dfota locally

I attached 2 at log for your reference

https://cnquectel-my.sharepoint.com/:f:/g/personal/america-fae_quectel_com/EhS4NJ3InjBHnbFjWOsl-uUBdj48QnKe0oXnaF1KbQN7Lg?e=B6lo6q

Hi !

Thanks for your quick answer.
I tried to upload my file to the EUFS:/fota/ folder with the command AT+QFUPL="EUFS:/fota/update.zip",3186203␍␍␊ and I received : +CME ERROR: 406␍␊ meaning “Invalid file name”.

I tried to see what was inside the EUFS folder and tried several commands, always ending with +CME ERROR: 425␍␊ meaning “Invalid parameter”.

Do you have any clue on this ?

Also, do you know if the.bin file is correct as a delta firmware between 007 and 008 ?

Thanks a lot !


[10:09:16:942] AT+QFUPL="EUFS:/fota/update.zip",3186203␍␍␊
[10:09:16:942] +CME ERROR: 406␍␊
[10:09:22:918] ␍␊
[10:10:08:843] AT+QFLDS␍␍␊
[10:10:08:843] +QFLDS: 0,0␍␊
[10:10:08:843] ␍␊
[10:10:08:843] OK␍␊
[10:10:33:027] AT+QFLDS="EUFS"␍␍␊
[10:10:33:027] +CME ERROR: 425␍␊
[10:10:43:837] ␍␊
[10:12:16:203] AT+QFLDS="UFS"␍␍␊
[10:12:16:203] +QFLDS: 12991936,14483456␍␊
[10:12:16:203] ␍␊
[10:12:16:203] OK␍␊
[10:12:25:300] AT+QFLDS␍␍␊
[10:12:25:300] +QFLDS: 0,0␍␊
[10:12:25:300] ␍␊
[10:12:25:300] OK␍␊
[10:13:08:803] AT+QFLST="EUFS:/fota/*"␍␍␊
[10:13:08:803] +CME ERROR: 425␍␊
[10:13:14:696] ␍␊
[10:13:25:062] AT+QFLST="EUFS:*"␍␍␊
[10:13:25:062] +CME ERROR: 425␍␊
[10:13:32:431] ␍␊
[10:13:42:970] AT+QFLST="*"␍␍␊
[10:13:42:970] OK␍␊

Sorry to do this, but I’d like an answer as I’m stuck.

Sorry for the inconvenience.

Best regards,

Thomas