MHD+ - Real-Time Tuning
MHD+ - Real-Time Tuning
MHD+ - Real-Time Tuning
© MHD Tuning
Table of Contents
Introduction 3
Overview 3
Downloading and Installing Required Files 4
MHD GitHub 4
TunerPro RT 4
Reflash DME with Latest MHD App 5
Update MHD Universal Wifi Adapter Firmware 6
MHD Plugin Configuration 7
Loading Files in TunerPro RT 8
Bin File 8
XDF File 8
ADX File 8
Connecting and Tuning 9
Connect to Hardware 9
Validate Bin vs. DME 10
Cell Tracing and DAQ 11
Enable and Use Real Time Tuning 12
Supported Tables 13
Wrapping Up 14
Revision History 15
We are working to actively expand Real Time Tuning support to more engines and platforms,
both newer and older, so stay tuned! Additionally, the list of tables supported by MHD+ Real
Time Tuning will be expanded going forward as well.
Overview
In order to utilize our Real Time Tuning, there are a few prerequisite setup steps that must be
done first. These include:
Each of these steps will be detailed in their own subsection on the following pages.
NOTE: Simultaneous use of MHD logging and TunerPro RT real time tuning functions (cell
tracing / table upload) is only possible with our MHD Universal Wifi Adapter (red case).
You can use other ENET devices / cables with TunerPro RT, but will be unable to log w/ MHD at
the same time.
TunerPro RT
TunerPro RT is required for real time tuning, as the base version of TunerPro does not support
the plugin architecture or other underlying extensions we needed to utilize to make this possible.
You can download the latest version of TunerPro RT (here). At time of writing, the latest version
is 5.00.10018, so we require at least that version. Download and install TunerPro RT.
While TunerPro RT is technically free, it is donation supported ($39). If you do not register, you
will see a 5 seconds popup each time you load the app. Mark has done a great deal of work
with RT so we encourage you to donate / register if you are able.
After TunerPro RT is installed, you will need to add our MHD.dll to the root folder where you
installed TunerPro RT. This DLL can be found in the archive you unzipped above, in the Real time
tuning folder. This can be seen here below:
Support / activation of the real time tuning code inside the DME is possible as of release 4.66 of
the MHD F+G Series mobile app. In order to prepare your DME for the process, you will need to
ensure you download version 4.66 (or later) of the MHD F+G app, and reflash your current tune!
Once you know the location of that file, you will want to connect to the Wifi network of your MHD
adapter on your laptop. The Wifi SSID will likely be MHD ENET XXXX. Next, open a browser
window and go to http://192.168.4.1:5377/ota
IMPORTANT NOTES:
● After a successful update to this specific real time tuning firmware, your Wifi SSID
should now be like MHD RT ENET XXXX
● This real time specific firmware has not been compatibility tested with xHP or xDelete.
We will be testing it and validating it over the coming weeks. However, if you need to use
one of these apps and there is an issue, you may need to revert back to the non RT
firmware. You can do this by connecting your laptop to the adapter’s Wifi, again going to
http://192.168.4.1:5377/ota, click Factory Reset and follow that process. Once
complete, connect to the adapter’s Wifi with MHD and go to Read Codes. It will bring the
adapter back to the latest official firmware (not RT specific).
1. Open TunerPro RT, and in the top menu bar, click Tools > Preferences.
2. Select the Data Acq./Emulation tab
3. In the Data Acq. I/O Plug-in Component drop down, select MHD Data Acquisition
4. In the Tuning Hardware Plug-in, select MHD Emulator Interface
5. Make sure to check the box for Upload Whole Tables (very important!)
After following those steps, your screen should look like the following:
Bin File
Load your *.bin file like you normally would. However, it is very important that the bin file you
load is the same as the one that is currently flashed on the DME. We have a check that validates
this (more on that later).
XDF File
Load your *.xdf file like you normally would. Again, this must match the ROM version of the *.bin
file that you loaded. It will also need to be one of our freshly updated XDFs that were in the
archive you unzipped earlier. These contain some important extra flags and attributes that allow
the cell tracing to work properly during your real time tuning session.
ADX File
The *.adx file is going to be new to many of you. This is what allows data acquisition (logging /
cell tracing) in TunerPro RT. This file is in the archive you unzipped earlier, inside the Real time
tuning folder. Its filename is MG1au.adx. There is only one file; you will use this no matter what
Gen2 B58 or S58 ROM you are real time tuning. We will create a separate *.adx file in the future
per DME type. To load the *.adx file, in the TunerPro RT menu bar select Acquisition > Load
Definition File.
It is important that you do not make any changes to the *.adx file. It is properly configured as-is,
and no changes are required or necessary.
The logging items inside TunerPro RT are strictly to support cell tracing of the tuning tables. If
you want to take a full log while real time tuning, you can connect your MHD app to the MHD Wifi
adapter and log there at the same time!
Connect to Hardware
Make sure TunerPro RT is loaded, you are connected on your laptop’s Wifi to the MHD RT ENET
XXXX network, and that the desired bin/xdf/adx are loaded. Next you will need to click the
Initialize Emulation Hardware (connector plug) button seen here:
If the connection was successful, you will hear a beep, and the bottom left status bar inside
TunerPro RT will look like this (you will see Hardware: MHD VINXYZ):
If the loaded bin file and the currently flashed DME file match, you will see a success popup
message like this:
If they do not match, you will see an error message stating that instead. In this case, it means
that the *.bin you have in TunerPro RT is different from what was last flashed to the DME. There
is a chance you may have loaded the wrong bin file in TunerPro RT, or perhaps you already made
a change to the bin before clicking Verify. You can try reloading the *.bin and clicking Verify
again. But if that still fails, you will likely need to reflash the DME with the *.bin file you want to
start the real time tuning session with (using MHD F+G app version 4.66 or later!)
Following that, you should see the status bar in the lower left of TunerPro RT update to show DA:
Connected, along with a changing value showing the refresh rate of the data being received.
Note: if using cell tracing in TunerPro RT at the same time as data logging in MHD, the logging
rate of both will become a bit slower due to sharing the bandwidth.
NOTE: Simultaneous use of MHD logging and TunerPro RT real time tuning functions (cell
tracing / table upload) is only possible with our MHD Universal Wifi Adapter (red case).
You can use other ENET devices / cables with TunerPro RT, but will be unable to log w/ MHD at
the same time.
Once you press that, and after following all the previous steps, your bottom left status bar in
TunerPro RT will look like this:
You are connected to the DME, emulation (live tuning) is active, and data acquisition (for cell
tracing) is connected and logging! You are now ready to make a table change and send it to the
DME, live!
Open up a table (current list of tables supporting real time tuning listed below), make a change,
and then hit the Commit Changes and Upload button, as seen here:
Upon success, you hear an audible beep, and briefly see a green background in the status bar
saying Upload Success. Congratulations, you’ve just made your first real time tuning change!
The list of tables currently supported by real time tuning include include:
● ALL mapswitch / FF tables that have a copy per map slot and/or FF and FF#2
● The “map 1” base table equivalent of ALL above tables
● ALL map 1/2/3/4 interpolation tables
● WGDC Base (Custom) and (Custom) (Antilag)
● WGDC P and D Factor (Custom) and (Custom) (Antilag)
● Antilag Timing (Base) and (P-Factor)
● PI / DI Percent Split (Gasoline) (Auto) and (Ethanol) (Auto)
● Port Injection Interpolation (General)
● Maximum Allowed DI Usage
● PI Injector Pulse Width (Gasoline) (Manual) and (Ethanol) (Manual)
● Load Reduction Scaling
That is roughly 200 total tables (not including their axis) for our initial release.
Only two corresponding axis tables are not able to be real time tuned: Fuel (AFR) Target and the
Knock Factor.
We will be releasing real-time tuning support for many more tables soon. Stay tuned!
● All changes made during the real time tuning session are also persisted in the *.bin file
loaded in TunerPro RT (whether the table has support for real time tuning / upload or
not!)
● Upon completion of your real time tuning session, you will need to then save the *.bin file
in TunerPro RT and flash it to the DME with MHD in order to persist those changes going
forward.
● If a table is not currently supported by real time tuning, you will see a pop-up message
telling you this. We are working to expand the number of tables supported, and have the
ability to extend real time tuning to just about every table in the DME. More will be added
in the coming weeks. If there are any you especially would like added quicker, please
contact us at [email protected]
○ If you want to make a change to a table that is not supported by real time tuning,
you will need to flash that change before it becomes active!
● If you are unable to log with MHD app at the same time as using TunerPro, please
ensure:
○ Your MHD adapter Wifi SSID is like MHD RT ENET XXXX
○ NOTE: simultaneous use of TP RT and MHD app is only possible using our MHD
Universal Wifi Adapter (red case)
● If you are unable to get TunerPro RT to connect, please ensure:
○ Your laptop Wifi is connected to MHD RT ENET XXXX
○ You’ve flashed the DME at least once with MHD F+G app version 4.66 or later
● You can view our instructional / demonstration video here:
https://www.youtube.com/watch?v=pzCZbk5oQqk