Error when downloading FW for EM9190

Please help me!

root@HP:/home/admin1/Downloads/MBPL_SDK_R30_ENG6-lite.bin/SampleApps/lite-fw-download/bin# ./fwdwl-litehostx86_64 -f /home/admin1/Downloads/SWIX55C_03.10.07.00-001_GENERIC_030.062_000
Application version: 1.0.2211.2
INFO: QDL Port:
INFO: Device Path: /dev/cdc-wdm2
INFO: FW Path: /home/admin1/Downloads/SWIX55C_03.10.07.00-001_GENERIC_030.062_000
Target image Info:
Carrier :GENERIC
FW Version :03.10.07.00
Model ID :SWIX55C
Package ID :000
PRI Version:030.062
SKU :9999999
Switching device into download mode …
Modem Needs FW
Modem Needs PRI
Waiting for modem to disconnect from the host …
Modem disconnected from host.
Waiting for modem to come up in BOOT and HOLD mode …
QDL port found: /dev/ttyUSB0
BOOT and HOLD Mode. Downloading firmware …
Downloading: /home/admin1/Downloads/SWIX55C_03.10.07.00-001_GENERIC_030.062_000/SWIX55C_03.10.07.00-001.cwe
Downloading: /home/admin1/Downloads/SWIX55C_03.10.07.00-001_GENERIC_030.062_000/SWIX55C_03.10.07.00-001_GENERIC_030.062_000.nvu
All image data was downloaded successfully.
Device is about to reset …
Waiting for modem to come up in ONLINE mode …
Failed to detect modem ONLINE mode in 240 seconds. Application terminates.
root@HP:/home/admin1/Downloads/MBPL_SDK_R30_ENG6-lite.bin/SampleApps/lite-fw-download/bin#

Do you find problem if you manually reset the module?

I don’t see problem with this:

sudo ./bin/fwdwl-litehostx86_64 -c MBIM -d /dev/ttyUSB0 -p /dev/cdc-wdm0 -f /home/jordan/Desktop/EM919x_FW/Release5/ -t 1 -w SWIX55C_03.10.07.00-001.cwe -n SWIX55C_03.10.07.00-001_GENERIC_030.062_000.nvu -l log.txt

After I use your method the result is like this, please help me!

root@HP:/home/admin1/Downloads/MBPL_SDK_R30_ENG6-lite.bin/SampleApps/lite-fw-download/bin# ./fwdwl-litehostx86_64 -c MBIM -m 4 -d /dev/ttyUSB0 -p /dev/cdc-wdm0 -f /home/admin1/Downloads/SWIX55C_03.10.07.00-001_GENERIC_030.062_000/ -t 1 -w SWIX55C_03.10.07.00-001.cwe -n SWIX55C_03.10.07.00-001_GENERIC_030.062_000.nvu -l log.txt
Application version: 1.0.2211.2
INFO: QDL Port: /dev/ttyUSB0
INFO: Device Path: /dev/cdc-wdm0
INFO: FW Path: /home/admin1/Downloads/SWIX55C_03.10.07.00-001_GENERIC_030.062_000/
Target image Info:
Carrier :GENERIC
FW Version :03.10.07.00
Model ID :SWIX55C
Package ID :000
PRI Version:030.062
SKU :9999999
Modem is already in QDL mode. Continuing FW download
Waiting for modem to come up in BOOT and HOLD mode …
BOOT and HOLD Mode. Downloading firmware …
FW download failed: eSDP_FWDWL_ERR_SAHARA_UNRESPONSIVE(122)
Device not responsive in download mode. Please power cycle device.

did you install the latest USB driver R30?

I have installed USB driver R30

lsmod
Module Size Used by
cdc_mbim 20480 0
cdc_wdm 28672 1 cdc_mbim
cdc_ncm 45056 1 cdc_mbim
option 61440 0
qcserial 28672 0
cdc_ether 24576 1 cdc_ncm
usb_wwan 28672 2 qcserial,option
usbnet 53248 3 cdc_mbim,cdc_ncm,cdc_ether
usbserial 57344 3 qcserial,usb_wwan,option
mii 20480 1 usbnet

Does the FW upgraded after you manually reset the module?

what is the “modinfo qcserial” in your enviroment?

FW is not installed when I reboot manually
modinfo qcserial.txt (16.2 KB)

AT!IMAGE?
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
FW 1 EMPTY 0 0 0
Max FW images: 1
Active FW image is at slot 1

TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
Max PRI images: 50

what is the current FW version in ATI3 in your module?
does your module work in Windows?
You might also need to try AT!BOOTHOLD to kick module into download mode first:
sudo ./bin/fwdwl-litehostx86_64 -c QMI -m 4 -d /dev/ttyUSB0 -f /home/admin1/Downloads/SWIX55C_03.10.07.00-001_GENERIC_030.062_000/

ati3
Manufacturer: Sierra Wireless, Incorporated
Model: EM9190
Revision: SWIX55C_01.07.13.00 000000 jenkins 2020/12/16 22:24:13

EM9190 is recognized by windows, but it doesn’t work when installing fw, like linux

I used AT!BOOTHOLD before and here are the results:

root@HP:/home/admin1/Downloads/MBPL_SDK_R30_ENG6-lite.bin/SampleApps/lite-fw-download/bin# ./fwdwl-litehostx86_64 -c QMI -m 4 -d /dev/ttyUSB0 -f /home/admin1/Downloads/SWIX55C_03.10.07.00-001_GENERIC_030.062_000/
Application version: 1.0.2211.2
INFO: QDL Port: /dev/ttyUSB0
INFO: Device Path:
INFO: FW Path: /home/admin1/Downloads/SWIX55C_03.10.07.00-001_GENERIC_030.062_000/
Target image Info:
Carrier :GENERIC
FW Version :03.10.07.00
Model ID :SWIX55C
Package ID :000
PRI Version:030.062
SKU :9999999
Modem is already in QDL mode. Continuing FW download
Waiting for modem to come up in BOOT and HOLD mode …
BOOT and HOLD Mode. Downloading firmware …
Downloading: /home/admin1/Downloads/SWIX55C_03.10.07.00-001_GENERIC_030.062_000//SWIX55C_03.10.07.00-001.cwe
Downloading: /home/admin1/Downloads/SWIX55C_03.10.07.00-001_GENERIC_030.062_000//SWIX55C_03.10.07.00-001_GENERIC_030.062_000.nvu
All image data was downloaded successfully.
Device is about to reset …
Waiting for modem to come up in ONLINE mode …
Failed to detect modem ONLINE mode in 240 seconds. Application terminates.

EM9190 does not reboot but is kept in AT!BOOTHOLD mode

you need to see release note:

Can you give me the download address of FW SP1_RC6 ?

you can see here:

I took a long time for this, you solved it for me, thank you very much.