Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- I've read through the Spansion app note, but there is not much relevant information there. --- Quote End --- You found the Check ID but for .rpd generation, so that must be what I was recalling. I'm pretty sure you are supposed to be using the .rpd file format, not the .rbf. What are you using to program your flash device? Are you using a USB-Blaster via a 10-pin JTAG header, or are you using custom code? If you are using custom code, then keep in mind that the AS data stream needs its bytes in LSB-to-MSB order, whereas SPI Flash uses MSB-to-LSB. That means you have to send SPI Flash opcodes in MSB-to-LSB order, but you need to reverse the data bytes written to the flash. Cheers, Dave