Sierra Wireless MC7455, only /dev/ttyUSB0

Hi@all,

I build my own router out of a Mini PC resp. what is also known as "Firewall Appliance". I got this device from Amazon. These device are sold under different brands, but inside are typically boards from BKHD. My device got a BKHD-12646NP-12-6L, which has a SIM card slot and an mPCIe slot.

I put a Sierra Wireless MC7455 LTE modem into the slot, but I cannot get it up and running. I already read in this thread that the modem needs to be configured. But they say that the modem should create three devices, /dev/ttyUSB0, /dev/ttyUSB1, and /dev/ttyUSB2. I only get one device, which is ttyUSB0. I also don't see any /dev/cdc-* or /dev/sdc-* device.

lsusb:

Bus 002 Device 001: ID 1d6b:0003 Linux 5.15.150 xhci-hcd xHCI Host Controller
Bus 001 Device 002: ID 1199:9070 Sierra Wireless, Incorporated MC7455-CP
Bus 001 Device 001: ID 1d6b:0002 Linux 5.15.150 xhci-hcd xHCI Host Controller`

lsusb -t:

/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 8: Dev 2, If 0, Class=, Driver=qcserial, 480M

I tried to connect to /dev/ttyUSB0 using socat to sent AT commands, but this doesn't work. Every command just returns 0 (zero).

I don't know what to do. How can I get the modem to work? Please help!

Please see EM7455B connection issues - #8 by AndrewZ

Sorry, but I have no idea what you are talking about in this post.

Part 1 (unrelated to OpenWrt):

  • make the modem GENERIC (not Dell)
    • -> I don't understand a word
  • upgrade its firmware to the latest
    • -> Good point, I need to check how to do that, but I'm afraid AT commands are required, isn't it?
  • switch it to MBIM + comm ports composition
    • -> That's my problem, how without working AT commands?
  • disable FCC Auth
    • -> I don't understand a word

Part 2:

Can you please explain in better detail what you mean?

First the modem must be brought into working condition, this has nothing to do with OpenWrt.
I suggest to ask a question in Sierra's forum.

EM7455, can't get it to work on 21.02.3 - #33 by frollic and onward might help, plus
https://github.com/danielewood/sierra-wireless-modems

In this case the modem is half dead (probably stuck in download mode).

Yes, it's stuck in the bootloader. Running a firmware upgrade tool like qmi-firmware-update might fix that, unless the modem is completely broken.

Right, running an updater may or may not help.
There is also a possibility that the modem cannot boot because of the host system, for example, due to some pin state on mPCIe connector, it would be good to test it in a known good USB adapter.

That's right. Covering the usb3/pcie pins is probably a better place to start unless the OP has an adapter and can run the at!usbspeed command. Ref

1 Like

... and RESET (pin 22)

Thx for the tipps. I played around a little bit and tried different tools/scripts, but nothing could detect the modem. I tried it inside the Mini PC as well as using a USB adapter (which is confirmed working, because it works with another different modem), but it does not work. I'm afraid the modem is broken.

I'm not very motivated to tinker with covered pins, but if I cannot return the modem, maybe I'll try it out.

I'm afraid there is no point if the modem doesn't work in a USB adapter. Taping pins will only help in a slot with PCIe or other unwanted signals

Did you try the frmware upgrade? Something like

qmi-firmware-update  --verbose --tty=/dev/ttyUSB0 --update-download SWI9X30C_02.38.00.00.cwe SWI9X30C_02.38.00.00_GENERIC_002.082_000.nvu

or whatever firmware version you have/want. The idea is to try to bring the modem out of the current state, and the upgrade tools is good at that since it speaks several of the weird qualcomm serial protocols. There isn't necessarily anything wrong with the modem. It could just be waiting for a debug tool to attach. I believe these modems will enter a ramdump state on some errors.

Thx for the hint, I tried the command, th is is the output:

% sudo qmi-firmware-update --verbose --tty=/dev/ttyUSB0 --update-download SWI9X30C_02.38.00.00.cwe SWI9X30C_02.38.00.00_GENERIC_002.082_000.nvu 
[01 Jun 2024, 13:04:53] [Debug] [qfu-udev] sysfs path for 'ttyUSB0' found: /sys/devices/pci0000:00/0000:00:01.2/0000:20:00.0/0000:21:08.0/0000:2a:00.1/usb1/1-5/1-5.3
[01 Jun 2024, 13:04:53] [Debug] [qfu-utils] couldn't ping ModemManager: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Destination does not exist
[01 Jun 2024, 13:04:53] [Debug] [qfu-image] loading file info...
[01 Jun 2024, 13:04:53] [Debug] [qfu-image] opening file for reading...
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe] reading image headers...
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe] image offset range: [0,64330846]
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]   image offset range: [400,343216]
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]     image offset range: [800,343216]
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]   image at offset 800 is valid
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe] image at offset 400 is valid
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]   image offset range: [343216,32119688]
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]     image offset range: [343616,699784]
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]   image at offset 343616 is valid
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]     image offset range: [699784,853300]
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]   image at offset 699784 is valid
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]     image offset range: [853300,32119688]
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]   image at offset 853300 is valid
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe] image at offset 343216 is valid
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]   image offset range: [32119688,64330846]
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]     image offset range: [32120088,32287540]
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]   image at offset 32120088 is valid
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]     image offset range: [32287540,42761560]
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]   image at offset 32287540 is valid
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]     image offset range: [42761560,59125532]
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]   image at offset 42761560 is valid
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]     image offset range: [59125532,64330846]
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]   image at offset 59125532 is valid
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe] image at offset 32119688 is valid
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe] validating data size...
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe] preloading firmware/config/carrier...
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]   firmware version: 02.38.00.00
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]   config version:   unknown
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]   carrier:          unknown
[01 Jun 2024, 13:04:53] [Debug] [qfu-image] loading file info...
[01 Jun 2024, 13:04:53] [Debug] [qfu-image] opening file for reading...
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe] reading image headers...
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe] image offset range: [0,23855]
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]   image offset range: [400,23855]
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]     image offset range: [800,23855]
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]       image offset range: [1200,23855]
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]     image at offset 1200 is valid
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]   image at offset 800 is valid
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe] image at offset 400 is valid
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe] validating data size...
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe] preloading firmware/config/carrier...
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]   firmware version: 02.38.00.00
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]   config version:   002.082_000
[01 Jun 2024, 13:04:53] [Debug] [qfu-image-cwe]   carrier:          GENERIC
[01 Jun 2024, 13:04:53] [Debug] [qfu,device-selection] single tty device requested in sysfs path '/sys/devices/pci0000:00/0000:00:01.2/0000:20:00.0/0000:21:08.0/0000:2a:00.1/usb1/1-5/1-5.3'
[01 Jun 2024, 13:04:53] [Debug] [qfu,device-selection]   device found: /dev/ttyUSB0
[01 Jun 2024, 13:04:53] [Debug] [qfu,device-selection]   using preferred device: /dev/ttyUSB0
[01 Jun 2024, 13:04:53] [Debug] [qfu-sahara-device] opening TTY: /dev/ttyUSB0
[01 Jun 2024, 13:04:53] [Debug] [qfu-sahara-device] setting terminal in raw mode...
[01 Jun 2024, 13:04:53] [Debug] [qfu-sahara-device] waiting time for device to boot properly...
[01 Jun 2024, 13:04:55] [Debug] [qfu-sahara-device] initializing sahara protocol...
[01 Jun 2024, 13:04:55] [Debug] [qfu-sahara-device] << 01:00:00:00:30:00:00:00:02:00:00:00:01:00:00:00:00:04:00:00:02:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 [48]
[01 Jun 2024, 13:04:55] [Debug] [qfu,sahara-message] received hello-req:
[01 Jun 2024, 13:04:55] [Debug] [qfu,sahara-message]   version:    2
[01 Jun 2024, 13:04:55] [Debug] [qfu,sahara-message]   compatible: 1
[01 Jun 2024, 13:04:55] [Debug] [qfu,sahara-message]   max length: 1024
[01 Jun 2024, 13:04:55] [Debug] [qfu,sahara-message]   mode:       memory-debug
[01 Jun 2024, 13:04:55] [Debug] [qfu-sahara-device] sahara hello request received
[01 Jun 2024, 13:04:55] [Debug] [qfu-sahara-device] >> 02:00:00:00:30:00:00:00:02:00:00:00:02:00:00:00:00:00:00:00:03:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 [48]
[01 Jun 2024, 13:04:55] [Debug] [qfu-sahara-device] << 0B:00:00:00:08:00:00:00 [8]
[01 Jun 2024, 13:04:55] [Debug] [qfu-sahara-device] module is ready for commands
[01 Jun 2024, 13:04:55] [Debug] [qfu-sahara-device] >> 0D:00:00:00:0C:00:00:00:00:FF:00:00 [12]
[01 Jun 2024, 13:04:55] [Debug] [qfu-sahara-device] << 04:00:00:00:10:00:00:00:07:00:00:00:1F:00:00:00 [16]
[01 Jun 2024, 13:04:55] [Debug] [qfu,sahara-message] received command-end-image-transfer:
[01 Jun 2024, 13:04:55] [Debug] [qfu,sahara-message]   file:   7
[01 Jun 2024, 13:04:55] [Debug] [qfu,sahara-message]   status: exec-cmd-unsupported
[01 Jun 2024, 13:04:55] [Debug] [qfu-updater] sahara device creation failed: operation failed: exec-cmd-unsupported
[01 Jun 2024, 13:04:55] [Debug] [qfu-qdl-device] opening TTY: /dev/ttyUSB0
[01 Jun 2024, 13:04:55] [Debug] [qfu-qdl-device] setting terminal in raw mode...
[01 Jun 2024, 13:04:55] [Debug] [qfu,dload-message] sent sdp:
[01 Jun 2024, 13:04:55] [Debug] [qfu-qdl-device] >> 70:00:00 [3, unframed]
[01 Jun 2024, 13:04:55] [Debug] [qfu-qdl-device] >> 7E:70:00:00:14:46:7E [7]
[01 Jun 2024, 13:04:55] [Debug] [qfu-qdl-device] << 04:00:00:00:10:00:00:00:07:00:00:00:01:00:00:00 [16]
[01 Jun 2024, 13:04:55] [Debug] [qfu-updater] qdl device creation failed: HDLC trailing control character not found
error: unsupported download protocol

So unfortunately this also didn't work.

There's sign of life here. The modem is speaking sahara, and it is in memory-debug mode.

But I was a bit too optimistic wrt the update tool being able to bring it out of that mode, so it fails here. I still think it is possible. If nothing else, the ramdebug tools provided by Sierra should be able to fix this.

I'll see if I can dig up what I did the last time I broke a MC7455 like this. But that's more than 8 years ago so I'll have to dig deep in my notes..

In the final part of that debug output we see that the update tool tries some other protocol, but the modem is still responding with a sahara error:

[01 Jun 2024, 13:04:55] [Debug] [qfu,dload-message] sent sdp:
[01 Jun 2024, 13:04:55] [Debug] [qfu-qdl-device] >> 70:00:00 [3, unframed]
[01 Jun 2024, 13:04:55] [Debug] [qfu-qdl-device] >> 7E:70:00:00:14:46:7E [7]
[01 Jun 2024, 13:04:55] [Debug] [qfu-qdl-device] << 04:00:00:00:10:00:00:00:07:00:00:00:01:00:00:00 [16]
[01 Jun 2024, 13:04:55] [Debug] [qfu-updater] qdl device creation failed: HDLC trailing control character not found

Ok, so that's an attempt to switch the modem from sahara to firehose, which makes sense with newer modems. But I don't think it's supported on the MC7455.

What I had success with in the past was switching to either DMSS or STREAM. Can never remember which one worked. Shouldn't matter. Just try them both.

The protocol identifiers are

DMSS:     0x00000004
STREAM:   0x00000005
FIREHOSE: 0x0000ff00

So basically do the same sahara hello seqence, and then send
0D:00:00:00:0C:00:00:00:04:00:00:00
or
0D:00:00:00:0C:00:00:00:05:00:00:00
instead of the firehose request.

Then retry the qmi-firmware-update tool, since it should recognise DMSS or STREAM if the mode switch is successful.

I've wrapped up the "testtool" I once used for this and put it here: https://www.mork.no/~bjorn/xx/testtool.tar

Usage:

tar xvf testtool.tar
make
./testtool  --device /dev/ttyUSB0 --protocol stream

or

./testtool  --device /dev/ttyUSB0 --protocol dmss

This was a one-time hack for personal use, so it includes a lot more code than necessary. And most of that code has been "borrowed" from here and there without proper attribution and license checks, so it should not be redistributed (I should not distribute it either - and I don't. it just happend to be on my web server)

1 Like

Omg, it works! :heart_eyes: (Even though with a little adjustment)

What I did:

Switch to STREAM protocol and run firmware update.

% sudo ./testtool --device /dev/ttyUSB0 --protocol stream                                                                                      
testtool (unknown)
port opened: /dev/ttyUSB0
serialwrite: 02 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
serialread: 0b 00 00 00 08 00 00 00 
cmdid=0x0000000b
serialwrite: 0c 00 00 00 0c 00 00 00 03 00 00 00 
serialread: 01 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 00 04 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
cmdid=0x00000001
serialwrite: 02 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
serialread: 0b 00 00 00 08 00 00 00 
cmdid=0x0000000b
Executing SAHARA cmd 00000000005
serialwrite: 0d 00 00 00 0c 00 00 00 05 00 00 00 
serialread: 04 00 00 00 10 00 00 00 07 00 00 00 1f 00 00 00 
cmdid=0x00000004
% sudo qmi-firmware-update --verbose --tty=/dev/ttyUSB0 --update-download SWI9X30C_02.38.00.00.cwe SWI9X30C_02.38.00.00_GENERIC_002.082_000.nvu
[03 Jun 2024, 11:03:03] [Debug] [qfu-udev] sysfs path for 'ttyUSB0' found: /sys/devices/pci0000:00/0000:00:01.2/0000:20:00.0/0000:21:08.0/0000:2a:00.1/usb1/1-5/1-5.3
[03 Jun 2024, 11:03:03] [Debug] [qfu-utils] couldn't ping ModemManager: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Destination does not exist
[03 Jun 2024, 11:03:03] [Debug] [qfu-image] loading file info...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image] opening file for reading...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] reading image headers...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image offset range: [0,64330846]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]   image offset range: [400,343216]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]     image offset range: [800,343216]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]   image at offset 800 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image at offset 400 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]   image offset range: [343216,32119688]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]     image offset range: [343616,699784]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]   image at offset 343616 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]     image offset range: [699784,853300]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]   image at offset 699784 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]     image offset range: [853300,32119688]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]   image at offset 853300 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image at offset 343216 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]   image offset range: [32119688,64330846]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]     image offset range: [32120088,32287540]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]   image at offset 32120088 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]     image offset range: [32287540,42761560]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]   image at offset 32287540 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]     image offset range: [42761560,59125532]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]   image at offset 42761560 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]     image offset range: [59125532,64330846]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]   image at offset 59125532 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image at offset 32119688 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] validating data size...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] preloading firmware/config/carrier...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]   firmware version: 02.38.00.00
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]   config version:   unknown
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]   carrier:          unknown
[03 Jun 2024, 11:03:03] [Debug] [qfu-image] loading file info...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image] opening file for reading...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] reading image headers...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image offset range: [0,23855]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]   image offset range: [400,23855]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]     image offset range: [800,23855]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]       image offset range: [1200,23855]
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]     image at offset 1200 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]   image at offset 800 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] image at offset 400 is valid
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] validating data size...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe] preloading firmware/config/carrier...
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]   firmware version: 02.38.00.00
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]   config version:   002.082_000
[03 Jun 2024, 11:03:03] [Debug] [qfu-image-cwe]   carrier:          GENERIC
[03 Jun 2024, 11:03:03] [Debug] [qfu,device-selection] single tty device requested in sysfs path '/sys/devices/pci0000:00/0000:00:01.2/0000:20:00.0/0000:21:08.0/0000:2a:00.1/usb1/1-5/1-5.3'
[03 Jun 2024, 11:03:03] [Debug] [qfu,device-selection]   device found: /dev/ttyUSB0
[03 Jun 2024, 11:03:03] [Debug] [qfu,device-selection]   using preferred device: /dev/ttyUSB0
[03 Jun 2024, 11:03:03] [Debug] [qfu-sahara-device] opening TTY: /dev/ttyUSB0
[03 Jun 2024, 11:03:03] [Debug] [qfu-sahara-device] setting terminal in raw mode...
[03 Jun 2024, 11:03:03] [Debug] [qfu-sahara-device] waiting time for device to boot properly...
[03 Jun 2024, 11:03:05] [Debug] [qfu-sahara-device] initializing sahara protocol...
[03 Jun 2024, 11:03:08] [Debug] [qfu-updater] sahara device creation failed: no sahara response received
[03 Jun 2024, 11:03:08] [Debug] [qfu-qdl-device] opening TTY: /dev/ttyUSB0
[03 Jun 2024, 11:03:08] [Debug] [qfu-qdl-device] setting terminal in raw mode...
[03 Jun 2024, 11:03:08] [Debug] [qfu,dload-message] sent sdp:
[03 Jun 2024, 11:03:08] [Debug] [qfu-qdl-device] >> 70:00:00 [3, unframed]
[03 Jun 2024, 11:03:08] [Debug] [qfu-qdl-device] >> 7E:70:00:00:14:46:7E [7]
[03 Jun 2024, 11:03:08] [Debug] [qfu-qdl-device] << 04:00:00:00:10:00:00:00:07:00:00:00:01:00:00:00 [16]
[03 Jun 2024, 11:03:08] [Debug] [qfu-updater] qdl device creation failed: HDLC trailing control character not found
error: unsupported download protocol

I noticed the output is a little different than last time. qmi-firmware-update now logs [qfu-updater] sahara device creation failed: no sahara response received.

Switch to DMSS protocol and retry.

% sudo ./testtool --device /dev/ttyUSB0 --protocol dmss  
testtool (unknown)
port opened: /dev/ttyUSB0
serialwrite: 02 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
serialread: 04 00 00 00 10 00 00 00 07 00 00 00 01 00 00 00 
cmdid=0x00000004
serialwrite: 0c 00 00 00 0c 00 00 00 03 00 00 00 
serialread: 04 00 00 00 10 00 00 00 07 00 00 00 01 00 00 00 
cmdid=0x00000004
serialwrite: 02 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
serialread: 04 00 00 00 10 00 00 00 07 00 00 00 01 00 00 00 
cmdid=0x00000004
Executing SAHARA cmd 00000000004
serialwrite: 0d 00 00 00 0c 00 00 00 04 00 00 00 
serialread: 04 00 00 00 10 00 00 00 07 00 00 00 01 00 00 00 
cmdid=0x00000004
% qmi-firmware-update --verbose --tty=/dev/ttyUSB0 --update-download SWI9X30C_02.38.00.00.cwe SWI9X30C_02.38.00.00_GENERIC_002.082_000.nvu
[exactly the same output as above]

So this sounds like sahara protocol was already correct. I wanted to switch back using the testtool, but it does not support --protocol sahara as a parameter, but --reset. Let's give it a try.

% sudo ./testtool --device /dev/ttyUSB0 --reset        
testtool (unknown)
port opened: /dev/ttyUSB0
serialwrite: 02 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
serialread: 04 00 00 00 10 00 00 00 07 00 00 00 01 00 00 00 
cmdid=0x00000004
serialwrite: 0c 00 00 00 0c 00 00 00 03 00 00 00 
serialread: 04 00 00 00 10 00 00 00 07 00 00 00 01 00 00 00 
cmdid=0x00000004
serialwrite: 02 00 00 00 30 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
serialread: 04 00 00 00 10 00 00 00 07 00 00 00 01 00 00 00 
cmdid=0x00000004
serialwrite: 07 00 00 00 08 00 00 00 
serialread: 08 00 00 00 08 00 00 00 
cmdid=0x00000008
% sudo qmi-firmware-update --verbose --tty=/dev/ttyUSB0 --update-download SWI9X30C_02.38.00.00.cwe SWI9X30C_02.38.00.00_GENERIC_002.082_000.nvu
[03 Jun 2024, 11:12:01] [Debug] [qfu-udev] sysfs path for 'ttyUSB0' found: /sys/devices/pci0000:00/0000:00:01.2/0000:20:00.0/0000:21:08.0/0000:2a:00.1/usb1/1-5/1-5.3
[03 Jun 2024, 11:12:01] [Debug] [qfu-utils] couldn't ping ModemManager: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Destination does not exist
[03 Jun 2024, 11:12:01] [Debug] [qfu-image] loading file info...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image] opening file for reading...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] reading image headers...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image offset range: [0,64330846]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]   image offset range: [400,343216]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]     image offset range: [800,343216]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]   image at offset 800 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image at offset 400 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]   image offset range: [343216,32119688]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]     image offset range: [343616,699784]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]   image at offset 343616 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]     image offset range: [699784,853300]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]   image at offset 699784 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]     image offset range: [853300,32119688]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]   image at offset 853300 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image at offset 343216 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]   image offset range: [32119688,64330846]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]     image offset range: [32120088,32287540]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]   image at offset 32120088 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]     image offset range: [32287540,42761560]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]   image at offset 32287540 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]     image offset range: [42761560,59125532]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]   image at offset 42761560 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]     image offset range: [59125532,64330846]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]   image at offset 59125532 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image at offset 32119688 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] validating data size...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] preloading firmware/config/carrier...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]   firmware version: 02.38.00.00
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]   config version:   unknown
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]   carrier:          unknown
[03 Jun 2024, 11:12:01] [Debug] [qfu-image] loading file info...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image] opening file for reading...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] reading image headers...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image offset range: [0,23855]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]   image offset range: [400,23855]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]     image offset range: [800,23855]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]       image offset range: [1200,23855]
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]     image at offset 1200 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]   image at offset 800 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] image at offset 400 is valid
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] validating data size...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe] preloading firmware/config/carrier...
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]   firmware version: 02.38.00.00
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]   config version:   002.082_000
[03 Jun 2024, 11:12:01] [Debug] [qfu-image-cwe]   carrier:          GENERIC
[03 Jun 2024, 11:12:01] [Debug] [qfu,device-selection] single tty device requested in sysfs path '/sys/devices/pci0000:00/0000:00:01.2/0000:20:00.0/0000:21:08.0/0000:2a:00.1/usb1/1-5/1-5.3'
[03 Jun 2024, 11:12:02] [Debug] [qfu,device-selection]   device found: /dev/ttyUSB0
[03 Jun 2024, 11:12:02] [Debug] [qfu,device-selection]   using preferred device: /dev/ttyUSB0
[03 Jun 2024, 11:12:02] [Debug] [qfu-sahara-device] opening TTY: /dev/ttyUSB0
[03 Jun 2024, 11:12:02] [Debug] [qfu-sahara-device] setting terminal in raw mode...
[03 Jun 2024, 11:12:02] [Debug] [qfu-sahara-device] waiting time for device to boot properly...
[03 Jun 2024, 11:12:04] [Debug] [qfu-sahara-device] initializing sahara protocol...
[03 Jun 2024, 11:12:07] [Debug] [qfu-updater] sahara device creation failed: no sahara response received
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] opening TTY: /dev/ttyUSB0
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] setting terminal in raw mode...
[03 Jun 2024, 11:12:07] [Debug] [qfu,dload-message] sent sdp:
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] >> 70:00:00 [3, unframed]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] >> 7E:70:00:00:14:46:7E [7]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] << 7E:0D:16:00:00:00:00:88:4D:7E [10]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] << 0D:16:00:00:00:00 [6, unframed]
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] received error
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message]   error:    22
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message]   errortxt: 0
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] error (ignored): DLOAD SDP not supported
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] sent hello-req:
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message]   magic:           QCOM high speed protocol
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message]   maximum version: 4
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message]   minimum version: 4
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message]   features:        0x30
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] >> 01:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:68:73:74:00:00:00:00:04:04:30 [36, unframed]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] >> 7E:01:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:68:73:74:00:00:00:00:04:04:30:03:0B:7E [40]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] << 7E:0D:05:00:00:00:00:04:E4:7E [10]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] << 0D:05:00:00:00:00 [6, unframed]
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] sent hello-req:
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message]   magic:           QCOM high speed protocol
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message]   maximum version: 5
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message]   minimum version: 5
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message]   features:        0x30
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] >> 01:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:68:73:74:00:00:00:00:05:05:30 [36, unframed]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] >> 7E:01:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:68:73:74:00:00:00:00:05:05:30:07:48:7E [40]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] << 7E:0D:05:00:00:00:00:04:E4:7E [10]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] << 0D:05:00:00:00:00 [6, unframed]
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] sent hello-req:
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message]   magic:           QCOM high speed protocol hst
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message]   maximum version: 6
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message]   minimum version: 6
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message]   features:        0x30
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] >> 01:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:68:73:74:00:00:00:00:06:06:30 [36, unframed]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] >> 7E:01:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:68:73:74:00:00:00:00:06:06:30:0B:8D:7E [40]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] << 7E:02:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:74:67:74:30:00:00:00:06:06:00:00:00:00:00:00:00:00:00:00:00:00:00:30:D9:BC:7E [53]
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] << 02:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:74:67:74:30:00:00:00:06:06:00:00:00:00:00:00:00:00:00:00:00:00:00:30 [49, unframed]
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message] received hello-rsp:
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message]   magic:           QCOM high speed protocol tgt0
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message]   maximum version: 6
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message]   minimum version: 6
[03 Jun 2024, 11:12:07] [Debug] [qfu,qdl-message]   features:        0x30
[03 Jun 2024, 11:12:07] [Debug] [qfu-qdl-device] QDL version detected: 6
[03 Jun 2024, 11:12:07] [Debug] [qfu-updater] selected file 'SWI9X30C_02.38.00.00.cwe' (64330846 bytes)
downloading cwe image: SWI9X30C_02.38.00.00.cwe (64,3 MB)...

[~800 lines of logging output removed]

[03 Jun 2024, 11:12:13] [Debug] [qfu-updater] all chunks ack-ed
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] sent close-unframed-req:
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] >> 29 [1, unframed]
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] >> 7E:29:BB:4C:7E [5]
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] << 7E:2A:00:00:00:00:4E:E3:7E [9]
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] << 2A:00:00:00:00 [5, unframed]
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] received close-unframed-rsp
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   status:      0
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   type:        0
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   errortxt:    0
[03 Jun 2024, 11:12:13] [Debug] [qfu-updater] qdl/sdp download finished
successfully downloaded in 6,94s (9,3 MB/s)
[03 Jun 2024, 11:12:13] [Debug] [qfu-updater] selected file 'SWI9X30C_02.38.00.00_GENERIC_002.082_000.nvu' (23855 bytes)
downloading cwe image: SWI9X30C_02.38.00.00_GENERIC_002.082_000.nvu (23,9 KB)...
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] sent hello-req:
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   magic:           QCOM high speed protocol hst
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   maximum version: 6
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   minimum version: 6
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   features:        0x30
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] >> 01:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:68:73:74:00:00:00:00:06:06:30 [36, unframed]
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] >> 7E:01:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:68:73:74:00:00:00:00:06:06:30:0B:8D:7E [40]
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] << 7E:02:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:74:67:74:30:00:00:00:06:06:00:00:00:00:00:00:00:00:00:00:00:00:00:30:D9:BC:7E [53]
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] << 02:51:43:4F:4D:20:68:69:67:68:20:73:70:65:65:64:20:70:72:6F:74:6F:63:6F:6C:20:74:67:74:30:00:00:00:06:06:00:00:00:00:00:00:00:00:00:00:00:00:00:30 [49, unframed]
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] received hello-rsp:
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   magic:           QCOM high speed protocol tgt0
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   maximum version: 6
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   minimum version: 6
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   features:        0x30
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] sent open-unframed-req:
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   type:        128
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   length:      23855
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   window size: 1
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   chunk size:  23455
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] >> 25:80:2F:5D:00:00:01:9F:5B:00:00:00:00:01:02:00:00:00:00:01:90:00:00:5B:9F:46:55:4C:4C:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00... [413, unframed]
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] >> 7E:25:80:2F:5D:00:00:01:9F:5B:00:00:00:00:01:02:00:00:00:00:01:90:00:00:5B:9F:46:55:4C:4C:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00... [417]
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] << 7E:26:00:00:01:9F:5B:00:00:05:D5:7E [12]
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] << 26:00:00:01:9F:5B:00:00 [8, unframed]
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] received open-unframed-rsp
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   status:      0
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   window size: 1
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   chunk size:  23455
[03 Jun 2024, 11:12:13] [Debug] [qfu-image] reading chunk #0
[03 Jun 2024, 11:12:13] [Debug] [qfu-image] chunk #0 size: 23455 bytes
[03 Jun 2024, 11:12:13] [Debug] [qfu-image] chunk #0 offset: 400 bytes
[03 Jun 2024, 11:12:13] [Debug] [qfu-image] chunk #0 successfully read
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message] sent write-unframed-req:
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   sequence:   0
[03 Jun 2024, 11:12:13] [Debug] [qfu,qdl-message]   chunk size: 23455
[03 Jun 2024, 11:12:13] [Debug] [qfu-qdl-device] >> 27:00:00:00:00:00:00:9F:5B:00:00:CB:BB:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00... [23468]
[03 Jun 2024, 11:12:14] [Debug] [qfu-qdl-device] << 7E:28:00:00:00:00:00:00:00:00:14:39:7E [13]
[03 Jun 2024, 11:12:14] [Debug] [qfu-qdl-device] << 28:00:00:00:00:00:00:00:00 [9, unframed]
[03 Jun 2024, 11:12:14] [Debug] [qfu,qdl-message] received write-unframed-rsp
[03 Jun 2024, 11:12:14] [Debug] [qfu,qdl-message]   status:   0
[03 Jun 2024, 11:12:14] [Debug] [qfu,qdl-message]   sequence: 0
[03 Jun 2024, 11:12:14] [Debug] [qfu-updater] all chunks ack-ed
[03 Jun 2024, 11:12:14] [Debug] [qfu,qdl-message] sent close-unframed-req:
[03 Jun 2024, 11:12:14] [Debug] [qfu-qdl-device] >> 29 [1, unframed]
[03 Jun 2024, 11:12:14] [Debug] [qfu-qdl-device] >> 7E:29:BB:4C:7E [5]
[03 Jun 2024, 11:12:14] [Debug] [qfu-qdl-device] << 7E:2A:00:00:00:00:4E:E3:7E [9]
[03 Jun 2024, 11:12:14] [Debug] [qfu-qdl-device] << 2A:00:00:00:00 [5, unframed]
[03 Jun 2024, 11:12:14] [Debug] [qfu,qdl-message] received close-unframed-rsp
[03 Jun 2024, 11:12:14] [Debug] [qfu,qdl-message]   status:      0
[03 Jun 2024, 11:12:14] [Debug] [qfu,qdl-message]   type:        0
[03 Jun 2024, 11:12:14] [Debug] [qfu,qdl-message]   errortxt:    0
[03 Jun 2024, 11:12:14] [Debug] [qfu-updater] qdl/sdp download finished
successfully downloaded in 0,04s (648,1 KB/s)
[03 Jun 2024, 11:12:14] [Debug] [qfu-updater] no more files to download
[03 Jun 2024, 11:12:14] [Debug] [qfu-updater] QDL reset
[03 Jun 2024, 11:12:14] [Debug] [qfu,qdl-message] sent reset-req:
[03 Jun 2024, 11:12:14] [Debug] [qfu-qdl-device] >> 2D [1, unframed]
[03 Jun 2024, 11:12:14] [Debug] [qfu-qdl-device] >> 7E:2D:9F:0A:7E [5]
rebooting in normal mode...
[03 Jun 2024, 11:12:14] [Debug] [qfu-updater] operation finished
firmware update operation finished successfully

After reset, the firmware update worked! And the modem now also works in QMI mode as expected!

Thx a lot @bmork! You are my hero. :blush:

One last thing: As @AndrewZ already pointed out, my problem actually really had nothing to do with OpenWrt. But I hope one day this thread can still help someone who has the same problem.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.