I have been following this thread and have been confused by what you are seeing. First off, there are no "error codes" as found with the ABS or Motronic systems associated with the BMU so it makes no sense that you are getting 5 flashes. I am also having a problem in finding any background on the bike itself.
First, I have some questions:
How long have you had this bike? What is the history? Have there been many years of outdoor storage near salt water?
What is the voltage on the battery with the ignition off? It should be at least 12.7 - 12.8 volts. Anything less could do all sorts of electrical whack.
Is the electrical system totally stock? Are there a lot of extra wires and stuff under the tank and in the relay box? Are there any gobs of tape holding wires together? If so, have you looked inside any of those gobs?
Have you put LED's in the instrument cluster??? I ask this because I have them in mine, and the BMU idiot light flashes visibly at night on application of either brake.
Does the bike have any sort of brake flasher or extra brake lights, LED or otherwise? I ask because there is a flasher on the market that flashes the brake light and then goes steady. A problem in that flasher could conceivably cause the BMU to flash each time the flasher tries to flash the brake light.