Skip to content

fpga2hps_fifo driver- fetch data size limited to 32768 B (around)

NOTE: I am not using the fpga2hps_fifo_test application SW to perform this test!

I want to fetch data from the driver and write them into a file. With the following command I wait for data (first terminal) dd if=/dev/fpga2hps_fifo of=/mnt/data/fuffa.txt count=4096 bs=1

With this command I select the source (since the fpga2hps_fifo reset is released by the driver opening (second terminal) bregacc wr 0xff201020 0x00000181 0x00000fff

I expect a file named fuffa.txt in mnt/data/ folder of 4096B.

Most of the times it is like this, but if I repeat the command several times, the system crashes. image

This effect is more visible in case the required number of Bytes to store in the file is higher

image

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information