Forum Discussion
Altera_Forum
Honored Contributor
11 years agoAvalon MM Master Template - Writing makes Nios2 crash
Hi, I've implemented a Avalon Master MM master template to manually write a SDRAM (which is shared with my Nios processor). The source code is the following:
-- From component
writer_contr...
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- But when I'm trying to loop write (in the VHDL) and read values using my Nios program, it keeps on crashing and I can't figure out why. I'm assuming that trying to perform a nios read access while writing in the SDRAM put me in this situation but I don't know how to protect this situation from occuring. --- Quote End --- I guess the VHDL loop write is blocking some bus signal and prevents Nios from accessing sdram, whilst using the test switch the same condition is momentary and you don't experience the problem.