Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12435 Discussions

NIOSII fails to upload .EFI with SDRAM controller

Honored Contributor II


I am trying to get my hands on NIOSII with SDRAM controller. 

I already done some tutorials and created simple system in qsys (without sdram controller) 

Everything runs as intended, i can control PIO's (LED and switches) without any problem. 

But as soon as I add SDRAM controller the system fail in uploading the .elf file on NIOSII. 


I run NIOSII/s; Reset and exception vector memory: on chip memory;  

Can you please take a look at my configuration, what do I do wrong? 



Here is my testcode(reading switches, assign value to LEDs): 

# include <stdio.h># include "system.h"# include "altera_avalon_pio_regs.h" int main() { int count=0; while (1) { count=IORD_ALTERA_AVALON_PIO_DATA(SW_BASE)/2; IOWR_ALTERA_AVALON_PIO_DATA(LED_BASE,count); } return 0; }  

thank you.
0 Kudos
0 Replies