Ivan shuts that valve off with the reflash. He would have noticed a damaged ecu and sent it back, unflashed, if he thought it had an issue.
I would check the grounding block, under the tank. Your bike was covered in that. I remember seeing the first pics of your bike. The underside of your tank was covered with that Bakersfield silt and/or Buck Owens ashes.
Grounding block is a really poor description, too, and about as unhelpful as it gets. As I recall, there is an area , under the tank that is hidden. In that spot 6 or 7 wires come together for a ground. It's easy to overlook if you are troubleshooting.
I know your error is specific, but I saw my ecu throw a code when I hooked up my fce. I had tied into the wrong grounding wire. The fce worked. The whole bike worked except for having to start it in neutral.
That's fine, but nothing I did had anything to do with the clutch switch or kickstand switch.