====== Swift Navigation / Carnegie Robotics Duro ====== [{{:swiftnav:duro:swiftnav_duro.png?400 |Photo credit Carnegie Robotics}}]
Duro™ is a ruggedized, high-performance and low-cost GNSS receiver with Real Time Kinematics (RTK) technology for a centimeter-level positioning accuracy. GNSS multi-band and multi-constellation support enable Duro to offer fast RTK convergence times and high position availability. [[https://carnegierobotics.freshdesk.com/support/solutions/articles/154000199758-duro-specification-and-user-manual|Duro Specification and User Manual]]Duro is a [[swift_nav_piksi_multi|Piksi Multi]] receiver on a carrier board inside a ruggedized enclosure. Practically everything that makes it a GNSS receiver - the module, its specs, the 20-pin and 60-pin connectors, the pinouts, the firmware and the OS - is a property of the Piksi Multi, and that now lives on the [[swift_nav_piksi_multi|Piksi Multi page]]. What is left on this page is what is actually Duro: the enclosure, its connectors, its power supplies, the extras on its carrier board, and the Unicontrol firmware image that surplus units ship with. A variant of the Duro, called "Duro Inertial" also exists. As far as I have been able to determine, the hardware is identical, but it has additional software that enables the IMU to be used for inertial navigation in the event of GNSS loss. ===== Specs ===== The receiver specs are the Piksi Multi's - see [[swift_nav_piksi_multi|that page]]. What the Duro adds is the enclosure and the power system: * 10-35v DC input, 5-6w consumption, from capable DC-DC supplies on the carrier board * 0.25A of 5v and 1A of 12v available on the serial and aux connectors, for powering external devices * Standard M12 connectors throughout (see Connectivity) * A microSD slot * A Micro USB port (this is USB0 on the 20p, going to the Piksi Multi's two ttyACM interfaces) * Sealed, ruggedized enclosure - the back access panel voids the warranty if opened, and the ports behind it cost you the IP rating ===== Connectivity ===== Like just about every other commercial GNSS receiver, especially rugged ones, the Duro uses unique connectors for power, serial, ethernet, etc. Unfortunately un-casing the unit does not readily provide access to these signals internally, so using the connectors as intended is the best course of action for working with the Duro. The connectors used are standard M12, which are slightly more available than LEMO or Fischer, and the user manual documents them well, if you choose to make your own cables. Behind an access panel there is a microSD slot and MicroUSB port. Using these is not sanctioned by Swift Navigation or Carnegie Robotics and will ruin the device's IP rating.
dd if=/sys/devices/soc0/amba/e0005000.i2c/i2c-1/1-0050/eeprom \
of=/tmp/duro_24c32.bin bs=4096 count=1
==== 00862023922100185 ====
Here are some notes and observations specific to my experience with the Duro I received in March 2026.
* My unit arrived in a non-default condition (in more ways than one). The IP address assigned was not 192.168.0.222/24, and UART1 was not configured to receive SBP commands from Swift Console. The microUSB port (which enumerates three ttyACM# devices on a linux host) does have SBP read/write access to the duro on ttyACM0, so I was able to access it and reconfigure it.
* In addition to running a non-default configuration, this unit also was configured with a firmware not built by Swift Navigation. The firmware version and build ID are both "Unicontrol3D_482", and was built in 2023-02-03, just a couple of months before the final version released (3.0.17), but so far I have not been able to get the latest vanilla firmware installed - the Swift Console does not recognize the existing image and will not overwrite it.
* Most of the changes to this firmware image seem to revolve around the addition of telemetry services. There are remote support tools as well, for exporting logs and metrics, and possibly for allowing external users to connect, but I don't know if these are from Swift or Unicontrol.
* There is also a machine identifier file with some calibration data, which is kind of neat to see. This unit seems to have last been used in an excavator with a few different bucket types. You can take a look at that configuration file here: [[swift_nav_duro:00862023922100185_machine.yml|machine.yml from 00862023922100185]] More about the program that uses this config file farther down.
=== Shell Access ===
This unit also came with shell access, which I have not found on any of the other four Duros I bought. On my Linux host the port enumerates three ACM devices: ''ttyACM0'' is the SBP interface I used to configure the unit, and ''ttyACM1'' is mapped to ''ttyGS1'' on the module, which has a vt100 getty running. Point minicom or putty at it and you are at a root prompt, no password. SSH is enabled by default with no password for root as well, and lots of standard tools are included.
[{{ :swiftnav:piksi_tty_motd.png?250|Root shell on the Uni-firmware Duro}}]
=== Unicontrol Init Scripts ===
This gets its own block, and if any hobbyist out there gets one of these Unicontrol Duros and wants to do anything with it, they're going to go down the same path. I quickly discovered logs filling up with CAN bus errors, but it wasn't clear to me how to get rid of them. After some time looking at the init system, it became clear that Unicontrol firmware modifications largely exist as clearly-marked init scripts, and are easily disabled.
root@piksi:/persistent # ls -l /etc/init.d/S99unicontrol*
-rwxr-xr-x 1 root root 524 Mar 20 2022 /etc/init.d/S99unicontrol_0_customization
-rwxr-xr-x 1 root root 143 Mar 20 2022 /etc/init.d/S99unicontrol_1_remote_support_setup
-rwxr-xr-x 1 root root 116 Mar 20 2022 /etc/init.d/S99unicontrol_2_stats
-rwxr-xr-x 1 root root 140 Mar 21 2022 /etc/init.d/S99unicontrol_3_config_upgrader
-rwxr-xr-x 1 root root 122 Mar 21 2022 /etc/init.d/S99unicontrol_4_can_setup
-rwxr-xr-x 1 root root 200 Mar 21 2022 /etc/init.d/S99unicontrol_5_machine
-rwxr-xr-x 1 root root 143 May 24 2022 /etc/init.d/S99unicontrol_6_support_tunnel
''S99unicontrol_4_can_setup'' is right there - and really all it does is call ''/var/can-setup/can-setup.sh'' - can we stop it?
#!/bin/sh
#
# Start the can1 network
#
#Default configuration
DO_NOT_START=
CAN_BITRATE=250000
CAN_RESTART_MS=100
#Check customization file
if [ -f /persistent/customization.config ]; then
source /persistent/customization.config
fi
#Skip auto-starting
if [ "$DO_NOT_START" -eq "1" ]; then
echo "DO_NOT_START: can";
exit 0
fi
#Start the network
echo "Starting canbus error reporter"
/var/can-setup/log_can_startup_errors.sh &
if [ -z "$CAN_RESTART_MS" ]; then
echo "Starting can1 network: "
/sbin/ip link set can1 type can bitrate $CAN_BITRATE
else
echo "Starting can1 network (restart param $CAN_RESTART_MS): "
/sbin/ip link set can1 type can bitrate $CAN_BITRATE restart-ms $CAN_RESTART_MS
fi
/sbin/ip link set can1 up
It looks like we can, and fairly easily! It sources ''customization.config'' and checks the status of ''DO_NOT_START''. That config file resides in the very small, but aptly named and persistent, ''/persistent/'' directory. I didn't want to simply set this to ''1'' and potentially break a bunch of things, so I scanned through the entire file system to see what else checked a ''DO_NOT_START'' variable, and was please to find that it's only Unicontrol stuff that I am comfortable disabling:
$ grep -rnw / -e '"$DO_NOT_START" -eq "1"'
./var/can-setup/can-setup.sh:17:if [ "$DO_NOT_START" -eq "1" ]; then
./var/machine/run_machine.sh:16:if [ "$DO_NOT_START" -eq "1" ]; then
./var/remote_support/remote_support_setup.sh:19:if [ "$DO_NOT_START" -eq "1" ]; then
''customization.config'' also has a variable ''DO_NOT_START_REMOTE_SUPPORT'', which is only checked by the ''remote_support_setup.sh'' script, which will exit if either of those variables is true.
In addition to remote support and canbus configuration, the ''run_machine.sh'' script also checks these variables. ''machine'' appears to be the program that configures the Duro for the specific piece of equipment it is installed on - in this case of this unit, an excavator. This is great, because I don't want any of those components running - especially ''machine'' - it consumes the lion's share of available RAM and quite a few CPU cycles, and the remote support stuff makes constant API calls with a token that is no longer valid.
I quickly learned that it is not as simple as setting those variables to true, because before they are read the Unicontrol init scripts actually overwrite ''customization.config'' with a bare-bones copy stored in ''/var/customization/''. After that, the aptly named "config upgrader" init script is supposed to phone home and grab the latest version of the config file and machine definition file. All of this makes sense in the context of how this thing was deployed, but it's just a big headache for me. Honestly, this is a great template for embedded systems design in general, as far as I can tell the developers who built this did a really good job, and reverse engineering it has been a fun task.
Thankfully, and somewhat ironically, Unicontrol's custom init scripts actually save us here. The first one that is called after the rest of the system boots is ''S99unicontrol_0_customization'' and it does three things: it checks to see if ''customization.config'' exists in the persistent directory, then it checks to see if that config file has ''CUSTOM_SCRIPT'' defined, and if it does, it runs that script.
So what we can do is use this script to stop or remove the other init scripts before they wipe out my own locally created configuration file. Since the customization script runs first, this gives us an easy pathway - I simply created a script in the persistent directory called ''init_override.sh'' which removes the other S99unicontrol init scripts. I could have only removed the one that deletes my config file, but seeing as I am not using any of them, they can all go.
#!/bin/sh
rm -f /etc/init.d/S99unicontrol_1_remote_support_setup
rm -f /etc/init.d/S99unicontrol_2_stats
rm -f /etc/init.d/S99unicontrol_3_config_upgrader
rm -f /etc/init.d/S99unicontrol_4_can_setup
rm -f /etc/init.d/S99unicontrol_5_machine
rm -f /etc/init.d/S99unicontrol_6_support_tunnel
It is then referenced in ''customization.config'' as ''CUSTOM_SCRIPT=/persistent/init_override.sh'' and we reboot the system. When it unpacks the linux image into RAM and works its way through the init scripts it will hit ''S99unicontrol_0_customization'' which will find the override script (not yet deleted from the persistent storage!) and //poof// all of the other Unicontrol stuff is gone, there are a couple of vanilla init scripts that run afterwards, and then the unit is operating as normal, with a mostly vanilla configuration.
If we ever want that stuff to run again, all we have to do is comment out the ''CUSTOM_SCRIPT'' line in the config file, reboot again, and all those intit scripts will run again - but make sure the config file is backed up (or duplicated under another name in /persistent/) because of course it will be deleted.
===== Photos =====
My Duro is a late model, with Carnegie Robotics branding. It is not clear to me when it was manufactured, but the [[https://www.marvell.com/content/dam/marvell/en/public-collateral/phys-transceivers/marvell-phys-transceivers-alaska-88e1512-product-brief.pdf|Marvell PHY]] on the carrier board has a late 2021 date code.
Since writing the first version of this page I have bought four more Duros, mostly to get at the Piksi Multi modules inside them, and I have started pulling the modules and building my own carrier board for them - that work is on the [[swift_nav_piksi_multi|Piksi Multi page]]. Photos of the internals and of the bare modules will show up over there.
Note that the Verbatim microSD card was not included in the unit, I placed it in the slot to demonstrate how it fits.
{{gallery>:swiftnav:duro:photos}}
===== Documents and Files =====
All of these are currently readily available on the public web, these copies are provided as backups.