Hello,
My organization has many EM7565 modules deployed already. We have encountered issues where the EM7565 gets stuck in the bootloader, which we have found is recoverable by reflashing the firmware, so we modified our software to perform this procedure for reliable operation of the EM7565. However, we have had issues flashing some of our modems. Please advise how we can achieve this, we’ve tried many avenues detailed below.
We have more recently found that some of the (more recent?) EM7565s refuse to flash with the firmware version we use (01.08.04) due to a “Package not compatible” error, seemingly due to a difference in the flash IC.
Our testing shows:
- EM7565 with internal flash IC KSLCMBL2VA2M2C flash as expected
- EM7565 with internal flash IC H27S4G8F2EKPB4 refuse to flash with a “Package not compatible” error
In order to work around the issue with the H27S4G8F2EKPB4 and 01.08.04, we tested the newer firmware versions and found the following issues:
SWI9X50C_01.14.22.00
This firmware fails to flash using the latest fwdwl-lite version (1.0.2307.1) due to apparent SDK errors.
The following is sent to syslog (not the logfile) before the process exits with an error:
user.debug fwdwl-lite: fmsExtractParameter: File Name: /my-fw-path/SWI9X50C_01.14.22.00.cwe
user.debug fwdwl-lite: fmsExtractParameter: File Name: /my-fw-path/SWI9X50C_01.14.22.00.cwe
user.debug fwdwl-lite: fmsExtractParameter: File Name: /my-fw-path/SWI9X50C_01.14.22.00_GENERIC_002.059_001.nvu
user.debug fwdwl-lite: swi_ossdk_mmapro: File mapping failed
user.debug fwdwl-lite: fmsExtractParameter: File Name: /my-fw-path/SWI9X50C_01.14.22.00.cwe
user.debug fwdwl-lite: fmsExtractParameter: File Name: /my-fw-path/SWI9X50C_01.14.22.00_GENERIC_002.059_001.nvu
user.debug fwdwl-lite: swi_ossdk_readdir
SWI9X50C_01.14.13.00 + SWI9X50C_01.14.02.00
The modem accepts the firmware update, then gets stuck in low power mode. The EM7565 showed via AT!IMPREF?
the preferred version was the previous fw version with generic configuration. Attemping to run AT!IMPREF="GENERIC"
returned an error and caused the AT command port to hang for ~30 seconds. It appears from the below that the device is very confused about it’s loaded FW and PRIs, stuck using the new FW and old PRI.
I ran AT!IMPREF="AUTOSIM"
and how have the following state:
AT!IMAGE?
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
FW 1 EMPTY 0 0 0
FW 2 EMPTY 0 0 0
FW 3 EMPTY 0 0 0
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
Max PRI images: 50
OK
AT!IMPREF?
!IMPREF:
preferred fw version: 00.00.00.00
preferred carrier name: AUTO-SIM
preferred config name: AUTO-SIM_000.000_000
preferred subpri index: 000
current fw version: 01.14.02.00
current carrier name: GENERIC
current config name: GENERIC_002.011_002
current subpri index: 000
fw version mismatch
OK
AT!HWID?
Revision: 1.0
OK
AT!PRIID?
PRI Part Number: 9908685
Revision: 002.006
Customer: Generic-M2M
Carrier PRI: None
OK
ATI
Manufacturer: Sierra Wireless, Incorporated
Model: EM7565
Revision: SWI9X50C_01.14.02.00 2e210b jenkins 2020/08/19 14:18:39
IMEI: <redacted>
IMEI SV: 12
FSN: <REDACTED>
+GCAP: +CGSM
OK
AT!PCINFO?
State: Low Power Mode
LPM voters - Temp:0, Volt:0, User:0, W_DISABLE:0, IMSWITCH:1, BIOS:0, LWM2M:0, OMADM:0, FOTA:0, RFCAL:0
LPM persistence - None
OK
AT!ERR
QDSP6 ARM9 (not saved)
00 01 gpstask 04142
01 01 sys_eplm 00591
OK
Subsequently running
AT!RMARESET=1
Got me back to
AT!IMAGE?
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
FW 1 EMPTY 0 0 0
FW 2 EMPTY 0 0 0
FW 3 EMPTY 0 0 0
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_012 01.07.02.00_ATT
PRI FF GOOD 0 0 0 002.015_002 01.09.04.00_DOCOMO
PRI FF GOOD 0 0 0 002.011_002 01.08.04.00_GENERIC
PRI FF GOOD 0 0 0 002.001_002 01.08.04.00_SIERRA
PRI FF GOOD 0 0 0 002.017_002 01.09.04.00_SOFTBANK
PRI FF GOOD 0 0 0 000.001_003 01.08.04.00_SPRINT
PRI FF GOOD 0 0 0 001.000_002 01.07.02.00_TELUS
PRI FF GOOD 0 0 0 002.015_006 01.08.04.00_VERIZON
Max PRI images: 50
AT!IMPREF?
!IMPREF:
preferred fw version: 01.08.04.00
preferred carrier name: GENERIC
preferred config name: GENERIC_002.011_002
preferred subpri index: 000
current fw version: 01.14.02.00
current carrier name: GENERIC
current config name: GENERIC_002.011_002
current subpri index: 000
fw version mismatch
OK
AT!PRIID?
PRI Part Number: 9908685
Revision: 002.006
Customer: Generic-M2M
Carrier PRI: 9999999_9907259_SWI9X50C_01.08.04.00_00_GENERIC_002.011_002
Again it appears to be using the new FW with the old 01.08 PRI.
Any advice is appreciated.