Table of Contents:

1. Overview

There are some new models of Dragino sensors support OTA update via Private LoRa Protocol, (Even the sensor runs LoRaWAN protocol by default)

2. Support Models

Here list the models that support OTA Update.

ModelsFirmware VersionComments
PS-LB, SDI-12-LBAll firmware version 
SN50v3-LBAll firmware version 
D20-LB/D20S/LB/D22-LB/D23-LBAll firmware version 

LHT65N-PIR,LHT65N-E31F

All firmware version 
S31-LB, S31B-LBAll firmware version 

3. How to do OTA update

3.1 Required Components

image-20230513120722-2.png

3.2 Update Steps

Step1 : Plug LA66 USB to PC and run OTA_Tool.

image-20230114172703-1.png

Step2: Set up OTA Tool

  • DevEUI: Input Dev EUI of your sensor
  • Password: Passord of your sensor
  • Port: Com port of LA66 USB
  • LoRa_Freq: Choose the shipped frequency band of your sensor.
  • Upload_File: The firmware to be upload to the sensor. make sure the firmware is with surfix _without_bootloader. For example: LHT65N_EU868_v1.5_without_bootloader.
  • EUI File: If customer has lots of sensors. He can also import the Dev EUI files and use droplist to choose the sensor to update. Format is as below:

image-20230114174640-3.png

Step3: Press Start in OTA Tool and then Press Reset button to restart LA66 USB

After press reset button, LA66 USB will restart and broadcast update process with the Dev EUI and Password.

Step4: Press reset button on the end node, or re-activate the end node.

In every reboot/ reactivate, the end node will check if there is update request. If end node gets the update request from LA66. End node will check if the Dev EUI and Password match. If match, End node will establish connection with LA66 USB for OTA update.

Step5: Check result.

Below shows the update successul result.

image-20230114174134-2.png

4. FAQ

4.1 Can i use other devices to connect to PC if i don't have LA66 USB?

If user doesn't have LA66 USB Adapter, they can still use other Dragino Device to connect to PC for OTA update. Steps:

  • Find the suitable mode which base on LA66 chip ( All LoRaWAN model with LB or LS suffix , such as SN50v3-LB)
  • Update the LA66 USB OTA firmware to the device.
  • Connect the device to PC via UART interface.
  • Make sure power off or update the firmware back to original firmware , because the LA66 USB OTA fimware is not low power consumption firmware. it will consume the battery very fast.

5. OTA Tool Known Bug:

1. If user click "Start" but there is issue during update. User may need to close and open the tool again.

 

Tags:
    
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0