A customized version of https://github.com/DualTachyon/uv-k5-firmware
A customized version of https://github.com/DualTachyon/uv-k5-firmware
This repository is a cloned and customized version of DualTachyon's open firmware found here ..
https://github.com/DualTachyon/uv-k5-firmware .. a cool achievement !
Use this firmware/code ENTIRELY at your own risk. This firmware is totally experimental, and at times will go completely tits up (break your radio).
There is absolutely no guarantee that it will work in any way shape or form on your radio(s), it may even brick your radio(s).
You're on your own.
NO REFUNDS, ever !
After having two UV-K5(8) radios for a while now, and I don't know how many programming lead insertions/deinsertions (lots n lots!) both radios are now having trouble booting up into either the bootloader and/or the firmware.
I suspect the reason being something to do with the the 3.5mm/2.5mm mic jack sockets or the volume control pot, either that or broken thru-hole plating in the PCB or such like.
Need to find matching replacements to confirm this though (or just temp short the terminals that are suppose to be shorted at power on).
Please note that the Quansheng UV-Kx radios are not professional quality transceivers, their performance is strictly limited. The RX front end has no track-tuned band pass filtering at all, and so are wide band/wide open to any and all signals over a large frequency range.
But, they are nice toys for the price, fun to play with.
You can customize the firmware by enabling/disabling various compile options, this allows us to remove certain firmware features in order to make room in the flash for others. You'll find the options at the top of "Makefile" ('0' = remove code, '1' = include code) ..
…Press the Exit button at any time to cancel the edit and return to the main menu.
Sounds complicated but once you done it a couple of times you'll be fine.
When you're editing the name, you can enter digits (0 ~ 9) directly without having to use the up/down buttons to find them.
arm-none-eabi GCC version 10.3.1 is recommended, which is the current version on Ubuntu 22.04.03 LTS. Other versions may generate a flash file that is too big. You can get an appropriate version from: https://developer.arm.com/downloads/-/gnu-rm
clang may be used but isn't fully supported. Resulting binaries may also be bigger. You can get it from: https://releases.llvm.org/download.html
To build the firmware, you need to fetch the submodules and then run make:
git submodule update --init --recursive --depth=1
makeTo compile directly in windows without the need of a linux virtual machine:
1. Download and install "gcc-arm-none-eabi-10.3-2021.10-win32.exe" from https://developer.arm.com/downloads/-/gnu-rm
2. Download and install "gnu_make-3.81.exe" from https://gnuwin32.sourceforge.net/packages/make.htm
3. If need be (probably not), also download Dependency.zip that includes the library files from https://gnuwin32.sourceforge.net/packages/make.htm
3. You may need to (I didn't) manualy add gcc path to your OS environment PATH.
ie add C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2021.10\bin
4. You may need to reboot your PC after installing the aboveThen you can run 'win_make.bat' from the directory you saved this source code too. You may need to edit the bat file (path to make.exe) depending on where you installed the above two packages too.
I've left some notes in the win_make.bat file to maybe help with stuff.
Many thanks to various people on Telegram for putting up with me during this effort and helping:
Copyright 2023 Dual Tachyon https://github.com/DualTachyon
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.Most of the radios TX energy is concentrated into the harmonics and other spurious carriers rather than within the fundamental ..
You have been warned !
No open issues yet, or sync has not completed.