I was asked to plug the Nanocom into a '99 diesel yesterday. The problem with it was the idle was hunting between 500 and 1200rpm and it had stalled at junctions a couple of times. The owner had checked a few things himself and found that the air filter element had collapsed so he had replaced that and it seemed to cure the problem for a couple of days (although he said it still didn't seem 100%) but now it had come back. He had also removed a tuning box but that had made no difference either. It has had the EGR blanked if that is at all relevant.
Read the fault codes first and there was one for low boost but as it had occurred at 61rpm, that would seem to be an error as there won't be any boost at 61rpm and a low fuel pressure code at 0rpm so that would also seem to be erroneous. Cleared the codes, checked the Turbo-Intercooler- Intake hoses and no sign of any splits or anything that would suggest a leak. Started the engine and there was definitely boost there when revved. So used the Nanocom to check the inputs to the ECU. Most of them meant absolutely nothing to me (knowing naff all about diesel engines) but one stood out. The intake air temperature was showing -38.88 degrees C. On a petrol that would mean the sensor was open circuit, so unplugged the MAF (as it appears that much like the Thor petrol, the temperature sensor is incorporated in the MAF sensor) and gave the plug a squirt of contact cleaner. Interestingly, with it unplugged, it made no difference whatsoever to the running. With it plugged back in, it was still showing -38.88 degrees so we assumed the sensor is dead.
On a petrol, the intake air temperature only has any affect if it exceeds 55 degrees C when it richens the mixture, so assuming the diesel is the same, ignored that for the time being. Wondered if the diesel has the equivalent to the reset adaptive values on the petrol so went into the Utilities and there were two options, Reset ECU to Robust and Reset ECU to Non-Robust. Had no idea what either of these mean, I chose the non-robust option and as soon as I hit the button, the idle dropped to normal speed, it stopped hunting and it ran as sweetly as any oil burner ever can. It seemed that we'd cured it. Switched it off and restarted it a few times and each time it would fire up normally and the idle was perfectly stable. I then recorded the inputs on the Nano in case anyone can see anything obvious but as it was running perfectly at that time I suspect not (but if anyone is interested, it's here https://drive.google.com/file/d/1_0mA98hkmP2nPpYaJqkcNJLPQ9VayrNp/view?usp=sharing).
Owner has ordered a replacement MAF sensor but I'm intrigued as looking at the Nanocom documentation when I got home, it appears that the Reset ECU commands should only do anything on a brand new ECU so shouldn't have had any affect yet as soon as I hit the button, the idle stopped hunting and the car then ran perfectly. Anyone got any clues?