Altera_Forum
Honored Contributor
14 years agoshared event nios II/f issue running from sdram - memory test passes
Hi,
I am having an issue with Nios II/f and Nios II/s processors and SDRAM. I am running my own hardware as dual SDRAM chips as in IP perf user guide(Figure 2–3) with Two 64-MBit SDRAM Chips Each with 16-Bit Data making up a single 32bit wide bus. ( Similar to DE2-115 eval). My quartus project is a simple sdram project for the memtest with dual output pll at 50Mhz (one out phase shifted -120deg for sdram_clk). When attempting to debug the sdram it verifys ok but I receive the following error and the project never makes it to main.c: "Stopped due to shared library event" looping in the NiosII console. (see attachment). >Using Nios II/e processor code runs and debugs fine from all memory types (EPCS, onchip and sdram). >Using Nios II/e the Memorytest passes for sdram scan if program code is placed in EPCS, onchip or sdram. >Using Nios II/s/f the Memorytest passes for sdram scan if program code is placed in onchip-ram. (any code placed in sdram causes the error). >Using Nios II/s/f Running from sdram (as opposed to debug) or executing code from EPCS causes the system freeze and not execute code. >I have tried quartus ver 10.0sp1, 11.1sp2 and now 12.0sp1.. all do the same. >Tried different SDRAM timing and CAS 2 and 3. >Tried disable firewall. >Tried run as administrator. Please anyone ideas? I would think hardware but confused why the mem tests come up good..?