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 !
Hi Sneha
probably sd card image become corrupted, one can try to reprogram image with
Demo Images from link
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Igor,
Thank you ! It worked. Do you know what could have caused the image to be corrupted ?
Hi Igor,
Thank you ! The answer made sense to the situation that I had encountered