2.3 Firmware Upgrade
The LR1121 can be upgraded with a new firmware image, supplied by Semtech. Complete details are provided in the
Application note AN1200.57 "LR1110: Upgrade of the Program Memory", available from the Semtech website. The related
commands are described hereafter.
2.3.1 GetVersion
Command GetVersion() returns the version of the LR1121.
Table 2-11: GetVersion Command
Byte
Data from Host
Data to Host
Table 2-12: GetVersion Response
Byte
Data from Host
Data to Host
•
HW Version is the version of the LR1121 hardware
•
Use Case specifies the usage of the device:
0x01: LR1110
0x02: LR1120
0x03: LR1121
0xDF: Bootloader mode
•
FW Major + FW Minor is the version of the LR1121 internal firmware stored in flash memory
2.3.2 EraseFlash
In bootloader mode only, the EraseFlash(...) command must be used before a new image is written to the device.
If executed in another mode, the command status in Stat1 is set to P_ERR.
Table 2-13: EraseFlash Command
Byte
Data from Host
Data to Host
LR1121
User Manual
Rev 1.1
UM.LR1121.W.APP
Mar 2023
0
0x01
Stat1
0
1
0x00
0x00
Stat1
HW Version
0
0x80
Stat1
www.semtech.com
1
0x01
Stat2
2
3
0x00
0x00
Use Case
FW Major
1
0x00
Stat2
4
0x00
FW Minor
21 of 130
Semtech
Proprietary & Confidential