Skip to content

F4HWN v6.2.0

Choose a tag to compare

@armel armel released this 15 Oct 22:40
· 227 commits to main since this release
0ade03c

F4HWN v6.2.0

Note

Automatic translation is available through your browser or an online translation service.

πŸ”₯ About this firmware

This firmware is a fork of the F4HWN custom firmware. It extends the work originally done for the UV-K5 V1 (DP32G030 MCU) and adapts it to the newer UV-K1 and UV-K5 V3, which are based on the PY32F071 MCU.

It is the result of joint work by @muzkr and @armel. Many thanks to @mrkusypl, @Sarijen, @jdenoy, @BI8SYN, @laurentneg, and everyone who tested, reported issues, contributed code, or supported the project.

Version 6.2.0 focuses on a much larger and more practical overlay-app platform, a redesigned UV Studio app manager, and a series of reliability fixes for everyday use. Labs can now hold up to 48 applications, while Fusion benefits from fixes to keypad locking, S-meter calibration persistence, and RX/TX logging.

The four official editions remain available:

Edition Intended use Additional features
πŸ”₯ Fusion Everyday use The balanced reference edition
🧭 FieldOps Field and first-responder operations RescueOps controls, Fox Hunt and Morse Beacon
πŸ“‘ Transfer Radio-to-radio data transfer AirCopy and Beam wireless transfer
πŸ§ͺ Labs Experimentation and early access External-Flash overlay apps and experimental features

For most users, Fusion remains the recommended edition.

Important

Labs is experimental. It contains the newest and least-settled developments. Expect rough edges, changing behavior, and possible incompatibilities between versions.

Warning

THIS FIRMWARE HAS NO REAL BRAIN. PLEASE USE YOUR OWN.

Use this firmware entirely at your own risk. There is absolutely no guarantee that it will work in any way, shape, or form on your radio. It may even brick your radio, in which case you may need to buy another one.

Anyway, have fun.

βš™οΈ Getting started

If you are already running Fusion Edition v5.x or v6.x, you can flash the v6.2.0 edition of your choice as usual.

Choose another edition only if you need its specific features:

  • choose FieldOps for Fox Hunt, Morse Beacon and RescueOps controls;
  • choose Transfer for AirCopy and Beam;
  • choose Labs to use the experimental overlay-app platform.

If you are coming from a factory firmware or from a version earlier than Fusion Edition v5.x, I recommend following these steps:

  1. Optionally export your memory channels to CSV from CHIRP using the driver matching your currently installed firmware.
  2. Flash the v6.2.0 edition of your choice.
  3. Enter the hidden menus by holding PTT + SIDE BUTTON 1️⃣ while powering on the radio, then release all keys and perform a RESET ALL.
  4. Optionally reload your channels using the CHIRP driver matching v6.2.0.

Warning

Depending on the firmware you are upgrading from, changes to the memory and settings layout may require a complete reset.

Export your channels and back up your calibration data before flashing.

Warning

When restoring channels from a CSV file, copy and paste them into a freshly downloaded radio image instead of importing the CSV file directly.

Remember to configure the navigation direction for your radio using the hidden SetNav menu:

  • select the UV-K1 layout for the UV-K1;
  • select the UV-K5 V3 layout for the UV-K5 V3.

πŸ“Ί Presentation video

I also made a presentation video for this release, available on my YouTube channel.

πŸ—ƒοΈ A larger overlay-app platform

The experimental Labs overlay platform now supports 48 application slots, up from 16 in v6.1.0. Empty slots are hidden from the radio's app menu, so the list remains compact even when applications are spread across external Flash.

The app menu is also easier to use:

  • holding UP or DOWN repeats navigation;
  • * switches the right-hand column between app size and app version;
  • the list refreshes when UV Studio installs or replaces an app;
  • incompatible applications remain visible and report a clear error instead of disappearing silently.

The loader can now preserve an application's screen in external Flash when it exits. It also introduces a bounded configuration proxy, allowing a companion editor to update a versioned settings block owned by another installed app without moving application-specific logic into the resident firmware.

The external-Flash layout has been adjusted to make room for the expanded app area while preserving the Sonic 4K interoperability reserve. The RX/TX log has moved from 0x1E0000 to 0x018000; existing v6.1.0 log entries are not migrated and the log therefore starts fresh after the update.

πŸ†• New overlay applications

The collection grows from 18 to 30 applications. New in this release:

  • Signal Finder β€” direction finding for any carrier, with relative peak tracking, automatic attenuation and detection of the downward swept tone used by 121.5/243 MHz emergency homers. Thanks @jdenoy.
  • CW Decode β€” decodes A1A keyed carriers from the BK4829 RSSI envelope, with adaptive threshold, WPM tracking, AGC control and optional USB receive audio.
  • CW Keyer β€” self-contained straight-key and paddle CW transmission with adjustable WPM, sidetone, receive pitch, semi-break-in delay and crystal correction.
  • ACARS RX β€” experimental VHF ACARS receiver with parity and BCS checking, limited error repair and a three-message history. Bench-tested, but not yet validated with live aircraft traffic.
  • APRS DIGI β€” a deliberately limited WIDE1-1 / WIDE2-1 fill-in digipeater with duplicate suppression, loop prevention and channel-busy protection.
  • APRS Edit β€” edits the APRS TX callsign, SSID, position, path, symbol and comment of up to 64 characters through the new configuration proxy.
  • ATIS RX β€” receives the ATIS identity burst used by European inland-waterway VHF radios and displays the station identity, call sign and country. Bench-tested; live boat traffic remains to be validated.
  • POCSAG RX β€” receives 1200-baud pager traffic such as DAPNET, corrects one-bit BCH errors and keeps a five-page history. Bench-tested; live network reception remains to be validated.
  • Sokoban β€” a complete 24-level push-box puzzle with undo, level selection and saved progress. Thanks @BI8SYN.
  • Sonde M20 β€” decodes Meteomodem M20 radiosondes and displays serial number, GPS position, altitude, temperature and pressure. Thanks @laurentneg.
  • ToneCall β€” sends user-defined ZVEI-1, ZVEI-2, CCIR-1 or CCIR-2 sequential tone calls and can be assigned directly to a side key. Thanks @jdenoy.
  • FlashMap β€” inspects the external-Flash map, firmware slots, installed apps, active state and raw contents through a hexadecimal viewer.

Caution

Transmitting applications must only be used on frequencies, power levels and modes permitted by your licence and local regulations. Never transmit test signals in protected distress, aeronautical, maritime or paging bands.

πŸ“‘ Existing application improvements

Existing applications also received substantial updates:

  • APRS RX now follows the configured UV-K1/UV-K5 navigation direction correctly and gates optional speaker audio with the squelch without gating the decoder.
  • APRS TX now stores its beacon content in a versioned profile editable from APRS Edit and adds an automatic beacon interval of 1, 5, 15, 30 or 60 minutes.
  • SSTV preserves the last received picture across launches, reacquires line synchronization after missed periods, accepts the first line synchronization anywhere after the VIS, and adds a one-second 1900 Hz lead-in so a squelch, tone decoder or repeater does not cut off the VIS header.
  • EPIRB 406 now decodes every supported Cospas-Sarsat T.001 first-generation location format, including national, RLS, ELT(DT) and user-location positions. Its layout has been reorganized, and all 61 generated T.001 coding variants were validated over the air with real biphase-L modulation from a LimeSDR.
  • System Info now reports the UV-K1 battery as 1400 mAh instead of 1500 mAh.

🌐 UV Studio v1.9.0

UV Studio has received a major app-management redesign alongside firmware v6.2.0.

The new app manager provides:

  • separate Installed and Catalog views;
  • automatic detection of the connected firmware and its compatible app catalog;
  • an installed-app counter and a 48-slot capacity gauge;
  • app search and category filters for radio tools, utilities, games and demos;
  • richer catalog cards with descriptions, authors, versions, code/assets sizes and compatibility state;
  • direct install and update actions with inline progress;
  • one-click updates for installed apps and multiboot firmware slots;
  • app reordering and slot renumbering, so the radio menu order can be changed without reinstalling each app manually;
  • removal of individual apps or all installed apps;
  • clearer reporting for ABI, capability, size, CRC and firmware-version incompatibilities;
  • continued support for installing a local .app file.

UV Studio and the radio now agree on the 48-slot layout and refresh their app inventory after changes. The catalog also includes presentation metadata for all new v6.2.0 applications.

πŸ› οΈ Reliability fixes

  • Fixed long auto-keypad-lock delays wrapping around and locking too early.
  • Fixed S-meter correction values for bands 1 and 2 being reset to zero whenever settings were saved.
  • Added startup repair for radios whose first two S-meter corrections were already overwritten by the previous bug.
  • Fixed overlay navigation direction on both UV-K1 and UV-K5 V3 layouts.
  • Improved app-menu refresh and reporting after serial installation, including incompatible apps.
  • Corrected the UV-K1 battery-capacity label and discharge-curve name from 1500 to 1400 mAh.
  • Accepted both all and All in the firmware build script.

πŸ“‹ Changelog

Added

  • Added Signal Finder with ELT swept-tone detection.
  • Added CW Decode and CW Keyer.
  • Added ACARS RX, APRS DIGI, APRS Edit, ATIS RX and POCSAG RX.
  • Added Sonde M20 and ToneCall.
  • Added Sokoban with 24 levels.
  • Added FlashMap for external-Flash diagnostics.
  • Added a TONE CALL assignable key action when ToneCall is installed.
  • Added an overlay configuration proxy for bounded cross-app profile editing.
  • Added optional saved-screen persistence for overlay apps.
  • Added one-click app and multiboot firmware-slot updates to UV Studio.
  • Added app search, categories, compatibility summaries, reordering, renumbering and bulk removal to UV Studio.

Improved

  • Increased overlay-app capacity from 16 to 48 slots.
  • Hid empty slots from the radio app menu.
  • Added held-key repeat to app-menu navigation.
  • Added size/version switching with * in the app menu.
  • Improved APRS TX profiles and added a beacon timer.
  • Improved APRS RX speaker behavior.
  • Improved SSTV synchronization, persistence and TX lead-in.
  • Extended EPIRB 406 decoding to all supported T.001 first-generation location formats.
  • Improved EPIRB 406 status layout and validation coverage.
  • Redesigned UV Studio's app-management interface and progress reporting.
  • Improved compatibility diagnostics for installed overlay apps.

Fixed

  • Fixed auto-keypad-lock timer overflow.
  • Fixed bands 1 and 2 S-meter correction persistence.
  • Fixed overlay scrolling direction for both supported keypad layouts.
  • Fixed APRS TX editor navigation direction.
  • Fixed APRS RX speaker noise between received frames by following the squelch.
  • Fixed several SSTV synchronization edge cases after VIS and after missing line syncs.
  • Fixed EPIRB 406 ELT(DT) rotating-field interpretation.
  • Fixed System Info's UV-K1 battery capacity.

Changed

  • Moved the RX/TX log to 0x018000–0x01FFFF in external Flash.
  • Reserved the upper external-Flash area for expanded overlay storage and Sonic 4K interoperability.
  • Changed the app menu from a physical-slot browser to an installed-app launcher.
  • Changed APRS TX content editing to a versioned profile shared through the loader's configuration proxy.
  • Bumped the firmware version to v6.2.0 and UV Studio to v1.9.0.

πŸ“š Wiki documentation

The project Wiki brings together the main documentation: getting started, CHIRP programming, UV Studio, radio operation, scanning, menu reference, button functions, advanced features, troubleshooting, and videos.

Documentation for the experimental overlay apps is also available in the app directories of the source repository.

πŸͺ› Calibration data

UV Studio can dump and restore calibration data. Keeping a separate backup for each radio is strongly recommended.

  1. Open Dump Calibration.
  2. Power on the radio in normal mode.
  3. Click Dump Calibration Data and save the resulting calibration.dat file.
  4. Rename the file with the serial number printed under the battery to avoid mixing backups from different radios.

πŸ–₯️ Live Viewer

UV Studio includes K5Viewer Live Viewer for screen mirroring, screenshots, and remote keyboard control over USB or a compatible serial cable.

  1. Keep the radio connected to your computer.
  2. Open UV Studio Live Viewer.
  3. Click Connect and select the radio's serial port.

πŸ’Ύ CHIRP support

Use the CHIRP driver supplied with this release and matching firmware v6.2.0. It supports the UV-K1 and UV-K5 V3 editions and exposes the settings reported by the installed firmware.

Always use the CHIRP driver matching the firmware version installed on the radio.

πŸ“¦ Release files

This release provides four firmware binaries:

  • f4hwn.fusion.bin
  • f4hwn.fieldops.bin
  • f4hwn.transfer.bin
  • f4hwn.labs.bin

It also includes the CHIRP driver matching v6.2.0;

For most users, install f4hwn.fusion.bin.

βš™οΈ Build summary

πŸ’Ύ Flash (limit: 120832 B / 118.00 KiB)

Preset Used (B) Used (KiB) Free (B) Free (KiB) Usage
Fusion 107676 105.15 13156 12.85 89.11%
Transfer 115812 113.10 5020 4.90 95.85%
FieldOps 113812 111.14 7020 6.86 94.19%
Labs 115832 113.12 5000 4.88 95.86%

🧠 RAM (limit: 16384 B / 16.00 KiB)

Preset Used (B) Used (KiB) Free (B) Free (KiB) Usage
Fusion 12160 11.88 4224 4.13 74.22%
Transfer 12800 12.50 3584 3.50 78.13%
FieldOps 12384 12.09 4000 3.91 75.59%
Labs 12672 12.38 3712 3.63 77.34%

πŸ“¦ Overlay apps

File Code (B) Code (KiB) Free (B) Free (KiB) Usage Status
ACARSRX.app 4048 3.95 48 0.05 98.83% βœ… OK (+404 B assets)
APRSDIGI.app 3660 3.57 436 0.43 89.36% βœ… OK (+236 B assets)
APRSEdit.app 3280 3.20 816 0.80 80.08% βœ… OK (+3686 B assets)
APRSRX.app 4072 3.98 24 0.02 99.41% βœ… OK (+3832 B assets)
APRSTX.app 3460 3.38 636 0.62 84.47% βœ… OK (+3206 B assets)
ATISRX.app 2932 2.86 1164 1.14 71.58% βœ… OK (+972 B assets)
Beacon.app 2692 2.63 1404 1.37 65.72% βœ… OK (+173 B assets)
Beam.app 1096 1.07 3000 2.93 26.76% βœ… OK (+244 B assets)
Breakout.app 1840 1.80 2256 2.20 44.92% βœ… OK (+1139 B assets)
Cube3D.app 2480 2.42 1616 1.58 60.55% βœ… OK (+1200 B assets)
CWDecode.app 3616 3.53 480 0.47 88.28% βœ… OK (+907 B assets)
CWKeyer.app 3812 3.72 284 0.28 93.07% βœ… OK (+243 B assets)
EPIRB406.app 4072 3.98 24 0.02 99.41% βœ… OK (+470 B assets)
FlashMap.app 3420 3.34 676 0.66 83.50% βœ… OK (+686 B assets)
BroadcastFM.app 2244 2.19 1852 1.81 54.79% βœ… OK (+107 B assets)
FoxHunt.app 2448 2.39 1648 1.61 59.77% βœ… OK (+196 B assets)
Minesweeper.app 1752 1.71 2344 2.29 42.77% βœ… OK (+2110 B assets)
Plasma.app 1524 1.49 2572 2.51 37.21% βœ… OK (+773 B assets)
POCSAGRX.app 3256 3.18 840 0.82 79.49% βœ… OK (+188 B assets)
RapidRoll.app 2332 2.28 1764 1.72 56.93% βœ… OK (+1163 B assets)
SigFinder.app 3276 3.20 820 0.80 79.98% βœ… OK (+277 B assets)
Snake.app 1836 1.79 2260 2.21 44.82% βœ… OK (+1178 B assets)
Sokoban.app 2848 2.78 1248 1.22 69.53% βœ… OK (+1744 B assets)
SondeM20.app 3868 3.78 228 0.22 94.43% βœ… OK (+345 B assets)
SpaceImpact.app 3196 3.12 900 0.88 78.03% βœ… OK (+1225 B assets)
Spectrum3D.app 3856 3.77 240 0.23 94.14% βœ… OK (+186 B assets)
SSTV.app 3880 3.79 216 0.21 94.73% βœ… OK (+2954 B assets)
SystemInfo.app 3972 3.88 124 0.12 96.97% βœ… OK (+1316 B assets)
Tetris.app 2636 2.57 1460 1.43 64.36% βœ… OK (+1236 B assets)
ToneCall.app 2652 2.59 1444 1.41 64.75% βœ… OK (+204 B assets)
TOTAL 90056 87.95 32824 32.05 73.29% 30/30 apps, avg usage (+32600 B assets)

Enjoy,

Armel, F4HWN