The method I used is unique to pre-2004 16bit Denso ECUs used on Kawi ZX-12s and possibly some suzuki models (Hayabusa?)
For details check out...
http://www.activeboard.com/forum.spark?forumID=99460&p=3&topicID=9325284
Truth is I've never even seen a picture of a Yamaha ECU from that era let alone know whether they are Denso units. I'm am pretty sure your '07 however is a 32 bit unit