2014-01-06 11:36 PM
I use fatfs as file system and use sdio_sdcard.c as sd card driver write data into sd card
but i found a problem when i use SD_ReadMultiBlocks function sometimes there will some sectors didnt fill the data, there are some my deleted file data in it(if i format all sd card it will be all 0x00),the sector always occur at 0xXXXXXe00 and end with 0xXXXXXX00 which means there is whole 512 bytes sector failwhat makes this problem? when i try simplest program which just fill same data into a file and stop all interrupts and any another functionthe problem still occur, please someone help2014-01-07 01:12 AM
Perhaps you could describe your board, interface and clocking scheme?
2014-01-07 05:00 PM
attach file is my scheme of sd card part i use
* @file stm324xg_eval_sdio_sd.c * @author MCD Application Team * @version V1.0.0 * @date 30-September-2011 as my lowlevel interface to control sd card. I cant figure out why this problem happen ________________ Attachments : QQ__20140108085403.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzmW&d=%2Fa%2F0X0000000bPg%2F.rg9UGEAEsthnVKAXrI_br6HU3YYMsg.Sm8AzGOJu60&asPdf=falseQQ__20140108085441.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hzlt&d=%2Fa%2F0X0000000bPh%2FbKu12N8goajdTyZddwueixMRNzXysCWPCGnM9WwPT8A&asPdf=false2014-01-07 10:04 PM
one more question is how to extend address to make sdio can use more than 4g space?