I run the UART Example fine, but when I try to write multiple times it doesn't work.
I add the blue line code.
static void genericUartTest()
{
PSP_uartDataParam buf;
Int status = 0;
size_t len = 0;
Int8 *str = NULL;
str = "UART Demo Starts: INPUT a file of size 1000 bytes";
// Copy to start string to Cache aligned buffer
strcpy(uartTestStringStart,str);
// Input buffer
buf.addr = uartTestStringStart;
// Time out value
buf.timeout = SYS_FOREVER;
// Length of data
len = strlen(uartTestStringStart);
status = GIO_submit(hUart_OUT,IOM_WRITE, &buf, &len, NULL); // I can see the "UART Demo Starts: INPUT a file of size 1000 bytes" message on PC device
status = GIO_submit(hUart_OUT,IOM_WRITE,&buf,&len,NULL); // Write one more time, but nothing send out?
...