dariusz wrote:
I had a very similar failure a couple of years ago on the 250, and the problem was the transponder of the key that moved with some road bumps and stopped reading it, then it got more complicated and there were times that the bike simply did not start randomly, can be after a run, or first time in the morning, some times wait 5 minutes is enough, other times I check everything don't find nothing and starts, I changed the receiver and all problems are over.
The key transponder is only in play at first switch-on and start-up. After that it plays no part. You can test this by using the brown master key and once the bike is started, take the RFID chip out. The bike remains running.
So it can't be a reason for the engine to cut out once running.
Bad spark-plug cap or HT lead, worm out ignition switch, fractured fuel injector, faulty kill-switch from over-use could all be culprits.