Forum Discussion
Altera_Forum
Honored Contributor
11 years agoDear fberndl
I am new to device drivers and I am having a tough time understanding the fpga-dma.c device driver. Can you please guide me on how to write the application program using this device driver? If anyone can share some sample code already written using this driver, it would be of great help. I have slightly modified the hardware this driver is intended for. Instead of the device being a loopback FIFO (data written to a FIFO and then read back from the same FIFO), I have created to separate FIFOs. Data is written into one, Passed to a second FIFO internally in hardware and then read back from that second FIFO. Can you please guide me on the changes required in this driver for that? Also I think that the application code should have 2 separate threads, one for writing and one for reading, else we wouldn’t be using the device to its full potential (i.e. the max data transfer speed achievable). Am I correct? Sincerely Ankit PS: As per your advice I have also replied to rocketboards mail thread concerning this driver. Haven't heard back though. I was hoping that you could help me.