Altera_Forum
Honored Contributor
10 years agoNiosII memory reservation
Hello guys,
I have a system running a NiosII processor. In my Qsys system I have connected one port of a dual-port-onchipmem to the Nios data master port and the second port has been exported outside the Qsys so that I'am capable to write data from hw and read it within the NiosII proc. What's happening is that the increase of size of the NiosII software corrupts the data contents of that dual-port-ram (if I comment some portion of code that condition does not happen). So it seems that the niosII is using the dual port ram as an alternative storage device. By the way in the linker script tab of the niosII bsp editor I've set the [.bss ; .entry; .exceptions; .heap; .rodata; .rwdata; .stack; .text] regions to use the dedicated cpu onchip mem only. So I supposed the the NIosII could not use the dual port onchip as it wants to. I'm wrong ?? thank you for help ! Have a nice day !