This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: Command time-out error for CMD2

Part Number: AM5728


Tool/software: Linux

Hi All,

When i am doing SD initialization sequence calls using IOCTL from my application,

For the CMD0, CMD8,CMD55,CMD41 i got responses, but for CMD2 i am getting time out error(error no:110)

IN [drivers/mmc/host/omap_hsmmc.c] :  omap_hsmmc_do_irq()-> hsmmc_command_incomplete(host, -ETIMEDOUT, end_cmd); is hitting

When i print the interrupt status register: omap_hsmmc_dbg_report_irq: MMC IRQ 0x18000 : ERRI CTO is set.

CTO
Command Timeout Error
This bit is set automatically when no response is received
within 64 clock cycles from the end bit of the command.
For commands that reply within 5 clock cycles - the
timeout is still detected at 64 clock cycles.
Write 0x0: Status bit unchanged
Write 0x1: Status is cleared
Read 0x1: Time Out
Read 0x0: No error

Can any one help me, what need to take care, to overcome this.

am using micro SD card 128gb, SDR104

Thanks,

Anil