AnsweredAssumed Answered

imx6ull evk - ttymxc1 loopback test is successful but read() always returns -1

Question asked by Sneha Raghunandanan on Jan 30, 2019
Latest reply on Feb 5, 2019 by igorpadykov

I am using the IMX6ull evk i.MX 6ULL Applications Processor | Single Arm® Cortex®-A7 @ 900 MHz |NXP 

 

I am trying to read the uart ttymxc1 and it was working fine till yesterday. Today, the same piece of code, with read() function returns -1 always.

 

I performed a loopback test to check the functionality of uart and the test is successful. Can you please help me on this ?

 

Edit: The read() function fails in both DMA and interrupt mode (tested spearately)

 

Thank you !

Outcomes