2018-01-15 08:39 PM
I'd followed the link workaround and it still doesn't work
https://community.st.com/docs/DOC-1751-wa-proposal-when-using-fatfs-r012c-with-stm32cubemx
So I'm just curious did I setup the CubeMX correctly. Appreciate that someone help to look at my project file and comment.
2018-01-16 11:21 AM
Hi,
I think you have to add two DMA channels for SDMMC1_RX and SDMMC1_TX. I have correctedyour file. Look at the DMA section for SDMMC1.
If this doesn't help try this suggestions:
https://community.st.com/0D50X00009XkWt5SAF
It is for the STM32F4 but maybe it also works for you.
Have you tried to access your SD card with WriteBlocksand ReadBlocks commands ?Best regards
________________ Attachments : STM32L496VG_SD.ioc.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hy6C&d=%2Fa%2F0X0000000b4F%2FttY81hxKYe69SuS87T7GxobK3jlN_A1b8.Qh7VQtbTk&asPdf=false2018-01-16 07:55 PM
Tks Tobias, this resolve the issue.
Regards
2018-01-17 12:02 AM
What resolves the issue? Only the changes for DMA in CubeMX or you have to do some changes at your source code?
Maybe helpful for others.
2018-01-17 01:24 AM
Changes to the DMA (RX & TX) and following the link (code changes) that you initially sent.
The STM example requires queues, but this link doesn't require.
Hope this help.