06-21-2019 05:25 AM
hi,
first VDMA reg34= 0x15810
after WC VDMA reg34= 0x15010
next VDMA reg34= 0x15010
...........................
next VDMA reg34= 0x15010
from register all the time bit14 err_irq=1 .
I can not WC.
What exactly is the problem?
How to judge whether S2MM VDMA transceiver is accurate?
10-14-2019 08:41 PM
06-24-2019 03:53 AM
Hi @flomingo
Bt 14 is 1 because you have an error (bit 4 is 1). Probably the VDMA was stopped
06-24-2019 06:09 PM
bit0 =0
It's still working.
I debug .VDMA can also transfer data to ddr3.
06-24-2019 06:24 PM
06-25-2019 12:51 AM
HI @flomingo
Can you try to write 0xFFFFFFFF in the register?
06-25-2019 02:22 AM
06-25-2019 03:22 AM
HI @flomingo
So you still have bit 4 is 1. This is why you still have an interrupt. So you need to check the following
Once again, I would recommend to start with my Video Series 24: Using the AXI VDMA in Triple Buffer Mode, this should give you a good reference of a working design
06-26-2019 07:18 PM
@florentw ila debug . wlast/BVALID have 2 pluse in next to no time . I doubt it .
Please help me. in addition ,WC should be bit clear 。why write FFFFFFFF.
06-27-2019 05:15 AM
HI @flomingo
The 2 tlast can be explained if you are at the end of a frame. So you just sending the last burst of data. So it not always wrong.
You have to write 0xFFFFFFFF because the bits are cleared on a 1. Check p79 of pg020
06-28-2019 03:12 AM
hi, florentw
please help me check 2019062802.ila (see the att). I feel the Wlast epresents the result of a burst of data. I can't understand VDMA completely. VDMA have "Write Burst Size" ,"Stream Data Width","Line Buffer Depth". I check Start and end bytes in h-line, i feel it is right.
My design: 16bit data come into VDMA.
I check the reg before initial VDMA , i find the reg34=0x14811. I cannot also clear.
May I have your contact information?
thank you
06-28-2019 04:06 AM - edited 06-28-2019 04:06 AM
HI @flomingo
What is the size of your image? DO you know if what you are looking at is the end of the picture?
There is nothing wrong with having a smaller burst if this is the end of a line or frame
Did you try to run my example from Video Series 24: Using the AXI VDMA in Triple Buffer Mode?
If not please do, this way you can have a working example as reference.
07-05-2019 01:45 AM
Hi @flomingo
Do you have any udpate on this? Did you make any progress?
If your question is answered or your issue is solved, please kindly mark the response which helped as solution (click on "Accept as solution" button below the reply)
If this is not solved/answered, please reply in the topic giving more information on your current status.
Thanks and Regards,
10-14-2019 08:41 PM