What I had in mind is, I would try to install (same) firmware again -if keyboard allows that.
I suspect that keyboard OS (firmware) got somehow corrupted and if that's the case, reinstalling could solve the problem. However, if there's some electro-mechanical damage, only Yamaha service can help.
That is, because of the nature of error, I can't see what else one could do. Wish you luck.