First I thought something went wrong with the connections when I opened the case to replace the old Atmega, so I reopened it and checked the wires for damaged soldering. Nothing. It was the same even when I completely removed the ribbon cable from the input connector.
Then I put the old Atmega back (with a 200907xx firmware): everything worked fine again.
The only way I found to stop this was to connect an inverted polarity Roland sustain pedal to the input. When the hh input stays in a half open state on power up (continuously emitting CC data), I step on and release the pedal. This usually helps (not always, though).
I have a switch between Low and High pedal inputs and tried both settings, but none of them was more stable than the other.
I have 2 56 input MDs (Synthex 3.1) and they both behave the same way.

