This program is similar in purpose to the Tytera MD380 CPS program. It provides several features that the CPS lacks.
This codeplug editor supports the Tytera MD-380, MD-390, MD-2017, MD-UV380, MD-UV390, and MD-2017, the Alinco DJ-MD40, the Retevis RT3, RT3-G, RT3S, and RT82 radios. Support for additional radio models is likely, but is not scheduled at this time.
Editcppermits the editing of General Settings, Channels, Contacts, Zones. Group Lists, and Scan Lists.
Editcpcan convert a codeplug for one type of radio to a codeplug for a different radio type. For example, it can convert an MD-380 codeplug to work on an MD-UV380 radio.
Editcpperforms extensive input validation and codeplug entry validation.
Editcpcan edit .rdt files as well as the .bin files produced by md380tools.
Editcpalways saves files in .rdt format, so it is an effective converter from .bin format to .rdt format.
Editcpcan upload/download codeplugs to the radio via USB.
Editcpnow has md380tools features. It can download and install upgraded md380/md390 firmware, as well user database. It can also restore factory firmware.
I have tested
Editcp on 64-bit Windows 7 and Windows 10. It should also work on 32-bit systems, but I don't have a 32-bit windows system to test with.
It will not work on windows XP.
Download the latest installer file from https://www.farnsworth.org/dale/codeplug/editcp/downloads/windows.
Run the installer file (Click on the filename)
Note: on Windows 10, you will see a popup screen, "Windows protected your PC". Click on "More info" and then click on "Run anyway". I won't pay the several hundred dollars a year to become a "known publisher" to avoid this step.
Respond to the installer's prompts and editcp.exe will be installed.
I have tested
Editcp on Ubuntu (versions 14.04, 16.04, and17.04) and
Fedora version 26. It only works on 64-bit distributions.
It will likely work on most relatively recent desktop distributions. I would love to hear success or failure reports for other distributions.
To install the pre-built binaries:
Download the latest tar file from https://www.farnsworth.org/dale/codeplug/editcp/downloads/linux.
Extract the binary file, replacing:
Editcpand its libraries should be placed.
PathToTarFile with the path of the compressed tar file downloaded in the previous step.
$ tar -C DestDir -xJf PathOfTarFile
Install the executable, replacing:
installdir with a directory in your
$path. If you run ./install
without arguments, it will present you with a menu of directories to
$ ./install installdir
Editcp depends on the libusb-1.0-0 package. It is probably
already installed, but if not, you will need to install it. On debian-derived
systems this can be done by
$ sudo apt-get install libusb-1.0-0
By default, access to usb devices requires root user access. If you would like to enable non-root-user access, cd to the directory where you extracted the tar archive, and run the command:
$ sudo cp 99-md380.rules /etc/udev/rules.d/
This only needs to be done once, not on each install of editcp.
Run editcp, optionally passing the name of a codeplug file:
$ editcp file.rdt
Note: If you get the error message
editcp: cannot execute binary file: Exec format error
it means your system is 32-bit only. The Go QT GUI framework I use to develop editcp only works on 64-bit systems.
Source code is available at https://github.com/DaleFarnsworth/codeplug/blob/master/editcp.
Editcp has only been used by a small number of people at present. While
no problems have been observed in radios after loading codeplugs edited by
Editcp, I can't guarantee that such will never occur. Use
your own risk.
IRC: freenode channel: #md380, user: dfarnsworth