I don't know if the ECU can be repaired however you might be able to try a second-hand one.
Steve (SDR) may have an ECU, he has a LOT of parts from ST1300's he is wrecking
(As well as some other bikes)
Give him a call at his business:
"Battery World Chermside"
(07) 3350 6311