Firmware Upgrade from UE8.0.5.12 to LR8.2.2.1-63493 – RASTER Procedure and UART1 Access

Dear Sequans Support Team,

I am working with a Sequans GM02S module and would like to enable both LTE-M and NB-IoT operation, including NB-IoT on LTE Band 8.

My module currently reports the following information:

  • Module: GM02S
  • Firmware reported by AT+CGMR: UE8.0.5.12
  • Additional firmware/build information: LR8.0.5.12-57068
  • Hardware: Custom PCB
  • Host operating system: Windows

I would like to upgrade the module to LR8.2.2.1-63493 to enable LTE-M/NB-IoT mode selection.

I have tested the following AT commands:

AT+SQNMODEACTIVE?
+CME ERROR: operation not supported

AT+SQNMODEACTIVE=?
+CME ERROR: operation not supported

AT+SQNBANDSEL=?
+SQNBANDSEL: (0,1),("3gpp-conformance","att","docomo","kddi","standard","tmo","verizon-no-roaming","verizon"),("",1,2,3,4,5,8,12,13,14,17,18,19,20,25,26,28,66,71,85)

AT+CGMR
UE8.0.5.12

The module is installed on a custom PCB. UART0 is available for AT commands, and UART1 TX/RX are accessible via test points.

Could you please clarify the following points?

  1. Is firmware version LR8.2.2.1-63493 the correct target firmware for my GM02S hardware and current UE8.0.5.12 firmware?
  2. Could you provide the official firmware package, the Windows Sequans Firmware Upgrade (SFU) tool, and the corresponding release notes?
  3. Could you provide the exact RASTER upgrade procedure for upgrading from UE8.0.5.12 to LR8.2.2.1-63493, including the required files, commands, UART settings, and any boot or recovery sequence?
  4. Can this upgrade be performed through UART1 using the available test points, and what baud rate and interface configuration should be used?
  5. After the upgrade, which AT commands should be used to select LTE-M and NB-IoT, and is a reboot required?
  6. Can you confirm that NB-IoT on LTE Band 8 (900 MHz) is supported by this firmware and the GM02S hardware?
  7. Are there any hardware revision, bootloader, calibration data, or license requirements that I should check before upgrading?

I would appreciate the official documentation and any precautions required to avoid rendering the module unusable during the upgrade.

Thank you for your support.

Best regards

1. Is LR8.2.2.1-63493 the right target?

Yes, it is a supported target, but LR8.2.3.1-65130 is now the better choice.

  • Supported path: Both release notes state that modules based on LR8.0.x.y can be upgraded to the new release (unsecured image) using the local raster upgrade from the host. Your UE8.0.5.12 is covered.
  • Dual mode: LR8.2.2.1 is described as dual-mode LTE-M/NB-IoT in a single image intended for production. This confirms why AT+SQNMODEACTIVE fails on your LR8.0 single-mode firmware.
  • Why LR8.2.3.1 is better: It include some stability fixes.. The upgrade procedure from LR8.0 is identical for both releases.
  • Hardware match: The packages are named GM02RBAQ-DM_…. According to the data sheet, all GM02RBAQ* part numbers are HW Rev. 3, and your current firmware matches GM02RBAQRH. Check that the label on your module starts with GM02RBAQ.

2. Firmware package, SFU tool and release notes

The release notes list the exact deliverables. You still need to get them from Sequans, because only the release notes are in this project.

Item LR8.2.2.1 LR8.2.3.1
Raster image (needed for your upgrade) GM02RBAQ-DM_LR8.2.2.1-63493.img.tgz GM02RBAQ-DM_LR8.2.3.1-65130.img.tgz
Main package (contains mtools.elf) GM02RBAQ-DM_LR8.2.2.1-63493.tgz GM02RBAQ-DM_LR8.2.3.1-65130.tgz
DUP (for later 8.2.x upgrades) …63493.dup.tgz …65130.dup.tgz
SFU for Windows sfu_SFU2.1-831.exe sfu_SFU2.1-831.exe

Each file comes with a .sig file. Verify it with GPG using the Sequans public key at www.sequans.com/gpgkey before flashing. The procedure is in the checksum annex of both release notes.

3. Exact raster upgrade procedure from LR8.0.5.12

This section corrects the earlier answer. The release notes use --no-cl and do not use -z 2 --hash zcrc32.

Step 1: Prepare the files.

  • You must use SFU version 2.1-831 exactly.
  • Extract mtools.elf from the main package, under SEQUANS-SDK\platform\sequans\gm02rbaq-dm\mtools\SQN3430.
  • Extract the -cs0.img file from the .img.tgz package.

Step 2: Run the raster upgrade over UART1. For LR8.2.3.1:

sfu.exe raster COMXX mtools.elf GM02RBAQ-DM_LR8.2.3.1-65130-cs0.img backup --keep-all -b 921600 --no-cl

For LR8.2.2.1, use GM02RBAQ-DM_LR8.2.2.1-63493-cs0.img instead.

Make sure that you are running the command prompt in administrator mode and you have access to backup folder with write privileges

Step 3: After the upgrade.

  • The module boots in LTE-M by default.
  • The raster upgrade erases the factory restore point. Recreate it:
  AT+CFUN=5
  AT+SQNSFACTORYSAVE="tag"
  • The release notes say the antenna-tuner configuration is lost on the EVK. On a custom PCB, re-apply your own AT+SQNHWCFG settings if you changed any defaults. Record AT+SQNHWCFG? before upgrading so you have them.

Conditions from the release notes:

  • The raster procedure does not apply to modules with secure boot or secure upgrade activated.
  • There must be no power cut or UART connection loss during the raster.
  • FOTA from LR8.0.x is not supported, so this first step must be a local raster upgrade.
  • Later upgrades within LR8.2.x (for example, 8.2.2.1 to 8.2.3.1) use the simpler DUP mode:
  sfu upgrade --no-signature-verification COMXX -b 921600 -z 2 GM02RBAQ-DM_LR8.2.3.1-65130.dup

4. Upgrading through UART1

The release notes confirm this is the intended port. COMXX is defined as the port corresponding to UART1, at 921600 baud. UART1 has flow control enabled by default.

The hardware advice from before still applies:

  • Use 1.8 V logic levels.
  • Connect your adapter TX to TXD1 (pad 32) and your adapter RX to RXD1 (pad 30).
  • Because you only have TX/RX test points, tie RTS1 low, for example with a 1 kΩ pull-down, and leave CTS1 unconnected.

The release notes also mention that UART1 in DCP (debug) mode can still be used for SFU upgrades. This is useful if you later want to stop URCs from going to UART1 in production.

5. Selecting LTE-M or NB-IoT after the upgrade

The command sequence is unchanged:

AT+CFUN=0
AT+SQNMODEACTIVE=2               // 1 = LTE-M (default after upgrade), 2 = NB-IoT
AT^RESET                         // reboot required
AT+SQNMODEACTIVE?
AT+SQNBANDSEL=1,"standard","8"
AT+CFUN=1

New caution from known limitation 133640: The persistent AT+SQNBANDSEL, AT+SQNEDRX and AT+SQNDIT settings can be lost if a reset happens less than 200 ms after the OK. Wait at least 200 ms (500 ms to be safe) after OK before sending AT^RESET.

6. NB-IoT on Band 8

It is supported

7. Checks before upgrading

Item What the release notes add
Hardware The packages are GM02RBAQ-DM, which is HW Rev. 3. Confirm the label prefix.
Secure boot / OTP The raster procedure is not applicable to secure-boot modules. Locked (secured) parts need signed images, and a wrong key leaves the module unable to boot.
Bootloader / updater Raster rewrites the whole flash. LR8.2.3.1’s DUP package includes a full updater image, so later DUP upgrades complete in a single step.
Calibration Neither release note says what backup --keep-all preserves. Never run the AT+SQNTCXO reset option, because it resets the TCXO calibration value. Ask Sequans to confirm calibration and IMEI are preserved.
License Neither release note mentions one. Dual mode is part of the standard single image.
AT+SQNLOCK This exists only from LR8.2.2.1 onward. It restricts commands and affects upgrades, so avoid setting it until your upgrade flow is final.
Restore point It is lost after a raster upgrade and must be recreated with AT+SQNSFACTORYSAVE.

Recommended order: verify the .sig files, record ATI1 and AT+SQNHWCFG?, run the raster to LR8.2.3.1 over UART1 on a stable supply, recreate the restore point, switch to NB-IoT, set Band 8, and test attach.

We are using SFU version 2.1-831 to update a standard GM02 module with the firmware image GM02RBAQ-DM_LR8.2.3.1-65130-cs0.img.

The module is successfully detected via UART1 (COM14) at 115200 baud using DCP over SToU. However, the update process is aborted during the public key check.

The command AT+SMNPK? returns:

+SMNPK: "boot", OTP is not correctly formatted
+SMNPK: "upgrade", OTP is not correctly formatted

SFU then reports:

Failed to get public key: invalid AT command answer
Failed to check if there is public key in the OTP!

Could you please clarify what causes this error and how it can be resolved?

Additionally, can we safely use the SFU option --no-signature-verification to proceed with the firmware update in this situation? Would disabling signature verification affect the module’s secure boot functionality or its ability to receive future firmware updates?

We would like to understand the implications before proceeding, as we want to preserve the module’s security configuration.