EM 9191 fireware download failed

I download SWIX55C_03.10.07.00-001_GENERIC_030.062_000.zip from the official website and unzip two files into folder Images:

 $ls ./Images
SWIX55C_03.10.07.00-001.cwe  SWIX55C_03.10.07.00-001_GENERIC_030.062_000.nvu

Then I run the command and fail at the end.

sudo ./fwdwl-litehostx86_64 -f Images
Application version: 1.0.2211.2
INFO: QDL Port:
INFO: Device Path: /dev/cdc-wdm0
INFO: FW Path: Images
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: Images/SWIX55C_03.10.07.00-001.cwe
FW download failed: eSDP_FWDWL_ERR_FIREHOSE_STATE_ERR(120)

Do I use the wrong command or something?

Thanks!

Does it work in windows?
Have you installed the mbpl usb driver?
https://source.sierrawireless.com/resources/airprime/software/mbpl/mbpl-software-latest/#sthash.2Dit5YhJ.dpbs

I did not try it in windows.

Yes, I install MBPL usb driver

❯ lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 5000M
    |__ Port 1: Dev 6, If 0, Class=Communications, Driver=cdc_mbim, 5000M
    |__ Port 1: Dev 6, If 1, Class=CDC Data, Driver=cdc_mbim, 5000M
    |__ Port 1: Dev 6, If 3, Class=Vendor Specific Class, Driver=option, 5000M
    |__ Port 1: Dev 6, If 4, Class=Vendor Specific Class, Driver=option, 5000M

can you try in windows?
BTW, i remember there is an option to save the debug log the fwdwl application, you can double check the log.

Thanks. I will try to setup a windows tomorrow. The fwdwl log is attached.
fwdwl.txt (71.5 KB)

Good to verify in Windows first.

BTW, in the past, I used the following and it was working fine for me:


jordan@jordan-X240:~/QMI/MBPL/MBPL_SDK_R21_ENG2-lite.bin/SampleApps/lite-fw-download$ sudo ./bin/fwdwl-litehostx86_64 -l pcie_mbim.log -f /home/jordan/Desktop/EM919x_FW/Release2/ -m 4 -d /dev/ttyUSB0 -p /dev/cdc-wdm0 -t 1 -w SWIX55C_02.08.01.00-002.cwe -n SWIX55C_02.08.01.00_GENERIC_020.007_002.nvu
Application version: 1.0.2106.0
INFO: QDL Port  :  /dev/ttyUSB0
INFO: Device Path: /dev/cdc-wdm0
INFO: FW  Path  :  /home/jordan/Desktop/EM919x_FW/Release2/
Target image Info:
Carrier    :GENERIC
FW Version :02.08.01.00
Model ID   :SWIX55C
Package ID :002
PRI Version:020.007
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 ...
BOOT and HOLD Mode. Downloading firmware ...
Downloading: /home/jordan/Desktop/EM919x_FW/Release2//SWIX55C_02.08.01.00-002.cwe
Downloading: /home/jordan/Desktop/EM919x_FW/Release2//SWIX55C_02.08.01.00_GENERIC_020.007_002.nvu
FW download succeeded.
Waiting for modem to come up in ONLINE mode ...
Modem is now in ONLINE mode ... 
FW update status: Successful
FW info from modem:
Model ID            : EM9190
FW Version          : SWIX55C_02.08.01.00
Carrier Name        : GENERIC
Carrier PRI Revision: 020.007_002
Firmware Download Process completed
Exiting Application!!!

We are using FTD in windows and the FW downloading works!

I had the same problem. I needed to update the linux kernel drivers to the latest package in order to make it work.

according to the user guide of MBPL, it supports open source kernel versions 4.4 and newer

I had the same error but i have fixed it by installing the matching version of the USB drivers.
If you have R28 version, using MBPL_SDK_R35_ENG4-lite.bin will make the error eSDP_FWDWL_ERR_FIREHOSE_STATE_ERR

So you should first update the USB drivers the to R35 version, then use the R35 tools.