Table of Contents:

1. LoRaST v4 base Hardware

Below hardware use LoRaST v4 module. They supports UART Access for AT Command and Firmware Upgrade.

ModelsMother BoardUART for AT CommandsUART for Upgrade Firmware
PS-LB, PS-LB-NA, SDI12-LBSIBInstructionInstruction

SN50v3, S31-LB, S31B-LB,

D20-LB.D20S-LB, D21-LB, D22-LB

SN50v3  
LHT65NLHT65N  
    

2. UART for AT Commands

2.1 Generate software set up for AT Commands via UART

1. Use a general serial tool.

2. Connect PC to device's UART interface

3. Set up serial tool with : BaudRate: 9600, databit:8, No parity, No flow control.

4. The password is the last six characters of APPSKEY or PIN of box

Example:

APPSKEY= 41 85 71 A7 5D 7E 54 52 25 58 74 85 96 14 74 85

The password:147485

image-20230329162900-1.png

 

image-20221224170218-1.png

2.2 UART Connection for SIB mother board

image-20221224171304-3.png

2.3 UART Connection for SN50v3 base mother board

3. UART for Firmware Upgrade

3.1 Check Your device already have bootloader

3.1.1 What is Dragino Bootloader?

Dragino Bootloader is a customizer made bootloader which support below features:

  • OTA Update via LoRa or BLE
  • OTA Batch update configure via LoRa or BLE
Model supports LoRa BootloaderModel with BLE Bootloader

PS-LB, SDI12-LB, PS-LB-NA, SN50v3-LB,

D2x-LB, S31x-LB, SDI12-LB

LA66, LA66 USB, LA66 Shield

 

3.1.2 How can i know if my device already have bootloader?

If a device has a bootloader. it will output bootloader info to UART when boot. As below:

image-20230514150410-1.png

3.1.3 How to upload bootloader to device?

3.2 Update Firmware (Assume the device already have a bootloader)

3.2.1 Update a firmware via Dragino bootloader

3.2.2 Update a firmware via TremoProgrammer

Make sure your device already bootloader while use this update. Other device won't be able to boot ( can be solve by upload a bootloader to the device).

LoRaSTv4 Base hardware support UART update firmware. the UART connection is the same as AT Command connection, with the need for two extra action. See below for the steps:

     Step1: Set BOOT Switch to PROG mode. PROG mode is for update firmware specially.

     Step2: Press Reset button, the module will then boot into program mode. 

     Step3: Use TremoProgrammer to update the firmware to LoRaST v4.

     Step4: Set BOOT Switch to FLASH position. Press Reset button again and module will run the new software.

Below is the method for how to update via TremoProgrammer:

1.  Software download link:  https://www.dropbox.com/sh/j0qyc7a9ejit7jk/AACtx2tK4gEv6YFXMIVUM4dLa?dl=0

2.  Run TremoProgrammer.

3.  Choose software and set the address to 0x0800D000. VERY IMPORTANT: USE THIS ADDRESS FOR FIRMWARE WITHOUT BOOTLOADER

4. Rember to set BOOT Switch to FLASH after update

image-20221224174341-4.png

 

Tags:
Created by Edwin Chen on 2022/12/24 16:52
    
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0