# Firmware not upgraded with swiflash

**URL:** https://mangoh.discourse.group/t/firmware-not-upgraded-with-swiflash/2677
**Category:** Uncategorized
**Created:** [June 3, 2019, 8:44am UTC](https://mangoh.discourse.group/t/firmware-not-upgraded-with-swiflash/2677 "2019-06-03T08:44:00Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mango](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@mango](https://mangoh.discourse.group/u/mango)
#### Post date: [June 3, 2019, 8:44am UTC](https://mangoh.discourse.group/t/firmware-not-upgraded-with-swiflash/2677/1 "2019-06-03T08:44:01Z")

</div>

using ‘swiflash’ tool on mangOH red board WP7702 to upgrade firmware with custom built kernel (with enabled BT module in kernel)  
it gives no error, but firmware not upgraded in fact

this is before update:  
 ![wp_ver_before_update](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/1X/85419791a94ca634847f4c322466fdb5a1fd5860.png)

and this is after:  
 ![after_update](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/1X/e2a0859bb3a44cec6ec757b07f18775f72eecec8.png)

commands I used to update:

_\> ssh [root@192.168.2.2](mailto:root@192.168.2.2)_  
_\> microcom /dev/ttyAT_  
_AT!BOOTHOLD_

_\> swiflash -m “wp77xx” -i WP77\_Firmware.skp_

---

<div class="post-metadata">

### Author: ![ktanikel](https://avatars.discourse-cdn.com/v4/letter/k/bcef8e/32.png) [@ktanikel](https://mangoh.discourse.group/u/ktanikel)
#### Post date: [June 4, 2019, 9:01pm UTC](https://mangoh.discourse.group/t/firmware-not-upgraded-with-swiflash/2677/2 "2019-06-04T21:01:57Z")

</div>

Have you tried without the boothold? I’ve never had to use it with swiflash. You can try fdt2 on Windows as an alternative.

---

<div class="post-metadata">

### Author: ![Jordanz](https://avatars.discourse-cdn.com/v4/letter/j/b2d939/32.png) [@Jordanz](https://mangoh.discourse.group/u/Jordanz)
#### Post date: [June 5, 2019, 4:54am UTC](https://mangoh.discourse.group/t/firmware-not-upgraded-with-swiflash/2677/3 "2019-06-05T04:54:35Z")

</div>

I got no such issue with official firmware WPx5xx\_Release16.1\_GENERIC.spk.

Two alternative ways to upgrade module with custom firmware:  
Case 1:

1. Install swicwe tool
2. To build your own combined image custom-firmware.spk from the following components:  
Modem Firmware: modemFW.spk  
MCU Firmware: mcuFW.cwe  
Linux Distribution: boot-yocto.cwe  
Base Legato System: legatoz.cwe

you need to launch the following command line:  
swicwe -o custom-firmware.spk -c modemFW.spk mcuFW.cwe boot-yocto.cwe legatoz.cwe

Case 2:

1. Download the Firmware .SPK file according to your carrier:  
R16.1 (Generic — GCF/PTCRB) — WP7502, WP7504, WP8548  
R16.1 (AT&T) — WP7504, WP8548  
R16.1 (Sprint) — WP7504

2. Connect the target’s (e.g mangOH) USB cable to your host

3. Open a terminal and execute the Legato command line:  
fwupdate download 192.168.2.2

---

<div class="post-metadata">

### Author: ![mango](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@mango](https://mangoh.discourse.group/u/mango)
#### Post date: [June 5, 2019, 6:04am UTC](https://mangoh.discourse.group/t/firmware-not-upgraded-with-swiflash/2677/4 "2019-06-05T06:04:45Z")

</div>

yes, tried first of all without boothold, also tried Windows tools (Developer Studio) - also give no error, and not flash
