As the error messages state, you've got a problem when trying to write to Flash memory. If you were writing and storing to Flash memory prior to your modifications, then whatever you changed on the board has affected Flash memory, Check the addressing lines, and whether or not you've got sufficient voltage to program Flash.
---Tom