Forum Discussion
Altera_Forum
Honored Contributor
16 years agoCFI Flash doesn't read correcty after reset
I have a Stratix II GX with 2MBytes Flash in 8 bit mode and 512kBytes SRAM in 8 bit mode. The Flash memory is hooked up properly, in that most of my applications run just fine, but I'm having t...
Altera_Forum
Honored Contributor
16 years agoOk, a co-developer has come up with a lot more information on this, but no definitive answer. The upshot is that after booting and copying to SRAM and running in SRAM, any further accesses to the Flash memory are corrupted.
If however you then try and 'write' to address 00000000 (without going through the actual write procedure, so the reset address doesn't get corrupted) then everything works normally. What is going on here? Is the CFI getting confused as to what state the flash memory is actually in? If anyone can help it would be greatly appreciated. Cheers, Simon