Keil Logo

MCI Error - Tx Underrun

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
Felipe Avila
Posted
29-Sep-2011 20:09 GMT
Toolset
ARM
New! MCI Error - Tx Underrun

Hello!

My name is Felipe, I'm from Brazil.
I'm trying to do my board save some data in a SD/MMC Card.
And when I try to write some data on the card I get a ' Transmit FIFO underrun error ' in MCI_STATUS.

Can anyone help me? I don't really understand what this error means.
I'm beginning in this project, so I still don't use DMA.Can that be the problem?

Thank you,

Felipe Avila.

(Sorry for my poor english..)

Read-Only
Author
Tamir Michael
Posted
29-Sep-2011 20:12 GMT
Toolset
ARM
New! RE: MCI Error - Tx Underrun

Show some code, for a start.

Read-Only
Author
Felipe Avila
Posted
29-Sep-2011 20:16 GMT
Toolset
ARM
New! RE: MCI Error - Tx Underrun

For a start I just want to know what this TX Underrun error means!

Read-Only
Author
Andrew Neil
Posted
29-Sep-2011 22:34 GMT
Toolset
None
New! RE: what this TX Underrun error means

An "underrun" (or underflow) is the opposite of an overrun (or overflow) - it means that you are not supplying data fast enough for the thing that requires it.

http://en.wikipedia.org/wiki/Buffer_underrun

Read-Only
Author
Felipe Avila
Posted
30-Sep-2011 18:58 GMT
Toolset
None
New! RE: what this TX Underrun error means

So..If the problem is that I dont write data fast enough in MCI_FIFO maybe it is not viable to use MCI directly.. Should I use DMA?

Are you familiar with this MCI of LPC2368?
If I slow down MCI_Clock, could that help?

Thank you for your answer!!

Next Thread | Thread List | Previous Thread Start a Thread | Settings

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.