We are having issues getting our Sierra Wireless EM9291 modem connected to the network.
It seems to be stuck in “Registration state: ‘not-registered-searching’”, and we have not found any way to get it to actually register to a network. Some output:
My APN is correct:
response: ‘+CGDCONT: 1,“IP”,“MY-APN”,“0.0.0.0”,0,0,0,0,“”,0
+CGDCONT: 2,“IPV4V6”,“ims”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0,“”,0’
However, SELRAT is behaving strangely, when I set SELRAT to 06 (which I believe is LTE only) and I try to follow the steps to register it reads back as 00 (response: ‘!SELRAT: 00, Automatic’) after I have tried to go through the registration process. Before registration I can read it back correctly as 06.
How do I change AT!BAND and start a new registration process?
I’m getting errors when trying to change AT!BAND now, so if you could share a specific sequence of commands I could try that would be very much appreciated, and minimize the odds of me doing something wrong on my side.
We are trying to update the firmware on the device, but this fails like this:
fw-download-tool -f /data/5g-fw -w SWIX65C_02.17.08.00.cwe -n SWIX65C_02.17.08.00_GENERIC_030.081_001.nvu -t 1 -m 4
Application version: 1.0.2412.2
INFO: QDL Port:
INFO: Device Path: /dev/wwan0mbim0
INFO: Device Port: 0-0
INFO: FW Path: /data/5g-fw
Target image Info:
Carrier :GENERIC
FW Version :02.17.08.00
Model ID :SWIX65C
Package ID :001
PRI Version:030.081
SKU :9999999
Switching device into download mode for image switch ...
Modem Needs FW
Modem Needs PRI
Waiting for modem to disconnect from the host ...
Waiting for modem to come up in BOOT and HOLD mode ...
Modem not coming up in BOOT and HOLD mode in 60 seconds. Please check parameters. Application terminates.
The forum post you linked for FW update seem to say that the solution is to have both tty and wwan devices available, however we do not see any USB device in our system at all, so this does not help us.
I ordered a M2 to USB adapter, and was with that able to flash the device.
With the new firmware it works well in our device.
However, we need to be able to flash the device from our custom board.
On our custom board we run the device in PCIe mode, i.e. PCIE_DIS set low.
With that setup we do not seem to ever get any USB ports available, and thus we can not flash the device.
Is this correct, the firmware on the device can only be updated if the device is in USB mode?
Are these the fw-download tools that can be downloaded from here:
There is a tool there called fw-download-toolhostx86_64, which is what i used when flashing over the M2 to USB board, but I have not been able to find a tool named “fwdwl-litehostx86_64”.
Are these the same tool?