Altera_Forum
Honored Contributor
14 years agoParallel Flash memory access failed
Hello,
I am designing a simple system with a 4CE40 and a Spansion flash memory (S29GL512 : 64MB in 16bits organisation). But when I make a "hello world" software, it fails at "checking" step. Here are some more details : HARDWARE : - I use Quartus 11.0 toolkit. - the board is designed by me. The FPGA owns a NIOSII/e system with a tristate bridge and the CFI flash memory interface. Nothing else. - I checked the FPGA/memory connections, power supply etc ... => all OK - Nothing special during synthesys process, everything looks good. SOFTWARE : - I built a hello world project with Eclipse rev Helios Service Release 1 Build id: 20100917-0705. - I launch my soft with NiosII shell window using this command : bash-3.1$ nios2-download -g hello.elf && nios2-terminal - I get this answer : Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Pausing target processor: OK Initializing CPU cache (if present) OK Downloaded 29KB in 0.4s (72.5KB/s) Verifying 00001020 ( 0%) Verify failed between address 0x1020 and 0x122B Leaving target processor paused bash-3.1$ I think that the board has no problem (I tested each electrical connection between the FPGA and the flash). I tryed the same software with internal memory and it worked. There is a problem with the flash but I don't know where (SOPC system ? Compiler options ? ...) Please could anybody help me to anderstand ? Cyril