Just reading through this post. I can't pretend to have any experience of the knock sensor problem, but I'm intrigued.
In the first post, you say that the wiring harness has been repaired and the fault is with the ECU. Can I ask what made you come to that conclusion ? If I had a bike that had an obvious 'repair' in the wiring harness, I'd be looking at the repair for the source of the fault !
Is the engine actually knocking ? (some people call it 'pinking' in the UK) ? If so when ? On earlier bikes it was common to have them pink when hot and under load at speed.
Having done the usual tests I assume that you have the shop manual ? PM me if not. .
I have a note that I wrote in my workshop manual which suggests that the codes for 25 and 26 are the wrong way round. I didn't delve any further into this - just added the note from something that I read. I assume that you have read this post and comments from nckingz1300
Link. He's in Aberdeen with an 04 that showed a similiar fault.
Mark (Brfl) put a link on that post which suggests that the fault codes for 25 and 26 are reversed - but there are different versions of the manual so care might be needed in reading this.
John