Altera_Forum
Honored Contributor
13 years agoProblem with Pixel_Buffer_DMA and SDRAM
Hello guys.
I have an Altera DE2-115 dev. board and I'm trying to use NIOS to display some images on a monitor, using the VGA connector on the board. I'm using quartus 11.1 and I'm following instructions on the pdf of altera university program. I used nios II, on-chip memory (RAM OR ROM), clock signals, sram/ssram controller, pixel buffer dma controller, rgb resampler, scaler, dual clock buffer and vga controller to do it, and it works ok, I can send images to the monitor. But, when I try to use SDRAM as reset vector and exception vector of the nios II CPU, then it doesn't work anymore. The alt_up_pixel_buffer_dma_dev pointer that I get from the alt_up_pixel_buffer_dma_open_dev function is not null, but all other functions seem to do nothing, like alt_up_pixel_buffer_dma_clear_screen, alt_up_pixel_buffer_dma_draw_rectangle, alt_up_pixel_buffer_dma_draw_box, etc. Is there some problem in using this module with the SDRAM? Thanks! Edit: I'm using SOPC Builder to design the hardware.