Flash the Sidewalk version to LoRaWAN version
This tutorial will guide users to flash the LPWAN Dev Board for Amazon Sidewalk to the Wio Tracker 1110 Dev Board, for those who want to use the LoRaWAN network.
Preparation
LPWAN Dev Kit for Amazon Sidewalk x 1
Computer x 1
USB Type-C Cable x 1
J-Link Debug Programmer x 1
Please note that, after you flashing the board, it can not use SenseCAP Cloud, because there is no keys of SenseCAP Cloud, but you can use other platforms like TTN, Helium, AWS, etc.
Connect the board
Connect the Dev Board to the J-Link Debug Programmer as follows:
DIO (Wio-WM1110 Dev Board Pin2) -> SWDIO (J-Link Debug Programmer Pin7)
CLK (Wio-WM1110 Dev Board Pin4) -> SWDCLK (J-Link Debug Programmer Pin9)
GND (Wio-WM1110 Dev Board Pin5) -> GND (J-Link Debug Programmer GND)
Flash the bootloader
- Step 1: Create a new project
Open the JFlash, select Create new project
.
Click the ...
to select the target device.
Select nRF52840_xxAA
.
Target interface: SWD
, then click OK
.
- Step 2: Connect the target
Power on the board and connect to the JLink, then click Target
-> Connect
.
When the connection is successful, it will show a prompt like this:
Data Backup
Before we start flashing the board, it is recommended to make a backup just in case.
Click Target
-> Manual Programming
-> Read Back
-> Entire chip
.
Then save the data, click File
-> Save data file as
.
- Step 3: Download the file
Click File
-> Open data file
, select the bootloader file of the Wio Tracker 1110 Dev Board.
Click Target
-> Production Programming
.
When programming is successful, it will show a prompt like this:
Download the application
Double click the Reset
button, there should be a BOOT
disk in your PC.
Copy the .uf2 file to the disk, the download will run automatically, then the disk will log out.
You can also upgrade your own applicaiton by Arduino.
Check the log
Then we can open the serial monitor to check the log. After the flashing, the DevEUI/AppEUI/Appkey will be 0.
You can use the SenseCAP Mate APP to choose the platform and define the DevEUI/AppEUI/Appkey, check the Get Started for more details.
If you want to use the SenseCAP Cloud, please contact [email protected]
After the settings, the board will reset and rejoin the network.