Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.
12583 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