I am need of your help.

My speedometer works when started up and all is good, but when I turn the ignition off and on again while warm the speedo stays at 0. When this happens the gearbox then will not change through the higher gears. Also the hold button will not work at this point and nothing when changing shift to S or L.
This carries on doing this until it seems the engine is cold again.
I have checked the ATF and it all looks OK. I have taken the speedo off to check for wiring, as some people have suggested on here, but all is OK.
Any help is much appreciated.
