Forum Discussion
Hello Yogesh,
Yes, you need to follow these steps to get the C code.
- Compile the Quartus project
- Open Nios ll
- Select the same Quartus project folder for the Eclipse project
- Open Nios ll Aplication and BSP from Template and select the BSP that you have in your workspace
- Compile the Nios ll project
If you follow these steps you are going to have the software folder and the C code. Also I attached the C code.
Best regards.
Isaac Vazquez
Hi Isaac,
Thankyou for sharing the code.
I was able to write some data. But SDRAM_TEST fails at some addresses.
Say, If I try to write at addr 0x10005000 . I am able to write 3k bytes . But after that I am not able to write data, since SDRAM_test fails in that region.
I have shared BSP memory screenshot. Please answer my below queries:
1) SDRAM addressing has addr from 0x10000000 to 0x1fffffff . Does this mean I can write/read to all the address in this range ?
2) Even if I change the address to 0x20000500, which is above that of SDRAM address range. I am not able to write anything here. SDRAM_test fails . So , why am I not able to access this range of address?
3) Suppose I want addr from 0x20000000 - 0x2fffffff to store some initial input data for processing how should I specify in eclipse tool / qsys ,to access the same?
regards,
Yogesh