I regret that this sounds like a hardware problem that may not be quickly repairable.
But, given your predicament and the message you report, I would suggest that you try to upgrade the unit in the usual manner, and hope that this re-writes the memory.