When evaluating the SDHI module function of RX72M, I debugged the sample code (r01an4233xx0300-rx-sdmemory). I have encountered the following problems.
In SD card initialization process:The return value of r_sdc_sd_send_cmd_arg (card_no, SDC_SD_CMD7, SDC_SD_RESP_R1b, p_hndl-> rca ) is now SDC_SD_ERR_HOST_TOE.
What are the possible causes?
(1) The commands before CMD7 (SMD0, CMD8, ACMD41, CMD2, CMD3, CMD9, CMD13) worked well. The response is accurate.
(2) The sd card is an 8G memory card.
(3)Before sending CMD7, the status of the sd card is standby.
Do you get the same error when you try with other SD cards?
I have never try with other card. I think i need to buy some other cards, and try this again. Thank you.
Exactly the same problem.
Tried 3 cards: ADATA SDHC UHS-I 8G MLC, Transcend SDHC Class10 8G MLC and a 2G card.
I changed SDC_SD_TIMEOUT_RESP to 10 times, then I got SDC_SD_ERR_CARD_TOE now.
After CMD7 was sent, SDSTS2.CBSY became 1 and kept for ever.
Signal on CMD line seemed good, but DAT0 kept low.
All SDHI singals are not pull-upped on our prototype. I thought it did because I read the wrong circuit diagram.And on RX65N board, It needed an extra operation to enable the power of those pull-upping.