Is there metal flakings in the oil?
I had simmilar issues with my Dakar, metal flakings shorted the RPM sensor, the same sensor also gives the ignition timing, so the engine don't get ignition.
Make an oilchange and see if there is any metal in the oil and clean the sensor if needed.
After that it is time to figure out where the metal comes from, in my case it was the starter (a common problem).
Hope it helps.
|