Joined
·
12,508 Posts
Since there always seems to be questions, I thought I’d write this up.
MAKING CHANGES TO THE MM ELECTRONIC CONTROL UNIT (ECU)
WARNING – There is risk involved with accessing the ECU. Reversing the power leads to the diagnostic cable can make the ECU unusable. In other words, you will brick it and you will have to replace it or find a work-around, if possible. I'm sure there are other ways, too. By attempting to access your ECU, you accept all risks associated with doing so. No one is making you do this and you do so willingly.
This only covers ECUs made by Magneti Marelli since I will be limiting discussion to the IAWDiag and TunerPro programs. I will not be getting into technicalities. I’m a layman and that’s who this is written for.
If you have a different ECU, I suggest checking out M3C by jpdiag (for the M3C ECU from Siemens) or Melcodiag (for Mitsubishi ECUs) also from the maker of jpdiag to see if one of those will work for you.
But first, a few basics.
IAWDiag: A free/donation ware program (and associated programs) that allows access to Magneti Marelli ECUs. IAWDiag is the generic version of GuzziDiag.
TunerPro: A program that allows a user to read and make changes to a bin file. There is a paid version and a free version. The free version does what we need it to do.
Bin file: A binary file that is found on the ECU. This is where the fuel map(s), immobilizer flag, and other items that control the motorcycle can be found.
Xdf file: A file used by TunerPro that translates the bin into something that can be understood by the user.
I’ll be covering two of the most popular items people ask about. One, loading a new fuel map to the ECU and two, turning off the immobilizer. Other popular things IAWDiag can do is reset the service indicator, adjust the CO trim, and reset the TPS. (Just a note about resetting the TPS – you never want to electronically reset the TPS if you have the non-linear type. That is done manually.)
Before diving right in, you will need the following:
• IAWDiag (the main program is universal, but the associated programs that allow you to read and write are ECU specific). GuzziDiag / IAWDiag
• TunerPro (free version). TunerPro and TunerPro RT - Professional Automobile Tuning Software
• Cables to connect the motorcycle diagnostic port to your computer. The most trustworthy source is Lonelec. MOTORBIKE-DIAGNOSTIC Archives - Lonelec
Ok. Time to get started. The first thing you should do is just get familiar with IAWDiag. There is a good tutorial online that covers GuzziDiag. And since IAWDiag is the generic version of that software, they are very similar. The main difference between the two is that GuzziDiag allows the user to select the model of bike they have whereas IAWDiag makes you choose the ECU and TPS that the bike has.
The tutorial can be found here: The New Improved GuzziDiag Tutorial
To determine the ECU your bike has, you can look it up in the service manual or ask on the forum. To determine the TPS, the type will be embossed directly on it if you have physical access or, again, you can ask.
Now that you have looked over the tutorial and have determined the ECU and TPS combo you have, it’s time to connect to the ECU.
The safest way to do this is to first connect the two cables together. Then connect the power leads to the battery. MAKE SURE THEY ARE NOT REVERSED. A quality set of cables will have a power indicator light that will not come on if the leads are reversed. However, some of the newer cables get their power from the USB connection, so you still need to be careful. And some have internal protection circuitry. Buy quality cables!
Now you can connect the other ends of the cables to the diagnostic port and computer. Open IAWDiag and select your ECU/TPS combo in the Preferences sub-menu. If you don’t see the combo you have, select your ECU and a TPS that is of the same type as yours, i.e. linear or non-linear. You also have to have the com port correct. Now you can select the Connect sub-menu item and follow the prompts.
Hopefully, all went well and you’re now connected.
The Reader and Writer features can also be accessed through the IAWDiag program menus or opened directly from their file location.
The first thing you should do if you are loading a new map or making an immo setting change is to download a copy of the current file on the ECU. It’s good practice to keep an unedited copy of the file in case you ever need to reload it if the changes you made didn’t work or you don’t like the results of what you did.
Before using the Read feature (which makes a copy of the bin file), it’s advisable to remove the fuse for the headlight. The reading process isn’t very quick and it’s best to minimize the drain on the battery. Now go ahead and Read the ECU. Just follow the prompts.
If you are loading a new map, go ahead and use the Writer feature. This will erase the ECU and upload the new bin file you have. This usually goes much quicker than the read process. After uploading a new bin, you must perform a TPS reset. Remember, do not use the TPS reset feature in IAWDiag if you have a non-linear TPS. Resetting the TPS is outside the scope of this posting, but Brad the Bike Boy has excellent information about it at his website: BikeBoy.org as does Desmo Times’ maintenance guides by LT Snyder.
If you are disabling the immobilizer, you will be using TunerPro. Open the program and then open the bin file you downloaded from your bike. You will also have to select a proper xdf file to translate the bin so you can make changes. Because xdf files are made by the DIY community, not everything you may need exists. We are at the mercy of the people out there that have the knowledge and ability to decipher bin files properly.
Most xdf files are named well enough to get an understanding of what bins they are designed for, but sometimes they also work on others. Finding an xdf that works can sometimes be hit-and-miss. And to add occasional grief, not all xdf files have the immo flag so that you can toggle the setting. The simplest way I have found to check if an xdf looks good is to load it up with the bin in TunerPro and open the main fuel map. If it doesn’t look right, and it’s fairly obvious when it isn’t, then it’s time to try another. The RPM and TPS scales will be off and the map will look wrong. Do not attempt to use an xdf that looks wrong.
If you find a working bin/xdf combo with the immo flag, all you have to do is uncheck the checkbox and save the bin. That’s all there is to it. Be sure to save it as a different file than the original. Upload the modified file using Writer and that’s it. I would also do a TPS reset, but I’ve heard the argument that it isn’t necessary because nothing was changed except the immo switch. Up to you I guess. If it doesn’t feel like it’s running right, do the reset.
MAKING CHANGES TO THE MM ELECTRONIC CONTROL UNIT (ECU)
WARNING – There is risk involved with accessing the ECU. Reversing the power leads to the diagnostic cable can make the ECU unusable. In other words, you will brick it and you will have to replace it or find a work-around, if possible. I'm sure there are other ways, too. By attempting to access your ECU, you accept all risks associated with doing so. No one is making you do this and you do so willingly.
This only covers ECUs made by Magneti Marelli since I will be limiting discussion to the IAWDiag and TunerPro programs. I will not be getting into technicalities. I’m a layman and that’s who this is written for.
If you have a different ECU, I suggest checking out M3C by jpdiag (for the M3C ECU from Siemens) or Melcodiag (for Mitsubishi ECUs) also from the maker of jpdiag to see if one of those will work for you.
But first, a few basics.
IAWDiag: A free/donation ware program (and associated programs) that allows access to Magneti Marelli ECUs. IAWDiag is the generic version of GuzziDiag.
TunerPro: A program that allows a user to read and make changes to a bin file. There is a paid version and a free version. The free version does what we need it to do.
Bin file: A binary file that is found on the ECU. This is where the fuel map(s), immobilizer flag, and other items that control the motorcycle can be found.
Xdf file: A file used by TunerPro that translates the bin into something that can be understood by the user.
I’ll be covering two of the most popular items people ask about. One, loading a new fuel map to the ECU and two, turning off the immobilizer. Other popular things IAWDiag can do is reset the service indicator, adjust the CO trim, and reset the TPS. (Just a note about resetting the TPS – you never want to electronically reset the TPS if you have the non-linear type. That is done manually.)
Before diving right in, you will need the following:
• IAWDiag (the main program is universal, but the associated programs that allow you to read and write are ECU specific). GuzziDiag / IAWDiag
• TunerPro (free version). TunerPro and TunerPro RT - Professional Automobile Tuning Software
• Cables to connect the motorcycle diagnostic port to your computer. The most trustworthy source is Lonelec. MOTORBIKE-DIAGNOSTIC Archives - Lonelec
Ok. Time to get started. The first thing you should do is just get familiar with IAWDiag. There is a good tutorial online that covers GuzziDiag. And since IAWDiag is the generic version of that software, they are very similar. The main difference between the two is that GuzziDiag allows the user to select the model of bike they have whereas IAWDiag makes you choose the ECU and TPS that the bike has.
The tutorial can be found here: The New Improved GuzziDiag Tutorial
To determine the ECU your bike has, you can look it up in the service manual or ask on the forum. To determine the TPS, the type will be embossed directly on it if you have physical access or, again, you can ask.
Now that you have looked over the tutorial and have determined the ECU and TPS combo you have, it’s time to connect to the ECU.
The safest way to do this is to first connect the two cables together. Then connect the power leads to the battery. MAKE SURE THEY ARE NOT REVERSED. A quality set of cables will have a power indicator light that will not come on if the leads are reversed. However, some of the newer cables get their power from the USB connection, so you still need to be careful. And some have internal protection circuitry. Buy quality cables!
Now you can connect the other ends of the cables to the diagnostic port and computer. Open IAWDiag and select your ECU/TPS combo in the Preferences sub-menu. If you don’t see the combo you have, select your ECU and a TPS that is of the same type as yours, i.e. linear or non-linear. You also have to have the com port correct. Now you can select the Connect sub-menu item and follow the prompts.
Hopefully, all went well and you’re now connected.
The Reader and Writer features can also be accessed through the IAWDiag program menus or opened directly from their file location.
The first thing you should do if you are loading a new map or making an immo setting change is to download a copy of the current file on the ECU. It’s good practice to keep an unedited copy of the file in case you ever need to reload it if the changes you made didn’t work or you don’t like the results of what you did.
Before using the Read feature (which makes a copy of the bin file), it’s advisable to remove the fuse for the headlight. The reading process isn’t very quick and it’s best to minimize the drain on the battery. Now go ahead and Read the ECU. Just follow the prompts.
If you are loading a new map, go ahead and use the Writer feature. This will erase the ECU and upload the new bin file you have. This usually goes much quicker than the read process. After uploading a new bin, you must perform a TPS reset. Remember, do not use the TPS reset feature in IAWDiag if you have a non-linear TPS. Resetting the TPS is outside the scope of this posting, but Brad the Bike Boy has excellent information about it at his website: BikeBoy.org as does Desmo Times’ maintenance guides by LT Snyder.
If you are disabling the immobilizer, you will be using TunerPro. Open the program and then open the bin file you downloaded from your bike. You will also have to select a proper xdf file to translate the bin so you can make changes. Because xdf files are made by the DIY community, not everything you may need exists. We are at the mercy of the people out there that have the knowledge and ability to decipher bin files properly.
Most xdf files are named well enough to get an understanding of what bins they are designed for, but sometimes they also work on others. Finding an xdf that works can sometimes be hit-and-miss. And to add occasional grief, not all xdf files have the immo flag so that you can toggle the setting. The simplest way I have found to check if an xdf looks good is to load it up with the bin in TunerPro and open the main fuel map. If it doesn’t look right, and it’s fairly obvious when it isn’t, then it’s time to try another. The RPM and TPS scales will be off and the map will look wrong. Do not attempt to use an xdf that looks wrong.
If you find a working bin/xdf combo with the immo flag, all you have to do is uncheck the checkbox and save the bin. That’s all there is to it. Be sure to save it as a different file than the original. Upload the modified file using Writer and that’s it. I would also do a TPS reset, but I’ve heard the argument that it isn’t necessary because nothing was changed except the immo switch. Up to you I guess. If it doesn’t feel like it’s running right, do the reset.