Unable to erase USER1 partition

Hi,
I would like to erase the custom changes on my WP76 target, but I always get the failure code “callback status 59399” during the download process.

I’ve tried several ways, but, none with success:

  • DS 5.3.1 : Legato Target Recovery - Option Erase user partition
  • CLI : fwupdate download reset.cwe 192.168.2.2
  • CLI : swiflash -m “wp76xx” -r
    I used swiflash versions 4.6 and 5.1.

I also tried this in combination with using the TP1 pin or AT!BOOTHOLD to make sure the module is in boot mode.
I did these tests on a Windows 10 Host PC, and also on 2 different Ubuntu 16.04 Hosts.

What could be the root cause of this, and does there exist an alternative way get a WP module with factory defaults? (no fs changes, no root password, …)

greetings,
annaertd

Please download fw 12 to module, and then try swiflash in linux pc.

Hi,
I flashed the R12 image into my targets, and then I was able to erase the USER1 partition without any problem.
Thanks!

greetings,
annaertd

Hi, I’m new to using and have the same issue (reset user password on WP7607). How do I flash R12 to the module? (Also to @jyijyi if you could help.)

Regards
Paul

You can download the R12 one click exe from source.sierrawireless.com

Hi,

I want to to erase USER1 partition too.

I tried the following procedure with enabling TP1.

No.1: download fw 12 to module (on Window)
method1: the R13 one click exe
method2: “fdt2.exe” with .spk file

No.2: swiflash -m “wp76xx” -r (on Linux)

The result No.1 and No.2 were like that,
No.1
the outcome of method1 execution was the following messages displayed and not executed.

FDT version : 1.0.1902.1
Awaiting adapter …
Enabling selective suspend …
Firmware download failed.
Primary error code: 14 - No MBN adapter available.
Secondary error code: 0 - Not applicable.
Device error code: 0x0 - Unknown device error code.

the outcome of method2 execution didn’t finish correctly, when
“Awaiting adapter” message appeared. I had no choice but to stop the process.

C:\Users\tanoue-kenta\Desktop\FW>fdt2.exe -f WP76xx_Release13.3_DOCOMO.spk
FDT version: 1.0.1806.0
Awaiting suitable port or adapter …
Switching to streaming mode …
Downloading images …
Writing image -
Flashing image -
Awaiting adapter …

No.2

I wanted to finish erasing USER1 partition, however, I couldn’t, when the message(Downloading the firmware) appeared and the Linux OS tried to execute the process.

tanoue@feadmin-FMVDK3F061:~$ swiflash -m “wp76xx” -r -p /dev/serial/by-path/pci-0000:00:1d.0-usb-0:1.6:1.0-port0
Detecting USB of the target
DONE
Communicating with the target
DONE
Downloading the firmware…

I am a a loss , because I have no solutions to handle the problems.
Please give me some advice.

BR,
Tanoue

is it because you change the status of TP1 and it will not boot up?
Also please downgrade to R12, not R13.

Hi, jyijyi.

Thank you for your help.

The state of TP1 must be “Enable”, because when I checked Device Manager of my computer(Windows), I found Sierra Wireless DM Port.

After I executed method1 and method2 I had mentioned by using R12 FW, the results didn’t change at all.

if you enable TP1, it will always stay at DM only mode.
That is why you always see:
“Awaiting adapter” message appeared. I had no choice but to stop the process.

I tell you some background.
My application hides DM port when the app starts in my system.
Moreover, my application causes reset because of some bug.

Therefore, I turned TP1 to Enable downloading FW12 to module.

Is it neccessary to change the state of TP1 somewhere?

you can give a try to set the TP1 in normal position.
BTW, what is the current FW on your module?
I saw you doing this:

fdt2.exe -f WP76xx_Release13.3_DOCOMO.spk

you can give a try to set the TP1 in normal position.
I could downgrade R12 FW using WP76xx_Release12_GENERIC_GCF.spk

Therefore, the current FW on my module seems to be the R12 GENERIC.

Keeping the TP1 in normal position, I executed swiflash -m “wp76xx” -r successfully.

Thank you.

Hi @jyijyi,

I have a few WP7611 units with broken root passwords, and I’m trying to resolve the issue. I’ve been searching for the R12 release and managed to find one, but unfortunately, it doesn’t include firmware compatible with the WP7611. Despite this, I attempted to flash it, but the kernel panicked.

I was able to put the chip into boot-hold mode, but when I tried using swiflash -m wp76xx -r, it failed with the following error messages:

less

Copy code

B - 1072959 - Sahara over USB
B - OVERFLOW - Sahara: Hello pkt sent
B - OVERFLOW - Imagetype=0x08 compat_id=0x00
B - OVERFLOW - not allowed to write UAPP partition
B - OVERFLOW - BOOT_HOLD=3,DOWNLOADER=boot,VERSION=Thu Feb 1 13:07:31 PST 2018,TYPE=APPL,SUBIMAGE=UAPP,ERROR=Flash write failed: Not allowed (0X97),STATUS=FAIL
B - OVERFLOW - API change: date not generated by cwe_header_init
B - OVERFLOW - API change: date not generated by cwe_header_init
B - OVERFLOW - Unknown image_val 00000000
B - OVERFLOW - Unknown image_val A43ED028
B - OVERFLOW - Unknown image_val C75F547F
B - OVERFLOW - Unknown image_val 00000000

Any guidance on how to resolve this issue or where I can find a proper firmware for the WP7611 would be great

what is the original FW on these modules?
Can it be downgrade to R13.x?
Can you also input the following AT commands on these modules to see the response?

AT!ENTERCND="A710"
AT!BSINFO

You might also need to try to download just the yocto image component:
https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-12,-d-,0,-d-,1-components/#sthash.1P3SyRNi.bLamW0yG.dpbs

  • original FW is custom Yocto build of Release17. nothing special except some programs openvpn etc…
  • downgrade to R13 also cause Kernel Panic.
  • AT comands:
    *AT!ENTERCND=“A710”
    OK
    AT!BSINFO
    Product: WP7611
    Revision: 40
    Main: MDM9207 (000)
    Radio: WTR2965
    Power: PMD9607 (002)
    Flash: H27S4G8F2EKPB4 512MB x8 (173/0/0) (2048 blocks of 64 pages/block 4096B page size)

OK

Here already says release 17 cannot be downgraded to previous version

https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-17/

Ok so i can put the module to the trash? :thinking:
why there no way to factory reset the module?

You can contact distributor to generate a special firmware to downgrade firmware

Or you can try to install a unsandboxed legato app and upload to AVMS to run a script to clear the userapp partition

OK, Tnx for fast replay ! you awesome !

Btw, can you download legato application to module to run now?