-
Notifications
You must be signed in to change notification settings - Fork 10
3. Almost Ready
If you're trying to do this tutorial without a BastWAN Board, you will need to burn the bootloader since the RAK4260 module by itself doesn't come with the bootloader flashed. BastWAN devices come preloaded with the bootloader. The support package for Electronic Cats boards comes with the bootloader. Depending on your machine and setup, it will be somewhere like [...]/Arduino15/packages/electroniccats/hardware/samd/2.0.3/bootloaders/bastwan/ . In short, wherever the packages are installed, go into electroniccats and follow the path all the way to bastwan . The file is currently called bootloader-bast-wan-v3.5.0.bin . This is the file you need.
Location of the Bootloader on Mac.
The bootloader is based on the UF2 from Microsoft, which allows you to reprogram it with Arduino and other platforms.
You will need a JLink, an ATMEL ICE or a Black Magic Probe. Maybe you can even do your own programer based on the Black Magic probe or with a Raspberry as a ARM programmer. There are a lot of ways to flash this chip nowadays. We'll demonstrate how with a JLink.
In JFlash Lite, select the proper MCU type, ATSAMR34J18.
Then, select the bootloader file from your disk, and click Program Device to upload it to the BastWAN.