Skip to main content

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

  • Bootloader file x 1

note

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:

pir

Connection:

CLK (Wio-WM1110 Dev Board Pin1) -> SWCLK (J-Link Debug Programmer Pin 9)
DIO (Wio-WM1110 Dev Board Pin3) -> SWDIO (J-Link Debug Programmer Pin 7)
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.

pir

Click the ... to select the target device.

pir

Select nRF52840_xxAA.

pir

Target interface: SWD, then click OK.

pir

  • Step 2: Connect the target

Power on the board and connect to the JLink, then click Target -> Connect.

pir

When the connection is successful, it will show a prompt like this:

pir

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.

pir

pir

Then save the data, click File -> Save data file as.

pir

  • Step 3: Download the file

Click File -> Open data file, select the bootloader file of the Wio Tracker 1110 Dev Board.

pir

Click Target -> Production Programming.

pir

When programming is successful, it will show a prompt like this:

pir

Download the application

Double click the Reset button, there should be a BOOT disk in your PC.

pir

Copy the .uf2 file to the disk, the download will run automatically, then the disk will log out.

pir

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.

pir

You can use the SenseCAP Mate APP to choose the platform and define the DevEUI/AppEUI/Appkey, check the Get Started for more details.

pir

note

If you want to use the SenseCAP Cloud, please contact [email protected]

After the settings, the board will reset and rejoin the network.

pir

Loading Comments...