Member guide

Programming your radio

How to install the programming software (CPS), put your own DMR ID into the UtahSAINT codeplug, and write it to your radio. Read the first three sections once, then follow the section for your radio.

Your DMR IDs

Sign in to see the DMR ID assigned to each of your radios. You'll find them on My radio too.

1. Set up a safe computer for the CPS

Run the CPS in a virtual machine, or on a computer you don't use for anything else. The radio makers' programming software is unsigned Windows software from overseas vendors, and it likely has undocumented features. You can't check what it does, and it handles the network's encryption keys. Keep it away from your everyday computer, your passwords and your work.

All three radios' CPS run only on Windows. Good options:

  • A Windows virtual machine on any computer: VirtualBox, VMware Workstation or virt-manager/QEMU on Linux; VMware Fusion, Parallels or UTM on a Mac. The VM needs USB passthrough so it can see the programming cable. Windows 10 or 11 works, and Windows will run unactivated for this.
  • An old laptop that you wipe and use only for radio programming. This is the easiest choice if USB passthrough gives you trouble.
  • Apple Silicon Macs: Windows 11 for ARM in Parallels or UTM can run the CPS, but USB-serial cable drivers are hit-or-miss there. A spare x86 laptop is less hassle.

Good habits

  1. Install a fresh copy of Windows, then install the CPS and cable driver for your radio (see your radio's section below).
  2. Take a VM snapshot right after the CPS is installed and working. After each programming session, roll back to it. That also erases the codeplug and keys from the VM.
  3. The CPS doesn't need the internet. Once it's installed, turn off the VM's network adapter or keep the machine offline.
  4. Download the CPS only from the official sources linked below, not from forums, file-sharing sites or video descriptions.
  5. Keep codeplugs out of OneDrive, Dropbox, Google Drive and other synced folders. Windows syncs Documents and Desktop to OneDrive by default, so save into a local folder such as C:\Radio.
  6. When you're done, delete the codeplug and contact files and empty the Recycle Bin, as the Use Agreement asks.

2. Your DMR ID: you must change it

Every radio on the network has its own DMR ID, assigned by the network and shown on My radio. The codeplug you download is shared by every member, so it comes with placeholder IDs already set up. You only change the numbers.

Name in the codeplugPlaceholderChange it to
UtahSAINT_ID999999Your radio's network DMR ID from My radio. Every codeplug has this one.
HAM_RadioID999998Your own amateur DMR ID from radioid.net. Only the Plus HAM codeplugs have this one.
Replace 999999 (and 999998 on a HAM codeplug) before you write the codeplug, or in the radio right after. If you skip this, other members' radios show you as someone else, or as a bare number, and private calls to you go to the wrong radio.
  • Use the ID the network assigned to this particular radio. If you have two radios, each one gets its own ID.
  • Don't mix them up: UtahSAINT_ID takes the network ID, never your radioid.net ID, and HAM_RadioID takes your radioid.net ID. Each channel already points at the right one.
  • Change only the number. Leave the names and the rest of the entry as they are, and don't add new IDs.
  • Changing the ID in the CPS before you write works on every radio, and it's the method described below. Some firmware also lets you edit the ID from the radio's menu. If you're not sure yours does, use the CPS.

3. Which codeplug to use

The member portal lists the codeplugs you can download for each radio. All of them program the same way.

  • UtahSAINT_Member: the network channels. Everyone uses this one unless you have a ham license.
  • UtahSAINT_Member_Plus_HAM: the network channels plus amateur (ham) frequencies. It needs a confirmed ham license. Ham channels are never encrypted, and you identify with your own call sign there.

Use the latest version shown in the portal, and read any notes under the download button before you start. Known problems are listed there. Contact lists change as members join, so download the contact list CSV for your radio at the same time.

Baofeng DM-32UV

What you need

  • A K1 (Kenwood-style two-pin) USB programming cable, plugged into the speaker/mic jack. The USB-C cable that comes in the box only charges; it can't program the radio. A cable with an FTDI chip is the most reliable. Cables with Prolific or CH340 chips work too, but they need their own driver.
  • The DM-32UV CPS from Baofeng's official download page (in the DM section).
  • The DM-32UV codeplug (.data file) and the Digital Contacts CSV from the portal.

Install and connect

  1. Unzip the CPS download and run its installer inside your VM or programming computer.
  2. Plug in the cable. With a VM, pass the USB device through to it. Open Device Manager and note the COM port listed under Ports (COM & LPT). If no port appears, install the driver for your cable's chip (FTDI, Prolific or CH340) from the chip maker.
  3. Push the cable's plug firmly into the radio's speaker/mic jack. A half-seated K1 plug is the most common cause of failed reads and writes. Turn the radio on.
  4. In the CPS, choose Setting → COM Setting and pick that COM port.
  5. Recommended for a new radio: use Program → Read Data, then save the result as a backup of the factory setup. On an already-programmed radio, the read-back won't include the keys, so only use it as a backup, never as the file you edit.

Open the codeplug and set your DMR ID

  1. File → Open the downloaded .data codeplug. Don't start from File → New; a new codeplug defaults to Chinese and lacks the network settings.
  2. In the left tree, expand Digital and open DMR ID.
  3. Double-click UtahSAINT_ID (999999), change the ID to your radio's network DMR ID and click OK. Leave the name as it is.
  4. HAM codeplug only: double-click HAM_RadioID (999998), change the ID to your radioid.net DMR ID and click OK.
  5. Load the contact list: under Digital, open the digital contacts list and use its Import option to load the Digital Contacts CSV.
  6. File → Save As a new file (for example C:\Radio\DM32UV-yourhandle.data) so you can tell it apart from the shared download.

Write it to the radio

  1. With the radio on and connected, choose Program → Write Data and click OK.
  2. Don't touch the radio or cable until the write finishes. The radio restarts afterward.
  3. If a write fails partway, the radio can come back in Chinese. Reseat the cable and write again.

AnyTone AT-D168UV

What you need

  • A USB-C data cable into the radio's USB-C port. Some USB-C cables only carry power; if the computer doesn't see the radio, try another cable.
  • The AT-D168UV CPS whose version matches your radio's firmware, from BridgeCom (US distributor) or AnyTone.
  • The D168UV codeplug (.rdt file) and the Digital Contact List CSV from the portal.

Install and connect

  1. Find your radio's firmware version first. AnyTone's CPS version has to match the radio's firmware version (CPS 1.06 for firmware 1.06, and so on). Look under the device information in the radio's menu. Don't update the firmware just for this network: an update erases the radio and needs a factory reset.
  2. Install the matching CPS in your VM or programming computer.
  3. Connect the radio with the USB-C cable and turn it on (pass the USB device through to your VM). Windows usually installs the driver by itself; if no COM port shows up in Device Manager, install the driver that comes with the CPS download.
  4. In the CPS, choose Set → Set COM and pick the radio's COM port.
  5. Recommended for a new radio: use Program → Read from Radio, tick both Other Data and Digital Contact List, and save the result as a backup.

Open the codeplug and set your DMR ID

  1. Open the downloaded .rdt codeplug.
  2. In the left tree, expand Digital and open Radio ID List.
  3. Double-click UtahSAINT_ID (999999), change the Radio ID to your radio's network DMR ID and click OK. Leave the name as it is, and don't add a new entry: the network channels point at this one.
  4. HAM codeplug only: double-click HAM_RadioID (999998), change the Radio ID to your radioid.net DMR ID and click OK. The ham channels point at this one.
  5. Load the contact list with Tool → Import, choose Digital Contact List and pick the CSV. Don't import anything into Talk Groups: an import there replaces the talk groups that came with the codeplug.
  6. File → Save As a new file (for example C:\Radio\D168UV-yourhandle.rdt).

Write it to the radio

  1. Choose Program → Write to Radio. Tick both Other Data and Digital Contact List, then start the write.
  2. Leave the radio and cable alone until the CPS says the write finished. The radio restarts afterward.
  3. If the CPS reports a frequency or band mismatch, follow AnyTone: fixing a frequency or band mismatch error. If it reports a version mismatch, your CPS doesn't match the radio's firmware; message supertechguy with your firmware version. Don't change the radio's band or mode yourself.

AnyTone AT-D878UVII Plus

What you need

  • The AnyTone programming cable (USB to the radio's speaker/mic jack) that came with the radio.
  • The AT-D878UVII Plus CPS whose version matches your radio's firmware, from BridgeCom (US distributor) or AnyTone. Get the 878 V2 / UVII Plus software, not the older V1 878 software.
  • The D878UVII Plus codeplug (.rdt file) and the Digital Contact List CSV from the portal.

Install and connect

  1. Find your radio's firmware version first. The CPS version has to match it (CPS 3.08 for firmware 3.08, and so on). Look under the device information in the radio's menu, or hold PTT + the top side key (PF1) while you turn the radio on. Don't update the firmware just for this network: an update erases the radio and needs a factory reset.
  2. Install the matching CPS in your VM or programming computer.
  3. Plug the programming cable into the computer (pass it through to your VM) and push its plug fully into the radio's speaker/mic jack. Turn the radio on. If no COM port shows up in Device Manager, install the driver that comes with the CPS download.
  4. In the CPS, choose Set → Set COM and pick the radio's COM port.
  5. Recommended for a new radio: use Program → Read from Radio, tick both Other Data and Digital Contact List, and save the result as a backup.

Open the codeplug and set your DMR ID

  1. Open the downloaded .rdt codeplug.
  2. In the left tree, expand Digital and open Radio ID List.
  3. Double-click UtahSAINT_ID (999999), change the Radio ID to your radio's network DMR ID and click OK. Leave the name as it is, and don't add a new entry: the network channels point at this one.
  4. HAM codeplug only: double-click HAM_RadioID (999998), change the Radio ID to your radioid.net DMR ID and click OK. The ham channels point at this one.
  5. Load the contact list with Tool → Import, choose Digital Contact List and pick the CSV. Don't import anything into Talk Groups: an import there replaces the talk groups that came with the codeplug.
  6. File → Save As a new file (for example C:\Radio\D878-yourhandle.rdt).

Write it to the radio

  1. Choose Program → Write to Radio. Tick both Other Data and Digital Contact List, then start the write.
  2. Leave the radio and cable alone until the CPS says the write finished. The radio restarts afterward.
  3. If the CPS reports a frequency or band mismatch, follow AnyTone: fixing a frequency or band mismatch error. If it reports a version mismatch, your CPS doesn't match the radio's firmware; message supertechguy with your firmware version. Don't change the radio's band or mode yourself.

AnyTone: fixing a frequency or band mismatch error

Sometimes the AnyTone CPS refuses to write the UtahSAINT codeplug to a D878UVII Plus or D168UV with a frequency mismatch or band error, even when the CPS matches the radio's firmware. Writing the downloaded file again won't help. The fix is to read your radio's own codeplug and import the network's channels, zones and contacts into it from CSV files. It takes about 20 minutes.

Thanks to @baron for working out this fix.

Why it happens

Every AnyTone radio has a factory mode (a band plan) that sets the frequency ranges it can receive and transmit on. Two radios of the same model can ship in different modes, depending on where and when they were sold. An .rdt file records the mode of the radio it was made from, and the CPS won't write it to a radio in a different mode. Our codeplug was built on one particular radio, so it can fail on yours even though it's the same model. A codeplug made for a different model fails for the same reason.

A codeplug read from your own radio is already in your radio's mode, and CSV files don't carry a mode. Importing the network data into that copy gets around the check.

To see your radio's mode, check Freq Range under the device information in the radio's menu, or Model → Model Information (the Frequency field) in the CPS after reading the radio. Background: PNWDigital: AnyTone modes and BridgeCom: AnyTone band error.

Don't change your radio's mode yourself. Mode-changing tools and key combinations can erase the radio or unlock frequencies it isn't allowed to transmit on. If step 3 below rejects network channels for their frequency, stop and message supertechguy (see If channels are rejected).
Step 1: export the UtahSAINT codeplug to a folder of CSV files. Step 2: read your radio and save it twice, as an untouched backup and a working copy. Step 3: import the CSV folder into the working copy. Steps 4 and 5: add the encryption keys. Step 6: set your DMR IDs and write the working copy to the radio.
The overall flow. Numbers match the steps below. The file names use the D878; on a D168UV, use names like D168-utahsaint.rdt.

Menu names below are from the D878UVII Plus CPS. The D168UV CPS has the same menus, though a few labels may differ slightly. Work inside your VM or programming computer and keep everything in a local folder such as C:\Radio, not a synced one (see section 1).

1. Export everything from the UtahSAINT codeplug

  1. In the CPS, open the downloaded UtahSAINT .rdt file with File → Open.
  2. Go to Tool → Export and click Export All (Default File Name) at the top of the window.
  3. Save into a new, empty folder, for example C:\Radio\utahsaint-export\. An empty folder keeps old CSVs from getting mixed in.
  4. Close the file without saving.

The folder now holds a set of CSV files (channels, talk groups, receive group lists, zones, scan lists, radio IDs and so on) plus one .LST file that lists them all.

2. Make two copies of your radio's own codeplug

  1. Connect the radio and use Program → Read from Radio, with both Other Data and Digital Contact List ticked.
  2. File → Save As C:\Radio\D878-base-backup.rdt. This is your backup of the radio as it was. Keep it and never edit it.
  3. File → Save As again, this time as C:\Radio\D878-utahsaint.rdt. This is the working copy you'll change in the next steps. Check that its name shows in the CPS title bar before you go on.

3. Import the network data

  1. Go to Tool → Import, choose Import From File List, and pick the .LST file in the folder from step 1. This imports every CSV in the right order, so the cross-references resolve: channels point at talk groups, talk groups at receive group lists, and channels at zones and scan lists.
  2. This import does replace your radio's talk groups, which is what you want here. (The normal steps above say not to import talk groups; that's about importing them into the downloaded codeplug.)
  3. Read any import errors. Each one names the file and row. If channel rows are rejected for their frequency, see If channels are rejected before going on.
  4. Load the current contact list with Tool → Import → Digital Contact List and the CSV from the portal. It's newer than the one in the export.

4. Enter the encryption keys

The keys don't come across in the CSVs, so you enter them from the portal. Open My radio and find the Encryption keys table (you need to have signed the Use Agreement). Each key has a slot number.

The portal's key slot number goes in the CPS AES Encryption Code table as both the row and the Key ID, and the revealed key goes in the Key column. Each encrypted channel uses Extended Encryption AES with AES Digital Encryption set to the same slot number.
Where each portal value goes. The slot number ties the key, the CPS row and the channel together.
  1. In the CPS's left tree, expand Digital and open AES Encryption Code. A table opens with a row per slot and columns like No., Key ID and Key.
  2. Double-click the row whose No. matches the key's slot (row 1 for slot 1). An edit dialog opens.
  3. Fill in:
    • Key ID: the key's slot number from the portal.
    • Key: click Reveal in the portal and paste that slot's key. An AES-256 key is 64 hexadecimal characters (0–9, A–F).
  4. Click OK. If the CPS rejects the key, it's the wrong length or has a stray character, usually a space or line break picked up while copying. Copy it from the portal again.
  5. Repeat for every slot the portal lists.
  6. When you're done, click Hide in the portal and copy something harmless to clear the clipboard. Don't save the keys in a text file, note or password manager.

5. Check the channels point at the keys

The imported channels should already be set up. To spot-check, or to set a channel by hand:

  1. Go to Common Setting → Channel and double-click an encrypted channel. The portal's Channels table shows which channels are encrypted and which slot each one uses.
  2. In the digital section, find the encryption fields and check:
    • Extended Encryption: AES
    • AES Digital Encryption: the slot number shown for that channel in the portal (currently 1 for every encrypted channel)
  3. While you're there, compare the frequencies, color code, time slot and talk group with the portal's Channels table.
  4. Click OK. If either encryption field is wrong or empty, open the original downloaded codeplug, open the same channel there, and copy every value in that dialog into your working copy.

6. Set your IDs, save and write

  1. Under Digital → Radio ID List, change UtahSAINT_ID (999999) to your radio's network DMR ID, and on a HAM codeplug change HAM_RadioID (999998) to your radioid.net ID, as in section 2.
  2. File → Save (the working copy), then Program → Write to Radio with both Other Data and Digital Contact List ticked.
  3. Test it as described in After programming.
  4. Clean up: delete C:\Radio\utahsaint-export\, C:\Radio\D878-utahsaint.rdt, the downloaded codeplug and the contact CSV, then empty the Recycle Bin (or roll back your VM snapshot). Your working copy and the export hold the network's settings, and the working copy holds the keys. Make sure no copy of a key was written down or saved anywhere. Keep D878-base-backup.rdt; it holds only your radio's original setup.

If channels are rejected

If the import in step 3 rejects channel rows for their frequency, your radio's mode doesn't allow those frequencies. Writing anyway would leave those channels out, or the write would fail. Don't change the mode or edit the frequencies. Message supertechguy on Discord with:

  • your radio model and firmware version,
  • the Freq Range from the radio's device information (or the Frequency field from Model → Model Information),
  • the import error text: the file and row numbers, not the channel contents. Don't post codeplug details or keys in a public channel.

After programming

Check that it works

  1. Pick a network channel and make a short test call with another member nearby. Their radio should show your handle. If it shows someone else's handle or just a number, UtahSAINT_ID is wrong (or still 999999); fix it in your saved copy and write again.
  2. Check that you can hear them, and that their handle shows on your radio too.

Clean up

  • Delete the downloaded codeplug, your edited copy and the contact CSV, then empty the Recycle Bin. With a VM, roll back to your snapshot instead.
  • Your radio can't read the codeplug or keys back out. When a new codeplug version comes out, download it again and repeat these steps. Never edit a read-back copy.

Updating later

  • New codeplug version: download it, replace 999999 (and 999998) again, import the latest contact list again, then write.
  • New contact list only: you still need the codeplug file (the radio can't read it back). Open the current codeplug, set your ID, import the new CSV and write.

Troubleshooting

  • The CPS can't find the radio: check that the radio is on, the plug is fully seated, the right COM port is selected, and (with a VM) the USB device is passed through to the VM and not held by the host.
  • No COM port in Device Manager: it's a driver or cable problem. Install the driver for your cable's chip, or try another cable. Charge-only USB-C cables won't work.
  • AnyTone write fails with a frequency mismatch or band error: your radio is in a different band mode from the radio the codeplug was made on. Follow the mismatch fix.
  • AnyTone CPS won't open the codeplug, or the write fails with a version error: your CPS doesn't match the radio's firmware, or it's older than the CPS the codeplug was made with. Message supertechguy with your radio's firmware version.
  • Anything else: message supertechguy on the SAINTCON Discord. Never post codeplugs or keys in a public channel.