-
Notifications
You must be signed in to change notification settings - Fork 142
UVTools2 web tool
🌐 Translate
Automatic translation is available via Google Translate: Open translated version.
UVTools2 is the browser-based companion tool for this firmware. It runs through the Web Serial API and can be used from Chrome, Edge, or Opera.
Note
UV Studio now combines these maintenance tools with Live Viewer, RF Log, and remote keypad features in one interface. UV Studio is intended to become the main browser-based companion; UVTools2 remains available as a standalone tool during the transition.
Open it here:
https://armel.github.io/uvtools2/
Important
Use UVTools2 with the UV-K1 / UV-K5 V3 Fusion firmware only. The tool works directly with flash and EEPROM areas, so make sure you are using the current tool and the matching firmware generation.
UVTools2 currently provides these tabs:
-
Flash Firmware: flash a firmware.binfile -
Dump Calib: read the radio calibration area and download it ascalibration.dat -
Restore Calib: write a previously dumpedcalibration.datfile back to the radio -
Upload Logo: convert an image and write it as the custom boot logo -
Download Logo: read the current boot logo from the radio and download it aslogo.png
The required radio mode depends on the operation:
- firmware flashing: start the radio in
DFU/ flash mode - calibration dump, calibration restore, logo upload, and logo download: start the radio normally
If UVTools2 cannot communicate with the radio, disconnect the cable, restart the radio in the expected mode, reconnect the cable, and select the serial port again.
- Start the radio in flash mode.
- Open UVTools2 in a compatible browser.
- Select the
Flash Firmwaretab. - Choose the firmware
.binfile. - Click
Flash firmware. - Wait until programming is complete before disconnecting the cable.
UVTools2 checks the bootloader version reported by the radio and can warn if it is not compatible with the selected firmware.
Calibration data is device-specific. Before experimenting with firmware images or low-level options, make a calibration dump and keep it somewhere safe.
To dump calibration:
- Start the radio normally.
- Select the
Dump Calibtab. - Click
Dump Calibration Data. - Download the generated
calibration.datfile.
To restore calibration:
- Start the radio normally.
- Select the
Restore Calibtab. - Choose a valid
calibration.datfile. - Click
Restore Calibration Data.
Warning
Restore only calibration data that belongs to the same radio, unless you know exactly what you are doing.
Current builds with logo support can display a custom 128x64 monochrome boot logo. The logo is stored in external flash and selected from the radio menu with POnMsg = LOGO.
UVTools2 handles the image conversion for you:
- common image formats are accepted by the browser, such as PNG or JPEG
- the image is fitted into a
128x64logical canvas - it is converted to monochrome
- the threshold slider adjusts how light or dark the conversion is
- the invert option swaps black and white
- the preview uses the radio display's physical proportions, so it looks closer to the real LCD than a square-pixel preview
To upload a logo:
- Start the radio normally.
- Open UVTools2 and select
Upload Logo. - Choose an image file.
- Adjust
ThresholdandInvert colorsuntil the preview looks right. - Click
Upload Logo to Radio. - On the radio, open menu
POnMsgand selectLOGO. - Restart the radio to see the logo during startup.
To download the current logo:
- Start the radio normally.
- Select
Download Logo. - Click
Download Logo from Radio. - Use the generated
logo.pngif you want to archive or edit the current logo.