cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
elitezhe
Participant
Participant
2,359 Views
Registered: ‎01-10-2014

vdma mm2s control and status reg are all 0x00

Jump to solution

Hi,

 

I have encounter a problem when using vdma.

Before i develop a project using vdma without s2mm, just mm2s, so i can output some colorbar via hdmi to my screen.

and i succed.

 

So i add s2mm to my project, hoping i can read a frame from hdmi and output it to screen.

 

My board is Atyls(digilent inc), I use DSD-0000332 from (digilent atyls page), i also add an iic control to read edid information to make sure the hdmi source output valid signals.

 

I followed Xilinx AXI vdma demo in the ISE install file direction.

 

However, when it runs to XAxiVdma_DmaStart(&vdma, XAXIVDMA_READ), it return error code 9

It indicates "XST_DMA_ERROR" 

Unnamed QQ Screenshot20140414195656.png

and mm2s control(0x00) and status(0x04) registers are all 0x0000 0000, it is strange.

 

 

Then i follow another demo just write reg directly.

Unnamed QQ Screenshot20140414200210.png

These two registers are also all 0x00000000;

 

 

My mhs and source code is attached.

0 Kudos
1 Solution

Accepted Solutions
elitezhe
Participant
Participant
2,920 Views
Registered: ‎01-10-2014

I found what i have done wrong.

 

I forgot to connect VDMA AXI to Memory AXI and the vdma and hdmi core mm2s.

 

It's really a very naive mistake....

View solution in original post

0 Kudos
1 Reply
elitezhe
Participant
Participant
2,921 Views
Registered: ‎01-10-2014

I found what i have done wrong.

 

I forgot to connect VDMA AXI to Memory AXI and the vdma and hdmi core mm2s.

 

It's really a very naive mistake....

View solution in original post

0 Kudos