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 agoHi Boots79,
unfortunately I'm still more or less new to FPGA but I had a simmilar problem. I forgot to malloc enough space for my framebuffer and overwrote my program code. As I'm to tired at the moment I'm not able to go through your code step by step. But anyway, I can't find much malloc / free commands. Try to ensure that by yourself ... Is your program code also stored in this ram? Maybe thats the right hint ;) Leo