Skip to content

Firmware loader for Microchip RN2483 LoRa radio module

Notifications You must be signed in to change notification settings

samueldewan/rn2483-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rn2483-loader

This project is a firmware loader for Microchip RN2483 radio modules. It should work on Linux and macOS.

Warning!!!

While I have tested this program and it works for me, I cannot guarantee that it will work in all cases. Use this software at your own risk! I would not recommend using this software unless you are comfortable with the possibility of needing to refresh the firmware and boot loader on the radio module using a PIC programmer.

Building

To build the project, just run make build from the project directory. A directory named obj will be created that will contain an executable named rn2483-loader.

Using

Firmware images are available on the RN2483 product page under the documents tab. Within the archive, there will be two hex files. The one to use will either be in a folder called /Binary/For Bootloader or a folder called offset, depending on the firmware version.

Connect the module via a serial adaptor. To update it's firmware, run:

rn2483-loader [path to serial port] [path to firmware hex file]

The loader will check the current version of the software on the module and prompt you to confirm that you want to continue with the update before it erases the software on the module.

If the update fails or hangs for some reason, the module may be left in the bootloader mode without any radio firmware installed. If this happens you can use the --recover option to try and reconnect to the already running boot loader.

If you encounter an error or freeze during programming, or a failure during verification and are unsure what to do, I recommend trying these steps:

  • Try to run the loader software again with the --recover option in addition to the options you had before
  • If that doesn't work power cycle the module and try running the loader software again without the --recover option
  • If that doesn't work power cycle the module again and try running the loader software one more time with the --recover option
  • If that still doesn't work you can try power cycling and using different combinations of options, but it might be time to break out the PICkit

About

Firmware loader for Microchip RN2483 LoRa radio module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published