Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Thanks for the thought, Dave. Yes I do have the Spansion device and not the Altera EPCS64 --- Quote End --- Ok, thanks for confirming that. --- Quote Start --- but the manual for the board does not state that I need to do disable that check. Nevertheless, I did as you suggested and it still does not program. The device doesn't even erase as the blank check fails, as does a verify if I select that (unchecking the blank check). In looking around more, the problem may be due to a protection bit being on in the device thereby preventing erasure and reprogramming.... --- Quote End --- I'd recommend two things; 1. Contact Terasic and ask them if programming the Spansion devices requires anything more than disabling the ID check 2. Instantiate an SPI controller and access the Spansion flash directly. I've done this with Spansion Flash and EPCS flash. Its pretty easy to read the manufacturer details, and program the QUAD bit on the Quad SPI versions of these devices. If you've managed to set a protection bit, you should be able to read a status register and confirm that theory, and then erase it. Once you've got option 2 working, you won't really care too much about using Altera's tools to program the Flash (other than the convenience of being able to use Quartus). Cheers, Dave