I have a similar problem.
Flash can not be read after the wrong programming
It is possible to correct the mistake?
--- Quote Start ---
Current hardware is: USB-Blaster [USB-1]
Found HPS at device 1
HPS Device IDCODE: 0x4BA00477
AHB Port is located at port 0
APB Port is located at port 1
Boot Info: 3.0V QSPI Flash
Start HPS Quad SPI flash programming ...
Initialize QSPI peripheral and flash controller ...
Read Silicon ID of Quad SPI flash ...
Quad SPI Flash silicon ID is 0xFFFFFFFF
Error: Not able to map flash ID from flash database
Error: Quartus II 32-bit Programmer was unsuccessful. 0 errors, 0 warnings
Error: Peak virtual memory: 102 megabytes
Error: Processing ended: Thu Sep 18 14:03:44 2014
Error: Elapsed time: 00:00:02
Error: Total CPU time (on all processors): 00:00:00
--- Quote End ---