Hello everyone! I am working in a startup where i am working on the pynq Z2 for media trasmission.
I am trying a Image processing on PYNQ Z2 board where i am testing VDMA for image processing but even after register setting my output image is black , i seems that data is not processing well .
This is my blockk digram of custum overlay. can anyone please help to solve this issure.
I am sharing a output of my python cell:
Loading input image: ./test1.jpg
Image width : 1900
Image height: 1267
BPP : 4
HSIZE : 7600 bytes
STRIDE : 7600 bytes
VSIZE : 1267 lines
Total bytes : 9629200
Loading overlay: ./audio_try.bit
VDMA base address: 0x43000000
VDMA address range: 0x10000
Input physical address : 0x16300000
Output physical address: 0x16d00000
Initial VDMA status
MM2S CR: 0x00010082 SR: 0x00010001
S2MM CR: 0x00010082 SR: 0x00010001
MM2S reset cleared: 0x00010082
S2MM reset cleared: 0x00010082
After reset
MM2S CR: 0x00010082 SR: 0x00010001
S2MM CR: 0x00010082 SR: 0x00010001
Programmed registers:
MM2S SA1 : 0x16300000
S2MM SA1 : 0x16d00000
MM2S HSIZE : 7600
MM2S STRIDE : 7600
MM2S VSIZE : 1267
S2MM HSIZE : 7600
S2MM STRIDE : 7600
S2MM VSIZE : 1267
Immediately after start
MM2S CR: 0x00010001 SR: 0x00010000
S2MM CR: 0x00010001 SR: 0x00010000
MM2S CR=0x00010001 SR=0x00010000; S2MM CR=0x00010001 SR=0x00010000
Status completion was not observed before timeout.
Final VDMA status before cache invalidate
MM2S CR: 0x00010001 SR: 0x00010000
S2MM CR: 0x00010001 SR: 0x00010000
Output first 64 bytes: [170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170
170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170
170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170
170 170 170 170 170 170 170 170 170 170]
Output min : 170
Output max : 170
Output mean : 170.0
Different bytes : 9601408
Total bytes : 9629200
FAIL: output does not exactly match source.
First mismatch index: 0
Source value : 0x27
Received value : 0xaa
Saved output image: ./vdma_received.png
my Input image is :
my output image is:
Is anyone have any suggesstion?? please help me.


