- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page