问答

汇集网友智慧,解决技术难题

21ic问答首页 - TAG - FATFS
  • FatFS TF卡创建读写文件正常,插电脑上空白

    用的是HC32F4A0,目前做了: [list=1] [*]在电脑上对SD卡格式化为Fat32格式 [*]为了确定写入了SD卡,而不是读取缓存。写入文件后,将文件关闭,再以READ模式打开,进行读取,也是可以读的。 [/list][img]data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAaEAAABmCAIAAADtULktAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAEXRFWHRTb2Z0d2FyZQBTbmlwYXN0ZV0Xzt0AABGuSURBVHic7Z1/cBtlesefd+Pelfao1bn27kqcX7Ykbhxfb3BIASlzKQR1YofQ+K6Ya4/BOSBWJz2QSmNm6vExdze50KszvRUMbuVAL6bXg4gJ8k0iy60JSWAk8IWYXkbxtJYsLk3ggLlyCj4CWCtt/1hptZJ25dWPyPb6+xn9sfvs8z777sr79ftD+7xMFEUCAACDwi12BQAA4CoCjQMAGBloHADAyDScmoqVW+ZP283y9nDgXE3rAwAAtaSBMVZNea664gAAcFVpqFKkOA69XQDA0qXadlyVxQEA4KrSwDhu1aPuBf1S3+NV7RwHjQMALC2uH+qXt/W247Tc0FcFACxl9I7Habnl21/+1217Xtpx6McPf0U2vXv06383RPc889z21VVVtDzeGvnuvbO7Tnzvy3U8JwDg6nHPtuuVuz8+8T86CzYwxuSXuW72+4nota4ueUP202rHsby+KiMiCrx4bt/WrLhc+K/TbxDdwDjG6tTguzD+Lce/0Q0WsjJM+gJgIP795AwRfeNWKxUqjyY3+/0NjONkjZPUrVjgiIhp9Enz+6qMUfu2ndHRFy7e8BfriIgmn568bWDb+THGSY6nn9p6/wki2vn0s/u2Ep1+auuTtJNOHJuyPnii6xfbfnBMPqRwpvZ7f+LrWE05/zet2+g5ujf2wE1EkwN/+Yz5h0/u/kKmDhs6h2KddPqprRMMHWkADITygdb5cL/W1cUVtHUkaSsQOCLiGJM/WnaOESNq+qu/WXvy1HuMcYyde2XmFtsGRsSk3YP3s8H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hyZy4tljdqURY643gWmkteIE71EhfJn33QOTBTdF6P3W73ZMd6PPuHF3pmanV/tJ4LLTviVBZHk1rOq4pilM+035WTmJKldyzXupeOFrb1s/NTip5o3jyaql2rPyuKohiN8r2Zo7besWh2gqbAu2CuTj6usOfFyb8BknsZ03Vak3vlTfpFxzI1yl2Y5v0sK06p+1lmfSq5rgL/XG0K/mQWnmBVO6/ye9Q391yj+1P8XJS2I05lcVRViyUSiaLvTJO5ubmmpialJRAIbNmyheqVthgAALRQXcwA7zkAAIwMNA4AYGSgcQAAI5PTOLfbXXCs2AIAAMuLvHacUtQgcAAAA1DYV5WkDQIHADAGOY3jeV7akAVOtgAAwDIlrx2nFLXKBG55549bIL9YcV65sllq+bYQB3GMFEed4p8F7969e4Xmjyv1k3yVvHJls9TybSEO4hgpjv78cRV3UQ2QP07z0rTyypXzvupSy7eFOIhjpDhaIH9cLn9c3gFFH1Yrr1y1LLV8W4iDOEaKkwX543L547Tyi2nmlSOqLH8cAKBuIH9cLn9cvj2XX0wrr1z5LLV8W4iDOEaKow7yx+Xyx5WbX0wqr388bqnl20IcxDFSHE2QP04jT1zhXK9G6rLy8scttXxbiIM4RoqD/HEAACOD/HEAgBUHNA4AYGSgcQAAIwONAwAYGWgcAMDIQOMAAEYGGgcAMDI11rjlnT8uW8ZuL0yPUps8Vksv3xbiII6R4qhTy/cclnv+OFGM8r29/Fi06BWHSq6rmKWWbwtxEMdIcfTnj6uYZZ8/LuYZnN7ldXWY81+6L5nHCvnjEAdxlkQcLZA/TpE/LjodoRm5cxvUEuJK81jpjbPc83YhDuIshThZ/h9r7U9FwlK7hgAAAABJRU5ErkJggg==[/img] 但是把SD卡插到读卡器上,看到的就是空白。有没有大佬知道这是为什么 代码附上 #include "FileEdit.h" #include "ff.h" #include "stdio.h" #include "BSP_Timer_INT_Count.h" FATFS fsobject; FIL fp; BYTE work[FF_MAX_SS]; const char write_buf[] = "abcdefg"; char read_buf[FF_MAX_SS] = ""; UINT bw; UINT br; void FatFS_Test(void) { FRESULT res; /* 挂载文件系统 */ res = f_mount(&fsobject, "0:", 1); //挂载fsobject到文件系统、0: 存储器路径,也就是SD卡、1立即挂载 if(res != FR_OK) { res = f_mkfs("0:", 0, work, sizeof(work)); res = f_mount(NULL, "0:", 1); res = f_mount(&fsobject, "0:", 1); } /* 打开、创建文件 */ f_mkdir("0:/dir0"); res = f_open(&fp, "0:/dir0/qwerpoiu.txt", FA_CREATE_ALWAYS | FA_WRITE | FA_READ); if(res == LL_OK) { res = f_write(&fp, write_buf, sizeof(write_buf), &bw); f_close(&fp); res = f_open(&fp, "0:/dir0/qwerpoiu.txt", FA_READ); if(res==LL_OK) { f_lseek(&fp, 0); res = f_read(&fp, read_buf, f_size(&fp), &br); __nop(); } else f_close(&fp); } f_unmount("0:"); }[img]data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA1wAAAEDCAIAAACuwJKYAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAEXRFWHRTb2Z0d2FyZQBTbmlwYXN0ZV0Xzt0AABqmSURBVHic7d1/TNT34cfxl7XJxG1dMsXjEPpNGrWR1nMFU2naGnGKTT2sCWxO/eO8qiyaeDrqEpDGtESEZCm2H5OSOM15f2hHh0sjZ2evTo2NoRrBcWaYGdfE8uM4b6yJTvGfyfePz91xPzhAUFF5Pv5ojs997nOfw19P3u/359NJ/f39AgAAwMT2zHifAAAAAMYfUQgAAACiEAAAANKzV69eHe9zAAAASDRnzpxh9yFjHqBnR/IdBwAASHD16tWHVxEjrz1K5kFh+hgAAABEIQAAAIhCAAAAiCgEAACAiEIAAACIKAQAAICIQgAAACghCnt7excsWNDb25uwU29vb2Zm5qRJk372s5/5/X5zY11dXWZmZvLO4yLVmQMAAAwudPZofcTRs1dC430+4+2Z48ePT4qYPn16S0vL9OnTo1uOHz9u7ldQUNDb21tQUOD1es2n3nvvvUAgYO68ZMmSvr6+B3VOvb29c+fOjdanJL/fv2rVqkHfoq6uLvnMh6jVuro6p9PZ19e3ZMmS6M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AQUQgAAAARhQAAABBRCAAAABGFAAAAEFEIAAAAEYUAAAAQUQgAAAARhQAAABBRCAAAABGFAAAAEFEIAAAAEYUAAAAQUQgAAAARhQAAABBRCAAAABGFAAAAEFEIAAAAEYUAAAAQUQgAAAARhQAAABBRCAAAABGFAAAAEFEIAAAAEYUAAAAQUQgAAAARhQAAABBRCAAAABGFAAAAEFEIAAAAEYUAAAAQUQgAAAARhQAAABBRCAAAABGFAAAAEFEIAAAAEYUAAAAQUQgAAAARhQAAABBRCAAAABGFAAAAEFEIAAAAEYUAAAAQUQgAAAARhQAAABBRCAAAABGFAAAAEFEIAAAAEYUAAAAQUQgAAAARhQAAABBRCAAAABGFAAAAEFEIAAAAEYUAAAAQUQgAAAARhQAAABBRCAAAABGFAAAAEFEIAAAAEYUAAAAQUQgAAAARhQAAABBRCAAAABGFAAAAEFEIAAAAEYUAAAAQUQgAAAARhQAAABBRCAAAABGFAAAAEFEIAAAAEYUAAAAQUQgAAAARhQAAABBRCAAAABGFAAAAEFEIAAAAEYUAAAAQUQgAAAARhQAAABBRCAAAABGFAAAAEFEIAAAAEYUAAAAQUQgAAAARhQAAABBRCAAAABGFAAAAEFEIAAAAEYUAAAAQUQgAAAARhQAAABBRCAAAABGFAAAAEFEIAAAAEYUAAAAQUQgAAAARhQAAABBRCAAAABGFAAAAEFEIAAAAEYUAAAAQUQgAAAARhQAAABBRCAAAABGFAAAAEFEIAAAAEYUAAAAQUQgAAAARhQAAABBRCAAAABGFAAAAEFEIAAAAEYUAAAAQUQgAAAARhQAAABBRCAAAABGFAAAAkPT/xQR8E7ejNGUAAAAASUVORK5CYII=[/img]

    FATFS 电脑 读写 国产芯片 单片机 MUC

    2596浏览量 2回复量 关注量
  • GD32H7移植FatFs读写SD卡,电脑上看不到文件

    通过H7往SD卡写入txt文件,使用读卡器在电脑上看不到该文件,但是在H7上始终可以读取文件,并且也可以查看文件信息;同理,在电脑上创建的文件,在H7上也无法搜索和查看到。不知道是什么原因。

    移植 读写 GD32H7 FATFS GD32

    1152浏览量 1回复量 关注量
  • GD32E503VEt6可以进**读写但是无法挂载FATFS

    我一开始用的是最新版的0.14文件系统,发现不行,f-mount挂载不了报13错误,然后换了低版本报12错误,总之挂载不了,请问下官方有没有demo。还有个问题,本来打算用GD32E503做USB读卡器这种,发现不支持USBHS和USBFS,有没有解决方案。

    GD32 FATFS 读写 US USB

    1071浏览量 1回复量 关注量
  • 利用usb模拟U盘,读取不到利用FATFS创建的文本 sos

    请教:利用FATFS在SD卡里创建了一个111.TXT文件,然后我利用USB MSC模拟优盘功能,SD作为存储介质, 链接到电脑上后能看到U盘,也可以创建文本,但是找不到111.TXT这个文本,这是什么情况啊?谢谢大家,帮忙分析一下。 单片机GD32F103VC,利用的GD的USB库,版本是V3.0.3

    FATFS USB 模拟U盘 sd gd32F103 BMS

    3121浏览量 0回复量 关注量
  • FATFS32使用flseek问题 sos

    [size=2]请问[/size][b]FATFS32[/b]使用[b][size=4]flseek[/size]函数[/b],往[b][size=4]SD卡[/size][/b]中一个已存在的文件中[size=4][b]添加数据[/b][/size]时,添加的数据和原本数据[size=4][b]是在同一个扇区吗?[/b][/size],还是会另寻一个空闲扇区存储新增数据。(SD卡一个扇区512字节,假设原数据小于512字节,且加上新增数据后也不超过512字节) (用的STM32F103,虽然应该和平台无关)

    FATFS se sd SD卡 STM32 STM32F

    3387浏览量 0回复量 关注量