This project is a firmware loader for Microchip RN2483 radio modules. It should work on Linux and macOS.
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.
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
.
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