leo
September 23, 2021, 11:27pm
1
Trying to upgrade the firmware for EM7411 using MBPL but it cannot find the device. System is a Raspberry PI running raspbian. Command and output below:
fwdwl-literpi --devpath /dev/cdc-wdm0 --modelfamily 4 --fwpath "../firmware" --cwe SWI9X50C_01.14.03.00.cwe --nvu SWI9X50C_01.14.03.00_TMO_002.005_000.nvu
Application version: 1.0.2106.0
Unable to locate the device user specified. Found device /dev/cdc-wdm0Unable to locate the device.
Exiting Application!!!
Device is present as per lsusb:
lsusb | grep Sierra
Bus 001 Device 011: ID 1199:9090 Sierra Wireless, Inc.
Any help is greatly appreciated!
jyijyi
September 24, 2021, 1:06am
2
see if this helps on using the command:
I think, I understand the problem.
I have an asynchronism with “mdev” and the /dev/ttyUSB0 is destroyed just after being initialized.
The last test.
INFO: QDL Port : /dev/ttyUSB0
INFO: Device Path: /dev/cdc-wdm0
INFO: FW Path : /usr/wit/applic/update/
Target image Info:
Carrier :SIERRA
FW Version :00.08.07.00
Model ID :SWI9X07H
Package ID :000
PRI Version:000.057
SKU :9999999
Modem is in QDL mode. Continuing FW download
Waiting for modem to come up in BOOT and HOLD…
mlw
September 24, 2021, 3:16pm
3
@leo
You might also want to check what rights you have against that interface, you might be able to see it but not write to it.
pi@raspberrypi:~ $ ls /dev
autofs cuse i2c-1 loop5 mmcblk0p2 ram11 ram7 shm tty12 tty21 tty30 tty4 tty49 tty58 ttyAMA0 vcs1 vcsa3 vcsu3 video14
block disk initctl loop6 mqueue ram12 ram8 snd tty13 tty22 tty31 tty40 tty5 tty59 ttyprintk vcs2 vcsa4 vcsu4 video15
bsg dma_heap input loop7 net ram13 ram9 stderr tty14 tty23 tty32 tty41 tty50 tty6 uhid vcs3 vcsa5 vcsu5 video16
btrfs-control fb0 kmsg loop-control null ram14 random stdin tty15 tty24 tty33 tty42 tty51 tty60 uinput vcs4 vcsa6 vcsu6 watchdog
bus fd log mapper ppp ram15 raw stdout tty16 tty25 tty34 tty43 tty52 tty61 urandom vcs5 vcsa7 vcsu7 watchdog0
cachefiles full loop0 media0 ptmx ram2 rfkill tty tty17 tty26 tty35 tty44 tty53 tty62 v4l vcs6 vcsm vhci zero
cdc-wdm0 fuse loop1 media1 pts ram3 sda tty0 tty18 tty27 tty36 tty45 tty54 tty63 vchiq vcs7 vcsm-cma video10
char gpiochip0 loop2 mem ram0 ram4 sda1 tty1 tty19 tty28 tty37 tty46 tty55 tty7 vcio vcsa vcsu video11
console gpiomem loop3 mmcblk0 ram1 ram5 serial0 tty10 tty2 tty29 tty38 tty47 tty56 tty8 vc-mem vcsa1 vcsu1 video12
cpu_dma_latency hwrng loop4 mmcblk0p1 ram10 ram6 sg0 tty11 tty20 tty3 tty39 tty48 tty57 tty9 vcs vcsa2 vcsu2 video13
pi@raspberrypi:~ $ ls -l /dev/cdc-wdm0
crw------- 1 root root 180, 176 Sep 24 16:13 /dev/cdc-wdm0
pi@raspberrypi:~ $ su
Password:
root@raspberrypi:/home/pi# ls -l /dev/cdc-wdm0
crw------- 1 root root 180, 176 Sep 24 16:13 /dev/cdc-wdm0
root@raspberrypi:/home/pi# chmod +777 /dev/cdc-wdm0
root@raspberrypi:/home/pi# ls -l /dev/cdc-wdm0
crwxrwxrwx 1 root root 180, 176 Sep 24 16:13 /dev/cdc-wdm0
root@raspberrypi:/home/pi#
Regards
Matt
leo
September 24, 2021, 3:52pm
4
Thank you, that worked!
For anyone that stumbles into this, the solution to load a firmware into the EM7411 is to make sure you specify BOTH the tty and cdc devices (the -d and -p flags), AND the download mode is set to 1 (the -t 1 flag). The final command is:
fwdwl-litearm -d /dev/ttyUSB0 -p /dev/cdc-wdm0 -t 1 --modelfamily 4 --fwpath "./" --cwe SWI9X50C_01.14.03.00.cwe --nvu SWI9X50C_01.14.03.00_TMO_002.005_000.nvu
1 Like