Correctly identify the ICs on the system board, their model and datasheet respectably.
Perform readings/backup of both, save them.
Program the ICs with files linked.
This is no classroom and we cant teach/pass, the experience to no user in a forum or lose our own personal time.
That’s it from me, the system will recover or be death, your choice only, good luck.