# Update BG96 using Raspberry

**URL:** <https://community.sixfab.com/t/update-bg96-using-raspberry/1390>\
**Category:** Cellular IoT HAT\
**Created:** [May 20, 2021, 6:40pm UTC](https://community.sixfab.com/t/update-bg96-using-raspberry/1390 "2021-05-20T18:40:41Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![volano](https://community.sixfab.com/user_avatar/community.sixfab.com/volano/32/664_2.png) [@volano](https://community.sixfab.com/u/volano)\
**Post date:** [May 20, 2021, 6:40pm UTC](https://community.sixfab.com/t/update-bg96-using-raspberry/1390/1 "2021-05-20T18:40:41Z")

</div>

Hi there, is it possible to update the BG96 firmware via Raspberry Raspbian? If so, how?

---

<div class="post-metadata">

**Author:** ![saeed](https://community.sixfab.com/user_avatar/community.sixfab.com/saeed/32/694_2.png) [@saeed](https://community.sixfab.com/u/saeed)\
**Post date:** [May 21, 2021, 11:58am UTC](https://community.sixfab.com/t/update-bg96-using-raspberry/1390/2 "2021-05-21T11:58:24Z")

</div>

Hello,

Yes, the BG96 modules FW can be updated using the Linux OS(including Raspberry Pi OS).  
The [QFirehose](https://sixfab.com/wp-content/uploads/2021/02/LTE5G_QFirehose_LinuxAndroid_V1.2.zip) tool is required to accomplish the process. The guide is included with the tool.

The Firmware files are included in the **Firmware tab** of the [product page](https://sixfab.com/product/raspberry-pi-lte-m-nb-iot-egprs-cellular-hat/).

---

<div class="post-metadata">

**Author:** ![volano](https://community.sixfab.com/user_avatar/community.sixfab.com/volano/32/664_2.png) [@volano](https://community.sixfab.com/u/volano)\
**Post date:** [May 21, 2021, 8:46pm UTC](https://community.sixfab.com/t/update-bg96-using-raspberry/1390/3 "2021-05-21T20:46:05Z")

</div>

Dear saeed, thank you very much for your response.  
I downloaded QFirehose, compiled it and downloaded both firmware versions and unzipped them, too.  
This is what I get:

```
pi@raspberrypi:~ $ ./qfirehose/QFirehose -f BG96MAR02A10M1G_01.013.01.013/
[000.000] QFirehose Version: Quectel_LTE&5G_QFirehose_Linux&Android_V1.2
[000.001] Builded: May 21 2021 21:27:22
[000.001] Find md5 check file <BG96MAR02A10M1G_01.013.01.013/md5.txt>
[000.001] Totals checking 0 files md5 value, 0 file fail!
[000.001] qfirehose.c system_ready 94 fail
[000.001] qfirehose.c main 194 fail
pi@raspberrypi:~ $

```

What am I doing wrong? I already replaced the backslashes in md5.txt with normal slashes as I am using Linux (not Windows), but same result. Also for the other firmware version.

Do you know what else I can try?

---

<div class="post-metadata">

**Author:** ![volano](https://community.sixfab.com/user_avatar/community.sixfab.com/volano/32/664_2.png) [@volano](https://community.sixfab.com/u/volano)\
**Post date:** [May 22, 2021, 7:31pm UTC](https://community.sixfab.com/t/update-bg96-using-raspberry/1390/4 "2021-05-22T19:31:53Z")

</div>

An update to QFirehose 1.3.2 also yields same results:

```
$ sudo qfirehose1.3/QFirehose -f BG96MAR02A10M1G_01.013.01.013
[000.000]: QFirehose Version: Quectel_LTE&5G_QFirehose_Linux&Android_V1.3.2
[000.000]: Builded: May 22 2021 20:29:03
[000.000]: Find md5 check file <BG96MAR02A10M1G_01.013.01.013/md5.txt>
[000.000]: Totals checking 0 files md5 value, 0 file fail!
[000.000]: qfirehose.c system_ready 122 fail
[000.000]: qfirehose.c main 294 fail
pi@raspberrypi:~ $
```

---

<div class="post-metadata">

**Author:** ![saeed](https://community.sixfab.com/user_avatar/community.sixfab.com/saeed/32/694_2.png) [@saeed](https://community.sixfab.com/u/saeed)\
**Post date:** [May 24, 2021, 10:02am UTC](https://community.sixfab.com/t/update-bg96-using-raspberry/1390/5 "2021-05-24T10:02:26Z")

</div>

Hello,

Let us check with the OEM for this error as the error description is not available.  
Thank you

---

<div class="post-metadata">

**Author:** ![saeed](https://community.sixfab.com/user_avatar/community.sixfab.com/saeed/32/694_2.png) [@saeed](https://community.sixfab.com/u/saeed)\
**Post date:** [May 25, 2021, 1:29pm UTC](https://community.sixfab.com/t/update-bg96-using-raspberry/1390/6 "2021-05-25T13:29:57Z")

</div>

The issue is the old firmware version.

This is what we have learned.

> BG96 old release doesn’t support firehose protocol. Please use QFLASH to upgrade the module.

For the firmware update, you should use the Windows host and [QFlash](https://sixfab.com/wp-content/uploads/2021/02/QFlash_V4.19_EN.zip) tool.

---

<div class="post-metadata">

**Author:** ![volano](https://community.sixfab.com/user_avatar/community.sixfab.com/volano/32/664_2.png) [@volano](https://community.sixfab.com/u/volano)\
**Post date:** [May 25, 2021, 2:40pm UTC](https://community.sixfab.com/t/update-bg96-using-raspberry/1390/7 "2021-05-25T14:40:20Z")

</div>

Thank you very much again for the fast reply.

To connect the IoT HAT with Windows I need to connect it to a PC directly, correct? In the [FAQ](https://docs.sixfab.com/docs/raspberry-pi-cellular-iot-hat-faq) it says:

```
How can I use Cellular IoT HAT without stacking it on top of RPi and use it via USB?

To use the HAT Standalone, the [5V & VBUS](https://sixfab.com/wp-content/uploads/2020/12/Cellular-IoT-HAT-USB.jpg) needs to be shorted.

```

But I don’t know what “needs to be shorted” mean. Can you hint me to further information?

---

<div class="post-metadata">

**Author:** ![saeed](https://community.sixfab.com/user_avatar/community.sixfab.com/saeed/32/694_2.png) [@saeed](https://community.sixfab.com/u/saeed)\
**Post date:** [May 25, 2021, 2:45pm UTC](https://community.sixfab.com/t/update-bg96-using-raspberry/1390/8 "2021-05-25T14:45:15Z")

</div>

Yes, you will need to connect it to the Windows PC via USB. You will need the [USB driver](https://sixfab.com/wp-content/uploads/2021/02/Quectel_LTE_5G_Windows_USB_Driver_V2.1.zip) for the Windows PC here.

What is your current FW version of the module?

You can find the VBUS and the 5V on the HAT,  
 ![](https://community.sixfab.com/uploads/default/original/1X/0a22c565c7a1521b9d2816c12dc2c40b20fe4583.jpeg)

---

<div class="post-metadata">

**Author:** ![volano](https://community.sixfab.com/user_avatar/community.sixfab.com/volano/32/664_2.png) [@volano](https://community.sixfab.com/u/volano)\
**Post date:** [May 26, 2021, 6:52am UTC](https://community.sixfab.com/t/update-bg96-using-raspberry/1390/9 "2021-05-26T06:52:57Z")

</div>

I’m really sorry, I honestly don’t know what to do with these pins. I never did much with embedded and can’t follow the instruction in the FAQ to “shorten” these pins. I tried googling it with no success. Do I need to solder a special kind of USB cable onto them?

The firmware version is BG96MAR02A07M1G\_01.007.01.007.

---

<div class="post-metadata">

**Author:** ![saeed](https://community.sixfab.com/user_avatar/community.sixfab.com/saeed/32/694_2.png) [@saeed](https://community.sixfab.com/u/saeed)\
**Post date:** [May 28, 2021, 8:02am UTC](https://community.sixfab.com/t/update-bg96-using-raspberry/1390/10 "2021-05-28T08:02:04Z")

</div>

Hello,

You can solder a wire/jumper in these 2 points. The aim is to connect these pins together.
