How to upgrate the firmware of BG96 on itracker module?

(Fomi Tong) #1

How to upgrate the firmware of BG96 on itracker module?

0 Likes

(Fomi Tong) #2

You can upgrate the firmware of BG96 on itracker module through FOTA. Just according to the following tutorial to do it:

Quectel provides a method to update the firmware of BG96 via DFOTA (Delta Firmware Upgrade Over-the-air). And it is a simple way as below:

  1. Make sure your moudle has connected to operator net, you can query by the relevant AT commands are listed below:
     Query signal quality: AT+CSQ
     Query network registration status: AT+CREG? or AT+CGREG?
     Query the registered operator: AT+COPS?
    My test is based on 2G with China Mobile, and my init code is shown in the attached file.
  2. Put the delta firmware on HTTP server
  3. Execute AT+QFOTADL command. Then the module will automatically download the package from HTTP server via LTE/GPRS network and finally automatically upgrade the module’s firmware.

4.Use command :ATI to see the firmware version. For example, the response like below:
0> Quectel
0> BG96
0> Revision: BG96MAR02A 05 M1G (05 is the version num)

The overall process:

  1. moudle connect to operator net
  2. put firmware on http server and the address is like : https://www.quectel.com:100/update.zip
  3. use command and update finish automatically.
    AT+QFOTADL=“https://www.quectel.com:100/update.zip
    OK
    +QIND: “FOTA”,“HTTPTART”
    +QIND: “FOTA”,“HTTPEND”,0 //Finish downloading the package from HTTP server.
    +QIND: “FOTA”,“START”
    +QIND: “FOTA”,“UPDATING”, 1%
    +QIND: “FOTA”,“UPDATING”, 2%

    +QIND: “FOTA”,“UPDATING”, 100%
    +QIND: “FOTA”,“RESTORE”, 1%
    +QIND: “FOTA”,“RESTORE”, 2%

PS: attached file is below:

  1. my example init code (connect to net)
    0_1538208624689_example init.txt
  2. update firmware from 05 to 06 version and 06 to 05 version
    0_1538208656508_BG96MAR02A05V12M1G–A06V04.zip
  3. detailed process of DFOTA by Quectel
    0_1538208670235_Quectel_BG96_DFOTA_User_Guide_V1.0.pdf

Add new firmware:
from 06 to 07:
0_1548318088858_BG96MAR02A06M1G-BG96MAR02A07M1G.zip

07 back to 06:
0_1548318227692_BG96MAR02A07M1G-BG96MAR02A06M1G.zip

05 to 07 :
0_1548383747106_BG96MAR02A05V12M1G-A07.zip

07 to 07.01:
0_1548383791298_BG96MAR02A07-BG96MAR02A07.01.007.01.007.zip

07.01 to 08:
0_1548384052213_BG96MAR02A07M1G_01.007.01.007-BG96MAR02A08M1G_01.008.01.008.bin

Note:

  1. The order of update must to be obeyed and no skip.
  2. AT+QFOTADL=<URL>, the length of URL is better to be less than 97. So the name of file can be renamed.
0 Likes