Contact the team on 01932 212 284
Support Sales

UKIoT

Connecting the World of IoT

  • Home
  • Shop
  • About Us
  • Partners
  • Success Stories
  • Blog
  • UKIOT Academy

Firmware Upgrade Guide

Posted on Monday July 8, 2024

Download as PDF

Contents

1.0 Gateways

1.1 Access & Configure Web UI

1.2 Upgrade Firmware

2.0 Sensors

2.1 Board Type 1

2.2 Board Type 2

2.3 LHT65N/S

2.4 LHT52

2.5 LDS02 & LWL02 20

2.6 LT-22222-L & RS485-LN

Upgrading the Firmware

How you do firmware upgrades will differ between devices. See the sections below to find the instructions for your device.

1.0 Gateways

    This includes the following devices DLOS8N, LG308N, LPS8N, LPS8V2 & LG01V2. This will also be correct for the cellular versions of these devices.

    1.1 Access & Configure Web UI

    Open a browser on your PC and type the gateway IP address (this will differ depending on your connection method):

    http://10.130.1.1/  (If accessing the device via Wi-Fi AP network)

    or

    http://IP_ADDRESS or http:// IP_ADDRESS:8000 

    You will see the login interface of the gateway as shown below.

    The account details for the Web Login are:

    Username: root

    Password:   draginoGraphical user interface, text, application

Description automatically generated

    1.2 Upgrade Firmware

    From the menu displayed along the top of the gateways web console select System > Firmware Upgrade.

    A computer screen shot of a computer

Description automatically generated with low confidence

    Click “Choose File”. Select the firmware file and click “Upload” (The latest firmware files can be found here).

    A screenshot of a computer

Description automatically generated

    Note: The preserve settings checkbox should be unticked as this may cause issues when downloading the new firmware version.

    The system will then reboot with the new firmware after the upgrade has been completed.

    2.0 Sensors

    2.1 SN50V3 Board Type 

    This includes the following devices SN50v3, D2X-LB, S31X-LB, CPL01, DSO3A-LB, WL03A-LB, SW3L-LB Series, DDSXX-LB, LDSXX-LB, MDSXXX-LB, LMS01-LB, SE01-LB, SPH01-LB, RS485-LB and the NB versions of these devices. 

    To access the device to upgrade the firmware you will need:

    – A USB-TTL Converter 

    – 3 F-F DuPont Cables

    – A Phillips screwdriver

    1. Open up the device by removing the 4 screws on the front of the device.
    2. Using the F-F Cables connect one end of the cables to the USB-TTL Converter as shown below:
    A picture containing electronic engineering, electronics, electronic component, circuit component

Description automatically generated

    Then connect the other end of the cables to the corresponding pin receptors on the device as shown below:

    USB-TTL GND –> Device GND

    USB-TTL RXD –> Device PA2

    USB-TTL TXD –> Device PA3

    1. Plug the USB-TTL Converter into a USB port on your laptop and open Tremo Programmer.
    1. Turn the device on using the yellow jumper. The switch the ISP-FLASH switch to ISP and hit the RESET/JOIN button to confirm.
    1. In Tremo Programmer, select the device port to be connected, baud rate (as shown here) and .bin file to be downloaded. The latest Firmware version can be found here.
    1. Click Start. When you see the below dialogue page, this means that the firmware has been downloaded.
    1. Switch the ISP/FLASH switch back to FLASH and hit the RESET/JOIN button again to confirm.
    2. You can test if the upgrade has been successful using Serial Port Utility. 
    3. In Serial Port Utility, select the device port to be connected, baud rate and parity as shown below. Click the “Play” button to connect.
    1. Then enter the devices AT Pin in the command section (this can be found on the registration key sticker on the device box), press the enter key and then “Send”. You can then enter the AT Command “AT+VER=? ”  in the command section as below. Press the enter key and then “Send “, the device should then reply with the firmware version of the device and OK as below.
    1. 15. Once you are happy with this, disconnect from Serial Port Utility using the “Stop” button and unplug the USB-TTL Converter from your laptop. 

    2.2 LSN50 Board Type 

    This includes the following devices LSN50v2-8, LSN50v2-D2X, LSN50v2-S31X, CPL01, LDSO3A, LWL03A, SW3L Series and the NB-IoT versions of these devices. 

    To access the device to upgrade the firmware you will need:

    – A USB-TTL Converter 

    – 3 F-F DuPont Cables

    – A Phillips screwdriver

    1. Open up the device by removing the 4 screws on the front of the device.
    2. Using the F-F Cables connect one end of the cables to the USB-TTL Converter as shown below:
    A picture containing electronic engineering, electronics, electronic component, circuit component

Description automatically generated

      Then connect the other end of the cables to the corresponding pin receptors on the device as shown below:

      USB-TTL GND –> Device GND

      USB-TTL RXD –> Device PA2

      USB-TTL TXD –> Device PA3

      1. Plug the USB-TTL Converter into a USB port on your laptop and open STM32 CubeProgrammer (Download here).
      1. Turn the device on using the yellow jumper. The switch the ISP-FLASH switch to ISP and hit the RESET/JOIN button to confirm.
      1. In STM32 CubeProgrammer, select the device port to be connected, baud rate and parity as shown below. 
      1. Click “Open File”. Select the firmware file and click “Open” (The latest firmware files can be found here).
      1. Then select “Download” to begin the firmware upgrade.
      1. When you see the below dialogue page, this means that the firmware has been downloaded.A screenshot of a computer

Description automatically generated
      1. You can then click “Disconnect” and close the program.
      1. Switch the ISP/FLASH switch back to FLASH and hit the RESET/JOIN button again to confirm.
      2. You can test if the upgrade has been successful using Serial Port Utility. 
      3. In Serial Port Utility, select the device port to be connected, baud rate and parity as shown below. Click the “Play” button to connect.
      1. Then enter the devices AT Pin in the command section (default password is 12345 or 123456), press the enter key and then “Send”. Then enter the AT Command “AT+VER=? ”  in the command section as below. Press the enter key and then “Send “, the device should then reply with the firmware version of the device and OK as below.
      1. Once you are happy with this, disconnect from Serial Port Utility using the “Stop” button and unplug the USB-TTL Converter from your laptop. 

      2.3 Board Type 2

      This includes the following devices LTC2-XX, LDDSXX, LLDSXX, LMDSXXX, LLMS01, LSE01, LSPH01, GroPoint Air, RS485-BL and the NB-IoT versions of these devices. 

      To access the device to upgrade the firmware you will need:

      – A USB-TTL Converter 

      – 3 M-F DuPont Cables

      – A Phillips screwdriver

      1. Open up the device by removing the 4 screws on the front of the device.
      2. Using the M-F Cables provided connect the female the female end of the cables to the USB-TTL Converter as shown below:
      A picture containing connector

Description automatically generated
      • Then connect the male end of the cables to the corresponding pin receptors on the device as shown below:
      • USB-TTL GND –> Device GND
      • USB-TTL RXD –> Device TXD
      • USB-TTL TXD –> Device RXD 

      A picture containing electronics

Description automatically generated

        1. Plug the USB-TTL Converter into a USB port on your laptop and open STM32 CubeProgrammer (Download here).
        1. Turn the device on using the yellow jumper. The switch the ISP-FLASH switch to ISP and hit the RESET/JOIN button to confirm.
        1. In STM32 CubeProgrammer, select the device port to be connected, baud rate and parity as shown below. 
        1. Click “Open File”. Select the firmware file and click “Open” (The latest firmware files can be found here).
        1. Then select “Download” to begin the firmware upgrade.
        1. When you see the below dialogue page, this means that the firmware has been downloaded.A screenshot of a computer

Description automatically generated
        1. You can then click “Disconnect” and close the program.
        1. Switch the ISP/FLASH switch back to FLASH and hit the RESET/JOIN button again to confirm.
        2. You can test if the upgrade has been successful using Serial Port Utility. 
        3. In Serial Port Utility, select the device port to be connected, baud rate and parity as shown below. Click the “Play” button to connect.
        1. Then enter the devices AT Pin in the command section (default password is 12345 or 123456), press the enter key and then “Send”. Then enter the AT Command “AT+VER=? ”  in the command section as below. Press the enter key and then “Send “, the device should then reply with the firmware version of the device and OK as below.
        1. Once you are happy with this, disconnect from Serial Port Utility using the “Stop” button and unplug the USB-TTL Converter from your laptop. 

        2.4 LHT65N/S 

        To access the device to upgrade the firmware you will need:

        – LHT65N Programming Cable (E2)

        – USB-TTL Converter

        – 4x Male to Female Dupont Cable

        – 1x Male to Male Dupont Cable

        1. First install and open Tremo Programmer
        2. Using the Male to Female Dupont Cables, USB-TTL Converter and LHT65N Programming Cable, wire up the devices as below: 

        A picture containing electronics, electronic engineering, electronic component, cable

Description automatically generated

        • A picture containing cable, connector, adapter

Description automatically generated

        Male to Female Cables:

        USB-TTL GND —-> Programming Cable Port 1

        USB-TTL RXD —-> Programming Cable Port 5

        USB-TTL TXD —-> Programming Cable Port 9

        USB-TTL 3V3 —-> Programming Cable Port 4

        Male to Male Cable:

           <—-Programming Cable Port 3

        A picture containing indoor, electronics

Description automatically generated

        1. Plug the USB C into the LHT65N. Then using the loose male Dupont cable (in port 3) short circuit port 1. This will reset the device and put it into bootload mode.
        A picture containing electronics, cable, connector, adapter

Description automatically generated
        1. Plug the USB-TTL Converter into your laptop. 
        1. In Tremo Programmer, select the device port to be connected, baud rate (as shown here) and bin file to be downloaded. The latest Firmware version can be found here.
        1. Click Start. When you see the below dialogue page, this means that the firmware has been downloaded.
        1. Unplug the USB-TTL Converter from your laptop. Then remove the Dupont Cable from port 4 of the Programming cable. 
        2. Use the loose male Dupont cable (in port 3) to short circuit port 1 to reset the device.
        A picture containing cable, connector, earphone, adapter

Description automatically generated

        2.5 LHT52

        To access the device to upgrade the firmware you will need:

        – LHT52 Programming Adapter

        – DAPLink-USBC Converter

        – 4x Female to Female Dupont Cable

        – Small Flat Head Screwdriver

        1. First install and open Psoc Programmer 3.27.1.
        2. Using the Female to Female Dupont Cables, DAPLink-USB Converter and LHT52 Programming Cable, wire up the devices as below: A white square with blue and green wires connected to a white square with black text

Description automatically generated
        1. Downlink the new sensor firmware in preparation- The newest firmware version can be found here.
        1. Open PSOC Programmer and select the default configuration.A screenshot of a computer

Description automatically generatedA screenshot of a computer

Description automatically generated
        2. Click the file icon to select the firmware version to be burned
        1. Click the download icon, and the progress bar as shown below will appear. When the dialogue “PASS” appears, the firmware upgrade has been successful.A screenshot of a computer

Description automatically generatedA screenshot of a computer

Description automatically generated
        1. It is very important to press the reset button after the firmware upgrade. This is to set the device to work in Low Power mode again.

        2.6 LDS02 & LWL02  

        To access the device to upgrade the firmware you will need:

        – DAPLink-USBC Converter

        – 4x Male to Female Dupont Cable

        – Small Flat Head Screwdriver

        1. First install and open Psoc Programmer 3.27.1.
        2. Using the Male to Female Dupont Cables & DAPLink-USB Converter, wire up the devices as below: 
        • GND – DAPLink GND
        • VDD- DAPLink 3.3V
        • CLK- DAPLink CLK
        • DIO- DAPLink SWD
        A green circuit board with many small chips

Description automatically generated
        1. Downlink the new sensor firmware in preparation- The newest firmware version can be found here.
        1. Open PSOC Programmer and select the default configuration.A screenshot of a computer

Description automatically generatedA screenshot of a computer

Description automatically generated
        2. Click the file icon to select the firmware version to be burned:
        1. Click the download icon, and the progress bar as shown below will appear. When the dialogue “PASS” appears, the firmware upgrade has been successful.A screenshot of a computer

Description automatically generatedA screenshot of a computer

Description automatically generated
        1. It is very important to press the reset button after the firmware upgrade. This is to set the device to work in Low Power mode again.

        2.7 LT-22222-L & RS485-LN

        To access the device to upgrade the firmware you will need:

        – A USB-TTL Converter 

        – 3 M-F DuPont Cables

        – 3.5mm programming cable (provided with devices)

        – A Phillips screwdriver

        1. Plug the 3.5mm programming cable into the PROG port on the device.
        2. Using the M-F Cables connect one end of the cables to the USB-TTL Converter as shown below:
        A picture containing electronic engineering, electronics, electronic component, circuit component

Description automatically generated

        Then connect the other end of the cables to the corresponding pin receptors on the programming cable as shown below:

        USB-TTL GND –> Black    

        USB-TTL RXD –> White

        USB-TTL TXD –> Red

         Media

          1. Make sure your device is powered on. Both the LT-22222-L and the RS485-LN can be powered by a 7 ~ 24V DC power source. If the device is properly powered the Power LED will glow red. See below for connection methods:

          RS485-LN

          • Power Source VIN to RS485-LN VIN+
          • Power Source GND to RS485-LN VIN-
          • A picture containing text, electronics, electronic device, gadget

Description automatically generated

          LT-22222-L

          • Power Source V+ to LT-22222-L VIN 
          • Power Source V- to LT-22222-L GND 

          A blue electronic device with red lights

Description automatically generated with low confidence

          1. Then we need to put the devices into bootload mode. See below:
          • RS485-LN

          Hold down the PRO button and then momentarily press the RST (reset) button and the SYS LED will change from OFF to ON. When the SYS LED is on, it means the RS485-LN is in bootload mode.

          • LT-22222-L

          Hold down the PRO button and then momentarily press the RST (reset) button and the DO1 LED will change from OFF to ON. When the DO1 LED is on, it means the device is in bootload mode.

          1. Plug the USB-TTL Converter into a USB port on your laptop and open STM32 CubeProgrammer (Download here).
          1. In STM32 CubeProgrammer, select the device port to be connected, baud rate and parity as shown below. 
          1. Click “Open File”. Select the firmware file and click “Open” (The latest firmware files can be found here).
          1. Then select “Download” to begin the firmware upgrade.
          1. When you see the below dialogue page, this means that the firmware has been downloaded.A screenshot of a computer

Description automatically generated
          1. You can then click “Disconnect” and close the program.
          1. Switch the ISP/FLASH switch back to FLASH and hit the RESET/JOIN button again to confirm.
          2. You can test if the upgrade has been successful using Serial Port Utility. 
          3. In Serial Port Utility, select the device port to be connected, baud rate and parity as shown below. Click the “Play” button to connect.
          1. Then enter the devices AT Pin in the command section (default password is 12345 or 123456), press the enter key and then “Send”. Then enter the AT Command “AT+VER=? ”  in the command section as below. Press the enter key and then “Send “, the device should then reply with the firmware version of the device and OK as below.
          1. Once you are happy with this, disconnect from Serial Port Utility using the “Stop” button and unplug the USB-TTL Converter from your laptop. 
        1. DDS45-NB -- NB-IoT Distance Detection Sensor

          DDS45-CB/CS CAT-M1/LTE-M Distance Detection Sensor

          From £99.99 (exc. VAT)
        2. DDS45-LB/LS LoRaWAN Distance Detection Sensor

          DDS45-LB/LS LoRaWAN Distance Detection Sensor

          From £89.99 (exc. VAT)
        3. DDS45-NB/NS NB-IoT Distance Detection Sensor

          DDS45-NB/NS NB-IoT Distance Detection Sensor

          From £89.99 (exc. VAT)
        4. Outdoor LoRaWAN Gateway / Outdoor Cellular LoRaWAN Gateway

          DLOS8N-EC25E Outdoor LoRaWAN Gateway 3G/4G Version

          From £339.99 (exc. VAT)
        5. Footer Logo
          • ©2026 UKIoT, all rights reserved. UKIoT is a limited company registered in England and Wales. Registration no. 11466521

          • LoRaWAN Frequency Checker
          • Delivery
          • Subscribe
          • Terms & Conditions
          • Privacy Policy
          • Website issues/enquiries: support@ukiot.io
          • Home
          • Shop
          • About Us
          • Partners
          • Success Stories
          • Blog
          • UKIOT Academy