More than 10 minutes. Are you using Linux Virtual machine or a Linux PC?
i used virtual machine
But i think both virtual machine or linux PC should work
Hi,
I am also using a Linux VM
maybe you can directly test in your embedded linux device
Or you can test with a real linux PC
I am trying to build the USB drivers for the embedded device now. Will update how it goes.
Thank you for support
Hi,
A quick update on my attempts with embedded Linux. I’ve tried running the firmware update on two different builds:
- Yocto Sumo (kernel 4.9.88)
- Yocto Krikstone (kernel 5.15.71)
Unfortunately, both have encountered the same issues when trying to update the EM7565 module, even with the use of ./fwdwl-litearm
and the latest MBPL application.
I cannot explain this as I did not see problem:
Maybe you can test with a real linux PC first
Hi,
A quick update on the situation.
Initially, I was connecting the modules via a USB hub. After some troubleshooting, I decided to connect the module directly to a PC USB port. This allowed me to move one step further, but the process still hasn’t completed.
The download seems to proceed without issues, as shown by the following log:
sudo ./fw-download-toolhostx86_64 -l pcie_mbim_1.log -f /home/rvl/EM7565/011402/ -m 4 -d /dev/ttyUSB0 -p /dev/cdc-wdm0 -t 1 -c MBIM -w SWI9X50C_01.14.02.00.cwe -n SWI9X50C_01.14.02.00_GENERIC_002.035_003.nvu
Application version: 1.0.2405.0
INFO: QDL Port: /dev/ttyUSB0
INFO: Device Path: /dev/cdc-wdm0
INFO: Device Port: 0-0
INFO: FW Path: /home/rvl/EM7565/011402/
Target image Info:
Carrier :GENERIC
FW Version :01.14.02.00
Model ID :SWI9X50C
Package ID :003
PRI Version:002.035
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/rvl/EM7565/011402//SWI9X50C_01.14.02.00_GENERIC_002.035_003.nvu
Downloading: /home/rvl/EM7565/011402//SWI9X50C_01.14.02.00.cwe
All image data was downloaded successfully.
Device is about to reset ...
Waiting for modem to come up in ONLINE mode ...
Modem is now in ONLINE mode ...
The process now stops at the line “Modem is now in ONLINE mode…”. Even though the data download appears successful, the new firmware does not show up in the list of installed images:
at!image?
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
FW 1 GOOD 2 0 0 ?_? 01.08.04.00_?
FW 2 GOOD 3 0 0 ?_? 01.07.02.00_?
FW 3 GOOD 1 0 0 ?_? 01.09.04.00_?
FW 4 EMPTY 0 0 0
Max FW images: 4
Active FW image is at slot 255
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
PRI FF GOOD 0 0 0 002.008_004 01.07.02.00_ATT
PRI FF GOOD 0 0 0 002.015_000 01.09.04.00_DOCOMO
PRI FF GOOD 0 0 0 002.035_003 01.14.02.00_GENERIC
PRI FF GOOD 0 0 0 002.001_000 01.08.04.00_SIERRA
PRI FF GOOD 0 0 0 002.017_000 01.09.04.00_SOFTBANK
PRI FF GOOD 0 0 0 000.001_001 01.08.04.00_SPRINT
PRI FF GOOD 0 0 0 001.000_000 01.07.02.00_TELUS
PRI FF GOOD 0 0 0 002.015_001 01.08.04.00_VERIZON
Max PRI images: 50
But ati command shows the firmware 01.14.02 is used
ati
Manufacturer: Sierra Wireless, Incorporated
Model: EM7565
Revision: SWI9X50C_01.14.02.00 2e210b jenkins 2020/08/19 14:18:39
IMEI: ******************
IMEI SV: 12
FSN: ******************
+GCAP: +CGSM
OK
at!priid?
PRI Part Number: 9907344
Revision: 002.003
Customer: Generic-M2M
Carrier PRI: 9999999_9907259_SWI9X50C_01.14.02.00_00_GENERIC_002.035_003
OK
at!impref?
!IMPREF:
preferred fw version: 01.14.02.00
preferred carrier name: GENERIC
preferred config name: GENERIC_002.035_003
preferred subpri index: 000
current fw version: 01.14.02.00
current carrier name: GENERIC
current config name: GENERIC_002.035_003
current subpri index: 000
OK
If you see my download, it shows “Switching device into download mode for image switch …”
But in your case, it shows "Modem is already in QDL mode. "
It seems your module is in boot mode when the beginning of download
Hi,
Yes. I put the module into Boot mode using at!boothold command.
Also this is the case, as few of our modules are stuck in boot and hold mode in the field.
No, you should not put it in boot mode
If it is downloaded during boot mode, it will not appear in at!image
Hi,
Great. The process now successfully completed.
sudo ./fw-download-toolhostx86_64 -l pcie_mbim_1.log -f /home/rvl/EM7565/011402/ -m 4 -d /dev/ttyUSB0 -p /dev/cdc-wdm0 -t 1 -w SWI9X50C_01.14.02.00.cwe -n SWI9X50C_01.14.02.00_GENERIC_002.035_003.nvu
Application version: 1.0.2402.1
INFO: QDL Port: /dev/ttyUSB0
INFO: Device Path: /dev/cdc-wdm0
INFO: Device Port: 0-0
INFO: FW Path: /home/rvl/EM7565/011402/
Target image Info:
Carrier :GENERIC
FW Version :01.14.02.00
Model ID :SWI9X50C
Package ID :003
PRI Version:002.035
SKU :9999999
Switching device into download mode for image switch ...
Modem Needs FW
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/rvl/EM7565/011402//SWI9X50C_01.14.02.00.cwe
All image data was downloaded successfully.
Device is about to reset ...
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 : EM7565
FW Version : SWI9X50C_01.14.02.00
Carrier Name : GENERIC
Carrier PRI Revision: 002.035_003
Firmware download process completed successfully.
at!image?
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
FW 1 GOOD 2 0 0 ?_? 01.08.04.00_?
FW 2 GOOD 3 0 0 ?_? 01.07.02.00_?
FW 3 GOOD 1 0 0 ?_? 01.09.04.00_?
FW 4 GOOD 4 0 0 ?_? 01.14.02.00_?
Max FW images: 4
Active FW image is at slot 4
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
PRI FF GOOD 0 0 0 002.008_004 01.07.02.00_ATT
PRI FF GOOD 0 0 0 002.015_000 01.09.04.00_DOCOMO
PRI FF GOOD 0 0 0 002.035_003 01.14.02.00_GENERIC
PRI FF GOOD 0 0 0 002.001_000 01.08.04.00_SIERRA
PRI FF GOOD 0 0 0 002.017_000 01.09.04.00_SOFTBANK
PRI FF GOOD 0 0 0 000.001_001 01.08.04.00_SPRINT
PRI FF GOOD 0 0 0 001.000_000 01.07.02.00_TELUS
PRI FF GOOD 0 0 0 002.015_001 01.08.04.00_VERIZON
Max PRI images: 50
OK
Thanks a lot.
Now I need to find a way to get the modules which are stuck in Boot mode in field, to get out of that mode and then flash them with firmware.
Hi,
I successfully downloaded the firmware to EM7565 on the Embedded Linux using the fwdwl-lite application.
~/workspace/sda/Lite/SampleApps/lite-fw-download/bin # ./fwdwl-litearm -c MBIM -d /dev/ttyUSB0 -p /dev/cdc-wdm0 -m 4 -f ~/wo
rkspace/sda/010904/
Modem Manager rules Tested
litefw version :lite-fwSLQS04.00.27
INFO: QDL Port : /dev/ttyUSB0
INFO: Device Path: /dev/cdc-wdm0
INFO: FW Path : /home/root/workspace/sda/010904/
Package Info:
Carrier :DOCOMO
FW Version :01.09.04.00
Model ID :SWI9X50C
Package ID :002
PRI Version:002.015
SKU :9999999
Part Number:9908609
file_type : 6
CWE+NVU
Set pref ImageTypesSize: 2
Modem Needs FW
Modem Needs PRI
Waiting for modem to disconnect from the host after reset command is issued ...
Modem disconnected from host.
Waiting for modem to come up in BOOT and HOLD mode ...
BOOT and HOLD Mode. Downloading firmware ...
litefw_DownloadFW succeeded.
Waiting for modem to come up in ONLINE mode ...
mbim open respons type error -2147480831
Firmware Download Process completed
Exiting Application!!!
Thank you for help and support.