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++
12600 Discussions

NIOSII fails to upload .EFI with SDRAM controller

Altera_Forum
Honored Contributor II
1,001 Views

Hello; 

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. 

 

https://www.alteraforum.com/forum/attachment.php?attachmentid=7699 https://www.alteraforum.com/forum/attachment.php?attachmentid=7700 https://www.alteraforum.com/forum/attachment.php?attachmentid=7701
0 Kudos
0 Replies
Reply