© Copyright LM Technologies Ltd Page 33 of 41
www.lm-technologies.com
User Manual for “LM068_BLE_Peri_0204” FW
9 Firmware upgrade on LM devices
LM devices based on CSRb5348 chipset provides two interfaces for firmware
upgrade.
For BLE adapter, user can upgrade the firmware only on UART interface.
In the UART interface method, User can connect the LM device to PC and open
a COM port to communicate with the LM device. Then user need to issue AT
commands to put the LM device in the firmware upgrade mode and then the
actual file can be sent over the UART interface.
In this section, the term “new image” refers to the firmware image to which
the LM device will be upgraded to.
The new image needs to fulfill below criteria:
i. New Firmware image is provided as “xxxxxxx.bin” file to user.
ii. User shall store this image on PC/device used to connect to the
LM device for OTA/UART upgrade.
iii. LM device can be upgraded with the image provided by LM
Technologies only.
9.1 Firmware upgrade over UART interface
When UPGARDEINT setting is set to UART, the firmware on LM device can be
upgraded over its local UART interface i.e. the Rx line of LM device can receive the
new image.
Below section describes the steps for firmware upgrade over UART interface.
i. To start firmware upgrade on LM device, make sure the LM device
is not connected to any Bluetooth or BLE device.
ii. Make sure the UARTCONF setting is set to “UART_THROUGHPUT”
before starting the upgrade procedure. If UART configuration as
Latency is used, the new firmware image will not be successfully
down loaded to the LM device and LM device will not upgrade
itself. In this case LM device might not give any error response.
iii. Refer the blow AT commands sequence on how to enter in the
Firmware upgrade mode for UART upgrade interface.
at*upgradeint=?at*upgradeint=?
OK
REP*:UPGRADEINT=UART
AT*uartconf=?AT*uartconf=?
OK
REP*:UART_CONFIG=UART_THROUGHPUT
at*upgrade=LMUPDATEV_068LM_SPP+GAPCEN_0115at*upgrad
e=LMUPDATEV_068LM_SPP+GAPCEN_0115
OK
Upgrade Interface is UART.
Ready For OTA file receive...