Hello,
I am trying to write some code to read in 512 byte chunks of data, based on EFM01_perf and the C++ example code. I want to read in data continually from the FPGA to the PC, and have encountered a few problems:
1) After reading other posts, I assume readBulk() is no longer accessible, so I must use readBlock() instead. My question relates to the parameters of this function. What address do I read from? What is the I/O specific flags parameter?
2) I understand that the data must be read after 512 bytes have been loaded into the FX-2 buffer, but wow does the host know when to read? Which flag must I check, and how do I check it?
3) I don't understand the link between pins and register addresses - is there some kind of table or datasheet that can help me with this?
Many thanks for your assistance
Graham
I am trying to write some code to read in 512 byte chunks of data, based on EFM01_perf and the C++ example code. I want to read in data continually from the FPGA to the PC, and have encountered a few problems:
1) After reading other posts, I assume readBulk() is no longer accessible, so I must use readBlock() instead. My question relates to the parameters of this function. What address do I read from? What is the I/O specific flags parameter?
2) I understand that the data must be read after 512 bytes have been loaded into the FX-2 buffer, but wow does the host know when to read? Which flag must I check, and how do I check it?
3) I don't understand the link between pins and register addresses - is there some kind of table or datasheet that can help me with this?
Many thanks for your assistance
Graham