I recently upgraded my software on S7G2-DK from SSP 1.1.3 to SSP 1.2.0, and I'm still having trouble with FileX on sdmmc. (Whereas with old SSP 1.1.3 all works fine). Issue description:High level function call that is failing, returning with FX_IO_ERROR: uint32_t fx_ret_val; fx_ret_val = fx_media_open(&g_fx_media, "g_fx_media", SF_EL_FX_BlockDriver, &g_sf_el_fx_cfg, g_media_memory_g_fx_media, sizeof(g_media_memory_g_fx_media)); Low level function call that is failing, returning false: scr_get(p_ctrl); After the above function is failing, no communication is possible with the SD card.This problem is not related specifically to the ACMD51 (send scr command), but rather to any command which asks the card to send some data on the DAT lines. Simple commands (command written on CMD line, response received on CMD line) are working
I paste my FileX configuration, sdmmc configuration and the call stack when I fall into the issue.
In reply to adboc:
In reply to Yvelain:
I checked with 2 SD cards, both SDHC (1GB and 8GB). pin configuration is attached (for SDHI controller and all related pins)
In reply to HN66:
So even if I try your both suggestions, I'm not able to have something at work and I fall into the same issue.
Can you send me your project ?
Here's my project:
It uses semihosting but you can also check the contents of the g_read_buffer after setting a breakpoint in debug mode. You should see "This is a test." string in this buffer.
it doesn't work on my board, exactly the same problem.
I take a picture of my board, is it the same of yours ?
In reply to Renesas Karol: