Other Parts Discussed in Thread: Z-STACK
Hi TI team
I am doing combine the application code on the ZC-ota dongle orignal example proiect,
Has encountered the problem:1 start the timer event on the init function,
if ( events & AMOSDONGLE_USB_POLL_EVT )
{
while (Hal_UART_RxBufLen(HAL_UART_PORT_0) > 0 )
{
HalUARTRead (HAL_UART_PORT_0, &ch, 1);
if (ch != 'S') continue;
HalUARTRead (HAL_UART_PORT_0, &ch, 1);
if (ch != 'S') continue;
HalUARTRead (HAL_UART_PORT_0, &ch, 1);
if (ch != 'S') continue;
HalUARTRead (HAL_UART_PORT_0, &len, 1);
}
}
See these code,it can run normal on USB interface on the genercial example project,
But on the UART interface,it just seem that can receive these data sometimes,seem that block.
2.So in order to solve the fist problem.I change the UART to USB,and appeared the error on the IAR FOR ARM 8.22.1
So What I can do for it?
Thanks!