I successfully wrote data to XDMA Stream on an NVIDIA Innova-2 Flex card, but it took very long and return a -1 error. Can anyone help. This is the info in the dmesg:
This is not enough information. Your issue is likely the result of the interplay between FPGA IP, driver, and software. sudo dmesg | grep -i xdma, the core code in software you are using for communication, and a picture of your Block Design would make this easier.
There is a default 10-second timeout for transactions. Something is blocking them. Either you are attempting to read/write to an incorrect address or the Block you are communicating with is still in Reset. Are you reading or writing to the correct read or write address using the correct read or write device? What are you attempting to communicate with and what is its reset connected to?
I have just fixed the block. There is no error now, but it always returns 0 when I read the xdma0_c2h_0. Here is the block design. It is just a multiply function for float numbers: