Hi, experts
I have built a NIOS II system to verify MSGDMA. The structure is shown as below:
The steps it works:
- NIOS write test pattern to some certain space in DDR3
- NIOS configure MSGDMA to mm2mm mode
- Write descriptors to MSGDMA and the Read Master read test pattern out and send to the 2-cycle delay module
- Write Master send the data back to DDR3, but at different memory space.
- NIOS read the data out and compare with the original test pattern.
When it begins to run, the system always hang on waiting for completion IRQ, but no IRQ generated. I checked the memory, some data were lost during transfer.
When I remove the delay module, and directly loopback the Avalon-S T port of Write Master and Read Master, everything goes well.
My question is , is it possible to add some processing module when MSGDMA in MM2MM mode ? if yes, How it handle it ?
連結已複製
1 回應
