Firmware Upgrade
The RS-UV3A firmware can be updated using a built-in bootloader. This guide covers the upgrade process.
Prerequisites
Section titled “Prerequisites”You’ll need:
- RS-UV3A connected via USB or serial
- Windows PC (bootloader software is Windows-only)
- mikroBootloader 2.3 software
- Latest firmware file (.HEX format) from HobbyPCB
Getting the Software
Section titled “Getting the Software”Bootloader Software
Section titled “Bootloader Software”Search for and download mikroBootloader2.3.zip. This is a standalone tool from MikroElektronika that doesn’t require installation.
Firmware File
Section titled “Firmware File”Download the latest RS_UV3_FIRMWARE_VX-X.HEX from the HobbyPCB Files page.
Upgrade Process
Section titled “Upgrade Process”Step 1: Configure the Bootloader
Section titled “Step 1: Configure the Bootloader”- Extract and run
mikroBootloader.exe - Click Change Settings
- Set Port to your RS-UV3A’s COM port
- Set Baud rate to 115200
- Leave other settings at defaults
- Click OK
Step 2: Enter Bootloader Mode
Section titled “Step 2: Enter Bootloader Mode”The RS-UV3A must be listening for the bootloader before you can connect.
Method 1: BL Command (Normal Operation)
If your RS-UV3A is working and responsive:
- Open a terminal program (PuTTY, Tera Term)
- Connect at 19200 baud
- Send the command:
BL
- Close the terminal program (important!)
The RS-UV3A is now waiting for the bootloader. It will wait indefinitely.
Method 2: ICSP Jumper (If Unresponsive)
If the RS-UV3A won’t respond to commands (corrupted firmware):
- Power off the RS-UV3A
- Place a jumper on the ICSP header:
- Pins 1-2 for USB/JP1 serial upload
- Pins 4-5 for DE-9 serial upload
- Power on the RS-UV3A
The RS-UV3A will boot directly into bootloader mode.
Step 3: Connect and Upload
Section titled “Step 3: Connect and Upload”- Ensure your terminal program is closed
- In mikroBootloader, ensure PIC18 is selected in “Select MCU”
- Click Connect
- You should see “Connected” in the History window
- Click Browse and select the firmware .HEX file
- Click Begin uploading
- Wait for the upload to complete (progress bar fills)
Step 4: Restart
Section titled “Step 4: Restart”- Power cycle the RS-UV3A
- Connect with a terminal program
- Verify the new version:
FW
You should see the new firmware version reported.
Troubleshooting
Section titled “Troubleshooting””No response from device”
Section titled “”No response from device””- Verify the COM port is correct
- Ensure the terminal program is closed
- Check that you sent
BLcommand successfully - Try the ICSP jumper method
Upload Fails Partway
Section titled “Upload Fails Partway”- Check USB cable connection
- Try a different USB port
- Reduce cable length
- Ensure stable power supply
RS-UV3A Unresponsive After Failed Upload
Section titled “RS-UV3A Unresponsive After Failed Upload”Use the ICSP jumper method to force bootloader mode, then re-upload.
Wrong Bootloader Baud Rate
Section titled “Wrong Bootloader Baud Rate”The bootloader always runs at 115200 baud, regardless of the B1 setting. Don’t confuse this with the normal operating baud rate (default 19200).
After Upgrading
Section titled “After Upgrading”After a successful upgrade:
- Check version:
FW - Your saved settings should be retained
- If settings were lost, restore defaults:
FD1 - Reconfigure as needed
- Save settings:
ST0
Version History
Section titled “Version History”Check the HobbyPCB wiki for release notes on each firmware version. Typical improvements include:
- New commands
- Bug fixes
- Improved receiver performance
- Additional features
Important Notes
Section titled “Important Notes”Exiting Bootloader Mode Without Uploading
Section titled “Exiting Bootloader Mode Without Uploading”If you accidentally entered bootloader mode (BL command) and want to exit without uploading:
- Simply power cycle the RS-UV3A
- It will boot normally (unless you have an ICSP jumper installed)
ICSP Header Pinout
Section titled “ICSP Header Pinout”For reference, the ICSP header pins (when viewed from the top):
1 2 3 4 5 6- Pins 1-2 jumper: Bootloader on USB/JP1 serial
- Pins 4-5 jumper: Bootloader on DE-9 serial
Remove the jumper after successful upload to resume normal operation.