Hi
I am trying to send data via USB from the PC to buff2 of Xylo LM board. I have tried examples of USB bidirectional (provided with kit). In the eg, every time a data(5 bytes) is sent a counter gets incremented by 5 and displays on the screen indicating that 5 or 10 or 15 and so on bytes of data were received .
I am new to C++ and I am not very sure how to send diff values? do I need to give my values to buf[0],buf[1] and so on and just use the Xferdata function? What are the parameters that i need to send? If anyone has a simple pgm so as to send data to buff kindly share it with me. I have written codes using timing diagram for FPGA to read the data from buff2 using verilog. It works well in simulation,so now I need to check the read pgm by sending data to buff2 and make sure I am not losing any data .
Any help is appreciated.
Thanks