02-23-2009 12:41 AM
02-28-2009 09:17 AM
I have the same questions as yours, didn't figure out how to communicate the board and pc by using EDK.
Btw, what's your edition of ISE and EDK?
02-28-2009 10:48 PM - edited 02-28-2009 10:52 PM
Hi guys! I also use UartLite and XUartLite_Initialize, XUartLite_Send and XUartLite_Recv functions to communicate with PC.
XUartLite_Send works but XUartLite_Recv DO NOT WORK PROPER in my system. I use it in polled mode. It receives trash. But when I run debugger step by step it receive data! I wonder why?
PS. Windows Serial Port Programming Robertson Bayer March 30, 2008 and Serial Programming Guide for POSIX Operating Systems by Michael R. Sweet are good guides for writing programs for PC
03-26-2009 07:30 AM
You could start with using
RecvBuffer = XUartLite_RecvByte (STDIN_BASEADDRESS);
both functions are blocking and send only 1 byte at a time. But it is a start.
You should also have a look at the Xilinx Device Driver Documentation to get an idea what functions are available for the uartlite driver.