Intel® FPGA University Program
University Program Material, Education Boards, and Laboratory Exercises
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
1087 Discussions

vedio_out(pixel buffer,vga)problem

Altera_Forum
Honored Contributor II
769 Views

Hello everybody, 

 

***I am using altera de0 and ltm complete waveform display experiments, encountered a problem. I use the university program ip vedio_out. Why clear screen, you can not directly display. Test code:nios c 

 

# include "altera_up_avalon_pixel_buffer.h" 

int main(void) 

alt_up_pixel_buffer_dev * pixel_buf_dev; 

// open the Pixel Buffer port 

pixel_buf_dev = alt_up_pixel_buffer_open_dev ("/dev/Pixel_Buffer"); 

if ( pixel_buf_dev == NULL) 

alt_printf ("Error: could not open pixel buffer device \n"); 

else 

alt_printf ("Opened pixel buffer device \n"); 

/* Clear and draw a blue box on the screen */ 

alt_up_pixel_buffer_clear_screen (pixel_buf_dev,0); 

alt_up_pixel_buffer_draw_box (pixel_buf_dev, 0, 0, 319, 239, 0x001F, 0); 

 

Hope that we can provide the solution or the views try:
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
69 Views

I have solved the problem

Altera_Forum
Honored Contributor II
69 Views

 

--- Quote Start ---  

I have solved the problem 

--- Quote End ---  

 

how do you solve the problem? i have the same problem,can you tell me? any answers will be very appreciated!
Reply