My engine light came on, stayed on, went off, came back on, stayed on. All this was at about 10,000 miles, IIRC. When I checked the number of flashes, it was an indication of a low voltage reading at the Throttle Position Indicator. Then the bike started running really badly, missing and popping and wouldn't get over about 4300rpm. I happened to be in Denver and rode it to my dealer. Turned it off, went in and brought the service manager back out, turned it on, and the cotton-picking light was out.
But when they hooked it up to their computer, it told them that the fault had been there. They ended up replacing the regulator/rectifier (and maybe the TPI), and it never recurred.