User's Manual
Table Of Contents
User Manual Version 1.0.0
SMARTICO LLC. Page 13 of 15
4.4 Firmware Upgrade
The device supports secure firmware updates. The firmware file is loaded encrypted and unpacked after being
downloaded to the device. Only after checking the integrity and authenticity of the firmware, the update process begins.
When updating via data cable, the firmware file is transferred to the SENSOR using the standard XMODEM file transfer
protocol.
To complete the process of updating the firmware via the data cable, you must perform the following sequence of
actions:
1. Connect the data cable as described in the section 4.2
2. Using a terminal program (for example, Tera Term), should be opened the serial COM port with the following
settings: 115200/8-N-1
3. To wake up the SENSOR you must press once button B1.
4. To synchronize the SENSOR interface, you must send the AT <CR> command (where <CR> is a carriage return, code
0x0D). After one or more sent commands, the SENSOR should return an OK response
5. Check the current firmware version by running the command:
AT+CGMR
Possible answer: +CGMR: SW 1.13 HW 1.0
where SW X.XX – software version. In this case 1.13
6. It is necessary to enter the access code (8-digit number):
Command: AT+PIN=XXXXXXXX
Answer: OK
7. Initiate the procedure for loading the firmware file into the SENSOR using the command:
AT+XMDM
Answer: +XMDM: OK
After executing the AT+XMDM command, the user has 30 seconds to start sending the firmware file via the XMODEM
protocol. This can be done using the terminal program Tera Term: