Forum Discussion
On-Chip Memory Read/Write Issue
Check the system.h file which is created as part of the second stage bootloader based on the .sopcinfo file. The header file includes all the macros needed for accessing components connected to the processor.
- greenlantern011 year ago
Occasional Contributor
Okay! I think I got it! Thank you!
Do I need to mmap the second port of the sram as well? I only see a single base address for the sram.
But in the qsys I see two addresses. (Shared above)
Thanks
- sstrell1 year ago
Super Contributor
It's a true dual port RAM so the second port would get added to the header file as well.
- greenlantern011 year ago
Occasional Contributor
So I haven't built a bootloader for cyclone v.
I have used the Angstrom Linux for the DE10 Standard FPGA, programmed the fpga from the quartus software. I access the linux on the board from putty, compiled the c code and copied it to the linux and then run it from there.
Thus I never required to follow the bootloader steps and hence I am not sure if I am looking at the right header file. Can you direct me to some documentation which shows the method for creating these header files?
Thanks in advance and appreciate your patience!