If you’ve been reading this blog, you know I’m a huge fan of APRS, and that I love giving old equipment a new life. This time I want to tell you about a project I’ve been working on for the last few weeks: a web tool to configure UIDIGI and bring old TNC-2s back on the air as APRS digipeaters.
Many of us have a TNC-2, or one of its many clones, collecting dust on a shelf. With the right firmware, that little box can become a perfectly good digipeater, and that’s exactly what UIDIGI does.
What is UIDIGI?
UIDIGI is a free (copyrighted) firmware written by Marco Savegnago, IW3FQG. You burn it into the EPROM of a TNC-2 and the TNC becomes a dedicated APRS digipeater: it repeats packets, sends beacons and supports the modern WIDEn-N paradigm. The last version is 1.9 beta 3.
What you need:
- A TNC-2 or a 100% compatible clone with 32 KB of RAM.
- A 27C256 EPROM (a 27C512 also works with the image in the upper half).
- An EPROM programmer, like a TL866/T48 or a Willem.
The problem: configuring it
The firmware is great, but configuring it is not easy. You have to edit a text file (UIDIGI.TXT) by hand, with dozens of parameters, run a configuration utility from 20 years ago that writes your settings into the firmware image, and then burn the EPROM hoping everything went right.
On top of that, a lot of the documentation is from older versions, and some of the comments in the sample file no longer match how version 1.9 beta 3 works. That’s why I decided to build a tool to make this easier.
UIDIGI Config: what it does
UIDIGI Config is a step-by-step wizard that runs in your web browser. You don’t need to install anything, and nothing is sent to any server. You can try it here: https://nicolassolop.github.io/uidigi-config/
- Full digipeater and fill-in profiles, using the New-N paradigm.
- Path trapping for full digipeaters, with three profiles: standard (WIDE7-7 to WIDE4-4), strict as recommended by N8DEU, or none.
- An interactive map to set the station location.
- APRS symbol and PHG configuration.
- APRS objects for your local voice repeater.
- An expert mode for advanced UIDIGI parameters.
- Import and export of UIDIGI.TXT files.
- English and Spanish interfaces.
What we’re working on now: checking everything against the original tools
Generating a configuration file is the easy part. The hard part is being sure that the image you burn into the EPROM is exactly what you expect. So I spent the last weeks studying how the Windows configuration utility, UIDGCFG32.EXE, reads the text file and writes the firmware image, and I reproduced that behavior in the browser.
Then I built a set of 18 test cases (comments, empty values, out-of-range numbers, misspelled parameters, long lines, real configurations) and ran them with the original programs:
- UIDGCFG32.EXE (Windows): 18 out of 18 cases identical, byte by byte, to what the tool predicts.
- UIDGCFG.EXE (the original DOS utility, run in DOSBox): 14 out of 18. In the other 4, it writes the UIFLOODOptions value into UITRACEOptions too. N8DEU had already reported this problem, and now we have it measured. That’s why the tool recommends using UIDGCFG32.
Along the way I found some details that are worth knowing if you configure UIDIGI by hand:
- An empty value is not the same as leaving the line out. If you leave a parameter out, the value already in the image is kept. But
DigipeaterAlias =with nothing after the equal sign makes the alias equal to your callsign, and an emptySysopPassword =leaves the password empty. - A comment at the end of a line (
Retry = 5 // comment) makes the whole line be ignored. Put your comments on their own lines. - The original UIDIGI.TXT spells
PreeemptedDigipeatwith three e’s, so that line is ignored. - If you want beacons with a direct path (no hops), start from N8DEU’s UIGOLD.BIN instead of the original UIDIGI.BIN. The original image has factory paths in beacons 2 and 3, and clearing them leaves some bytes behind.
How to use it today
- Download UIDIGI 1.9 beta 3 (UIDG19B3.ZIP) from IW3FQG’s page, and UIGOLD.BIN from N8DEU’s page.
- Go through the wizard and download your configuration file.
- In a Windows command window, run
UIDGCFG32 YOURCALL.BIN YOURCALL.TXTon a copy of UIGOLD.BIN renamed with your callsign. - Burn the resulting .BIN into a 27C256 and install it in the TNC with the power off, matching the notch.
- Power it up and look for your callsign on aprs.fi.
The wizard includes these steps in more detail, with links to everything you need.
What’s next
I’m preparing an on-air test with two EPROMs to confirm two details that depend on the firmware itself. If everything goes well, the next step is generating the EPROM image directly from the browser, so you won’t need any legacy utility. Further ahead, I’d like to add dual-firmware images for 27C512 EPROMs.
Keep in mind that this is still an experimental project. The project is open source and available on GitHub: https://github.com/nicolassolop/uidigi-config
If you have experience with UIDIGI, a TNC-2 to test with, or old documentation and utilities from back then, I’d love to hear from you. And if you have any questions, please leave a comment. I love discussing APRS with colleagues from all over the world.
Leave a Reply