angmouzakitis / ZedBoard-AXI-VGA

A memory mapped VGA controller for ZedBoard
11 stars 3 forks source link

Black Screen #1

Open Kevin-Vu opened 6 years ago

Kevin-Vu commented 6 years ago

Hi,

Thank you for your repository. However when I write my C code, the only thing that is displayed is a black screen. I wrote something like Xuint32 (base_addr) = (Xuint32 )0x01000000; int i = 0; for(i = 0; i < 1000 ; i++) { *(base_addr + i) = 0x0FFF0FFF; }

Regards,

angmouzakitis commented 6 years ago

Hi,

are you using a ZedBoard or a variant of other Zynq7000 boards like MicroZed etc ?

For the moment i don't have access to a ZedBoard, but I have a pre-compiled bitstream in which this design is implemented with a slight difference on the frame-buffer. You can fetch the bitstream and the application code from this Dropbox link [1] (tested on a ZedBoard).

To test the example run in xmd:

  1. source ps7_init.tcl
  2. connect arm hw
  3. rst
  4. fpga -f bitstream.bit
  5. ps7_init
  6. ps7_post_config
  7. dow emulator.elf
  8. con

[1] https://www.dropbox.com/s/819b5kx2hqhtvp6/zynq-axivga-test.tar.gz?dl=0

Kevin-Vu commented 6 years ago

Hi,

I am using a ZedBoard. I tested your example and played your Pong game. So it probably means that I did something wrong when I followed your tutorial.

slavishayov commented 6 years ago

I have the same problem as Kevin-Vu. I'm using a Zedboard platform and your initial design does not work. It displays only a black screen. I checked the outputs of the VGA port, the signals hsync and vsync are well generated but there are no signals on r, g and b ports. By using xmd, I can manage to write different values to the DDR memory, but the vga controller does not read them. Is it possible to give more details about the embedded design you described in the readme file. Thank you.

Kevin-Vu commented 6 years ago

Hi,

Here are two others github projects that work like a charm : If you want to get the IP : https://github.com/andrewandrepowell/VGA_1.0/ If you want a hole project : https://github.com/delhatch/VGA_mem_mapped