# Cannot update FW success in R16

**URL:** <https://forum.sierrawireless.com/t/cannot-update-fw-success-in-r16/30002>\
**Category:** WP Series\
**Created:** [June 16, 2023, 6:02am UTC](https://forum.sierrawireless.com/t/cannot-update-fw-success-in-r16/30002 "2023-06-16T06:02:48Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![larry1](https://avatars.discourse-cdn.com/v4/letter/l/f14d63/32.png) [@larry1](https://forum.sierrawireless.com/u/larry1)\
**Post date:** [June 16, 2023, 6:02am UTC](https://forum.sierrawireless.com/t/cannot-update-fw-success-in-r16/30002/1 "2023-06-16T06:02:48Z")

</div>

Hi,

I cannot download the FW success.

My step is below:  
Failed steps:

1. update to R16 generic image.
2. modify some init file in yocto source then compile.
3. update to custom image. (This time will be success)
4. modify some init file in yocto source then compile.
5. update to custom image. (This time will be failed)

I always can update success when I update to R12 and do reset then update to original R16 and update custom R16 image.

So I want to know where R17 is supported reset command?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [June 16, 2023, 6:31am UTC](https://forum.sierrawireless.com/t/cannot-update-fw-success-in-r16/30002/2 "2023-06-16T06:31:42Z")

</div>

what reset command do you mean?

Here says you cannot downgrade after upgrading to R17:  
[https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-17/#sthash.9jSgC307.dpbs](https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-17/#sthash.9jSgC307.dpbs)

---

<div class="post-metadata">

**Author:** ![larry1](https://avatars.discourse-cdn.com/v4/letter/l/f14d63/32.png) [@larry1](https://forum.sierrawireless.com/u/larry1)\
**Post date:** [June 16, 2023, 6:32am UTC](https://forum.sierrawireless.com/t/cannot-update-fw-success-in-r16/30002/3 "2023-06-16T06:32:48Z")

</div>

> [@jyijyi](#):
>
> mean

Like R12 swiflash -m wp76xx -r erase USER partition

BTW I use swiflash to update SPK file  
It seems no response

 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/2/2f083ee285a45c4282681304c2ba29451f12de24.png)

and console stuck

 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/9/94951c461870aa789b735cfe2d476396bd8c5f62.png)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [June 16, 2023, 6:33am UTC](https://forum.sierrawireless.com/t/cannot-update-fw-success-in-r16/30002/4 "2023-06-16T06:33:40Z")

</div>

starting from R13, you cannot run that, you need to delete the userapp partition manually  
e.g.

> [@Swiflash -r broken with release 12 on wp77xx?](https://forum.sierrawireless.com/t/swiflash-r-broken-with-release-12-on-wp77xx/20957/2):
>
> According to the release note of fw r12, QTI9X07-2870 is to fix userapp partition being erased which is security hole. You might also try the following without downgrading to older version: (Be careful of the mtd number, different FW might have different mtd number for userapp partition !!! ) root@swi-mdm9x28-wp:~# cat /proc/mtd|grep userapp -i mtd16: 08300000 00040000 "userapp" root@swi-mdm9x28-wp:~# pwd /home/root root@swi-mdm9x28-wp:~# ls UART\_Test1.wp77xx.update root@swi-mdm9x28-wp:~# fl…

---

<div class="post-metadata">

**Author:** ![larry1](https://avatars.discourse-cdn.com/v4/letter/l/f14d63/32.png) [@larry1](https://forum.sierrawireless.com/u/larry1)\
**Post date:** [June 16, 2023, 6:38am UTC](https://forum.sierrawireless.com/t/cannot-update-fw-success-in-r16/30002/5 "2023-06-16T06:38:21Z")

</div>

> [@Swiflash -r broken with release 12 on wp77xx?](https://forum.sierrawireless.com/t/swiflash-r-broken-with-release-12-on-wp77xx/20957/2):
>
> cat /proc/mtd|grep userapp

Does it same as USER1 partition?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/b/baa3bc8981155cf69795c3714ce15082a02c1aef.png)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [June 16, 2023, 6:40am UTC](https://forum.sierrawireless.com/t/cannot-update-fw-success-in-r16/30002/6 "2023-06-16T06:40:14Z")

</div>

didn’t it say it is erasing userapp partition?

---

<div class="post-metadata">

**Author:** ![larry1](https://avatars.discourse-cdn.com/v4/letter/l/f14d63/32.png) [@larry1](https://forum.sierrawireless.com/u/larry1)\
**Post date:** [June 16, 2023, 6:44am UTC](https://forum.sierrawireless.com/t/cannot-update-fw-success-in-r16/30002/7 "2023-06-16T06:44:45Z")

</div>

> [@larry1](#):
>
> Like R12 swiflash -m wp76xx -r erase USER partition

So I need like “-r” command to reset USER1 partition

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [June 16, 2023, 6:58am UTC](https://forum.sierrawireless.com/t/cannot-update-fw-success-in-r16/30002/8 "2023-06-16T06:58:33Z")

</div>

have you checked this?

> [@Swiflash -r broken with release 12 on wp77xx?](https://forum.sierrawireless.com/t/swiflash-r-broken-with-release-12-on-wp77xx/20957/2):
>
> According to the release note of fw r12, QTI9X07-2870 is to fix userapp partition being erased which is security hole. You might also try the following without downgrading to older version: (Be careful of the mtd number, different FW might have different mtd number for userapp partition !!! ) root@swi-mdm9x28-wp:~# cat /proc/mtd|grep userapp -i mtd16: 08300000 00040000 "userapp" root@swi-mdm9x28-wp:~# pwd /home/root root@swi-mdm9x28-wp:~# ls UART\_Test1.wp77xx.update root@swi-mdm9x28-wp:~# fl…

---

<div class="post-metadata">

**Author:** ![larry1](https://avatars.discourse-cdn.com/v4/letter/l/f14d63/32.png) [@larry1](https://forum.sierrawireless.com/u/larry1)\
**Post date:** [June 16, 2023, 6:59am UTC](https://forum.sierrawireless.com/t/cannot-update-fw-success-in-r16/30002/9 "2023-06-16T06:59:20Z")

</div>

Hi @jyijyi ,

I am trying it now.

Wait for my test.

---

<div class="post-metadata">

**Author:** ![larry1](https://avatars.discourse-cdn.com/v4/letter/l/f14d63/32.png) [@larry1](https://forum.sierrawireless.com/u/larry1)\
**Post date:** [June 16, 2023, 8:10am UTC](https://forum.sierrawireless.com/t/cannot-update-fw-success-in-r16/30002/10 "2023-06-16T08:10:29Z")

</div>

Hi @jyijyi ,

I try the method I think it work for update, because it will restore the file.
