Interface: UART (host processor ↔ modem), no USB available on this platform
Current Modem FW:2.15.1.0.151600.201809181425.x7160_1
Target FW: Latest available for HL7688
What I need:
I need to update the HL7688 modem firmware over UART from an embedded Linux/Busybox environment. USB is not an option on this platform.
Specific questions:
Firmware package — I don’t currently have the .cwe/.spk package. Where can I download the latest HL7688 firmware? (I have access to the Sierra Wireless Source portal.)
Flashing tool — Is fwdwl-lite or nufwdwl-uart the right tool for UART-based flashing on an embedded Linux host? Are pre-built ARM binaries available, or will I need to cross-compile for arm-linux-gnueabihf?
Download mode — What is the correct procedure to put the HL7688 into firmware download/QDL mode over UART? Is AT!BOOTHOLD supported, or is a hardware reset sequence required?
UART port — Should I be using the modem’s DM port or the AT command port for the flashing process?
Baud rate — What baud rate should be used during the UART flash procedure?
Any pointers to AN or documentation specifically covering UART-based firmware update for the HL7688 on embedded Linux would be greatly appreciated.
@jyijyi Thanks, I was able to successfully update the modem firmware using the AT commands. Below are a few observations that were not mentioned in the datasheet, or that I discovered during the process:
AT+KSLEEP=0 — Sleep mode must be disabled; otherwise, the file transfer will not work.
AT+WDSI=4095 — This enables all notifications.
After the file transfer, I did not receive the expected +WDSI: 3. I manually issued AT+WDSR=4 and waited until +WDSI: 16 appeared.
However, I only see the firmware version RHL7688.A.2.15.1.0.151600.201809181425.x71601signed_DWL.dwl available for download(Already my current version). Are there other versions I can test—for example, to perform upgrade/downgrade validation?
The available file is quite large (~20 MB) and takes a long time to transfer over UART. Are delta-update files available instead? If so:
Higher baud rates would certainly improve the firmware transfer time, but due to design constraints I am limited to using 115200. Using AirVantage isn’t an option for my setup, as the firmware update for this modem needs to be fully controlled by my own application.
Are delta-update files available? If so: