There are problems with the C6748 UART driver.
1) I run an UART example on EVM OMAP-L138 board (pspdrivers_02_10_01\packages\ti\psp\examples\evmOMAPL138\uart\sample). I modified an example to be able to send file from PC to the EVM OMAPL138 board through the serial port repeatedly. So the startUartSample() task is running on the loop. The sent message can be repeatedly read if the length (len) of the buffer specified in the Stream_read function is exactly equal to the length of the message sent. If message is shorter than the len Stream_read doesn’t return. If message is longer than the len then the first time Stream_read returns but the second time application is terminated with the message on the Console:
ti.sdo.io.Stream: line 482: Generic Failure
xdc.runtime.Error.raise: terminating execution
2) If instead of the BIOS_WAIT_FOREVER in Stream_read function timeout is specified, like 1000000 (1 sec), then application is terminated with the message on the Console:
ti.sdo.io.Stream: line 442: E_timeout: Timeout
xdc.runtime.Error.raise: terminating execution
Can anybody help with these problems?
Thaks