AnsweredAssumed Answered

Data Loss while transmitting from Host Desktop to Target platform over UART

Question asked by shekharlav on Sep 7, 2012
Latest reply on Sep 12, 2012 by sonic

Hi,

 

I am using a ADSP BF527 based board. I am using 2011R1 HEAD distro, with 2011R1-RC4 toolchain.

 

I am trying to transfer data (sequence of integers from 0-255) from my Host Desktop to my Target platform over UART.

 

I am running Fedora 17 on my Host.

 

Please find attached the main_host.c file containing the Host side program, and main_target.c file containing the Target platform side program.

 

When I execute both the codes, my Host program indicates that it has sent all 256 bytes of data, but my Target program hangs midway as if it is waiting to read more data. The package 'log_noDelay' contains log from both Host and Target side for this scenario.

 

Also, if I add a delay between successive writes of each byte, I am able to receive all the data at my Target.  The package 'log_Delay' contains log from both Host and Target side for this scenario.

 

What might be causing this issue ?

 

Regards,

Chandrashekhar

Outcomes