Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

Bug seen with SDMMC fx_media open (DMAC close, SSP_ERR_NOT_OPEN)?

$
0
0

Hello,

I am working with an SD card. The whole solution works, and the media opens correctly (and I can read and write). However now that I'm listening for SSP errors, I am getting a:

DMAC_ERROR_RETURN(p_ctrl->id == DMAC_ID, SSP_ERR_NOT_OPEN);

This is occuring with the following call tree:

fx_media_open() -> _fx_media_open -> SF_EL_FX_BlockDriver() -> SF_Block_Media_SDMMC_Close() ->  R_SDMMC_Close() -> R_DMAC_Close()

I am using DMAC with this SD card. To repeat I can open, read, write and close the media just fine.

It appears, and that when I call fx_media_open() the Renesas driver does not start the DMAC, but with the close, it calls the DMAC, thereby causing the error.

-------------------------

The same appears to occur with the fx_fault_tolerant_enable(). I get the DMAC_ERROR_RETURN(p_ctrl->id == DMAC_ID, SSP_ERR_NOT_OPEN); error.

 


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>