Table of Contents:
1. Instruction for Windows OS Platform
Step 1:Install MSYS2
Download MSYS2 and Install
Step 2:Open MSYS2
Install related software: pacman -S git vim make unzip python python-pip
Use pip to install pyserial:pip install pyserial configparser
Step 3:Get LA66 SDK.
Step 1: Download LA66 code: GitHub - dragino/LA66: LoRaWAN Module
Step 2: Downloads | GNU Arm Embedded Toolchain Downloads – Arm Developer
Step 3: Copy the file downloaded in step 2 to the folder directory of .../LA66/tools/toolchain in step 1.
Step 4:Connect your LA66 to PC via USB TTL.
Step 5:Check USB Port
Step 6:Open Makefile File, Modify Region and USB Port
Step 7:Use Make to compile
Open Directory cd E:/ASR6601_soft_DRAGINO/LA66
source build/envsetup.sh
cd Projects/Applications/DRAGINO-LRWAN-AT
make
make flash
Step 8:Uplink Image to LA66
LA66 LoRaWAN shield:
- Connection:
Connect the Jump cap
10 <-> USB TTL RX
11 <-> USB TTL TX
GND <-> USB TTL GND
3V3 <-> USB TTL 3.3v
Switch SW1 to ISP
Press the RST key
Put USB LoRaWAN Adapter into Program Mode, and press reset
Run make flash
Wait for update finish, remove program jumper and press reset
Below is the serial output after update success.
Example for output files of Make