Forum Discussion
Altera_Forum
Honored Contributor
16 years agoNios crashes when reading from the DDR2
Hi, I'm trying to setup the DDR2 as a frame buffer for streaming to a display. Currently, I am able to write and read pixels to and from the off-chip DDR2 and communicate with custom ha...
Altera_Forum
Honored Contributor
16 years agoI assume your design is for a custom board?
Well the reason the NIOS is hanging is most likely because it's waiting for the DDR2 controller to return data but it's never returning it. I have seen this before but your circumstances are different. The most common reason I saw was when there was insufficient pipeline buffering between the processor and the DDR2 controller. Here are some things to try: 1 - Try making the read buffer larger inside the clock-crossing bridge. 2 - Check that the init_done signal from the DDR2 controller is getting asserted. 3 - Put signaltap in to look at the avalon interface to the DDR2 controller and see what is going on there when a read occurs. Jake