To run the configuration app, you will need a up-to-date system running Windows or Linux. The details can be viewed below:
As Linux has a more relaxed set of requirments, if you are running an older Windows system that does not run the configuration app, you can try setting up a Linux virtual machine to run it!
To connect your TCU to the configuration app, you can use the included USB-C cable.
NOTE! If you are using a 2003 or newer vehicle and have a SocketCAN or Passthru compatible adapter, you can connect to the TCU via your vehicles OBD2 port too!
To start with, install the CP2102 drivers if you are using Windows here. If you are using Linux, add yourself to the uucp
or dialout
group. The group depends on which distro you are using.
Plug in your TCU and make not of the COM/TTY Port that appears in device manager (Windows), or DMESG (Linux)
For the configuration app and firmware upload to work, your user must be part of the uucp
group. You can do that by entering the following into a terminal:
sudo usermod -a -G uucp $USER
Then reboot or log out and back in.
If you've just assembled your own TCU, you will need to do a few steps in order to upload the first initial firmware onto your TCU!
Once you have uploaded the firmware, you can then continue from I've received an assembled TCU
To begin, install VSCode, NOT FULL FAT VISUAL STUDIO!.
Then, navigate to extensions, and install the 'platformIO IDE' extension for vscode.
Next, clone (Or download) the Ultimate-NAG52 TCU firmware repository from Github via this link, and open the folder within VSCode. PlatformIO now should automatically startup and begin indexing the folder and installing all necessary ESP32 platform software.
Next, open platformio.ini
, and change the values of monitor_port
and upload_port
to whatever your TCU's COM port is.
EXAMPLE: WINDOWS
upload_port = COM4
monitor_port = COM4
EXAMPLE: LINUX
upload_port = /dev/ttyUSB0
monitor_port = /dev/ttyUSB0
Next, press the key combination CTRL+ALT+U
, and platformio should begin building and uploading the initial firmware to the TCU!
Important. Upon uploading complete, you will hear the TCU beeping 5 beeps in a loop. This is normal. DO NOT plug the TCU into your vehicle yet! The TCU is currently in fail-safe mode due to the TCU not knowing what board revision it currently is.
In order to rectify this, you will need to run the configuration app, and set the board variant in TCU config:
Next, continue from [gettingstarted/I've received an assembled TCU]
To start with, download the Ultimate-NAG52 config suite. Upon launching, connect to the COM/Serial port of your TCU. You can also use SocketCAN/Passthru adapters for cars that support CANBUS diagnostics. (Mainly W211 and newer).
Next, once the app has been launched, go to configure vehicle/gearbox:
Read the TCUs configuration:
Next, configure the TCU according to your cars settings. A lot of the settings can be derrived from the VIN Table page. Settings such as Large NAG
however must be manually researched.
Next, press write configuration to apply your settings!
As off 03/2024, Ultimate-NAG52 TCU requires calibration from an original EGS unit to function (It will be in a beeping error loop until calibration is applied). This is all stored in a database within the config app. To apply the data for your car is fairly simple:
The config app will tell you it is missing calibration by showing the following on the home page:
Configure EGS compatibility data
FAILED TO INITIALIZE CALIBRATION
, this may be due to an outdated app version vs firmware version. Simply check for new updates on the config app home page.After the TCU reboots, it can be used now!
Input
and set pulses/rev
to 16.