Altera_Forum
Honored Contributor
9 years agoNios stops after upgrading Hardware from SRAM to DDR3 RAM
Hi
I have upgraded a working design, which had a SRAM (For instruction and Data) and a SDRAM for big Data like Packets from the MAC. The Hardware works so far, but my Software doesn't really... Setup: I added a datacache to the NIOS with 4kByte and increased the instruction cache to 32kBytes. I also added the line "alt_dcache_flush_all();" bevor all DMA transfers which loads some data to the MAC. I had the system once working for an hour, but normally it stopps transfering Packets after few seconds without any error message. My question ist: How do I have to setup the system? Are there any helps how to setup caches and should I use bursts or not?