下载文件并将其保存到SD卡。工作了好几个月,现在它正在堆砌SD卡 [英] Downloading a file and saving it to SD Card. Worked for months, now it is bricking SD Cards

查看:76
本文介绍了下载文件并将其保存到SD卡。工作了好几个月,现在它正在堆砌SD卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,几个月来,在开发这个我一直在努力的应用程序的同时,我已经能够通过我的应用程序成功下载文件(通常是几个mbs)并将它们直接保存到SD卡。
/>现在,从上周一开始,当我使用完全相同的进程/代码下载这些文件时,文件似乎按原样下载,但是一旦下载完成,就不会下载完整文件并且根目录下载SD卡上有一个EncFiltLog.menc文件。我对SD卡上的文件进行了加密关闭。

我今天早上用全新的2 gb microSD卡进行了测试。下载一个文件,显示上述行为。我现在不能再读/写或格式化microSD卡了。

So, for months, while Developing this application I have been working on, I have been able to successfully download files (usually serveral mbs each) through my application and save them directly to the SD card.

Now, as of this past monday, when I use the exact same process/code to download these files, the files appear to download as they have been but once the download is complete the full file is not downloaded and in the root of the SD card there is an EncFiltLog.menc file on the card.  I have encryption for files on SD cards turned OFF.

I tested with a brand new 2 gb microSD card this morning.  Downloaded one file, and the above behavior is shown.  I can now no longer read/write or format the microSD card.

推荐答案

你用什么大的缓冲区写入SD卡? 256B? 512B? 64kB? 128kB? 256kB +?
How big buffer do You use to write to a SD card? 256B ? 512B ? 64kB ? 128kB ? 256kB+ ?
你可以在这张卡片上写任何东西(从文件浏览器复制标准文件)吗?
Can You write anything into this card (copying a standard file from file explorer) ?


这篇关于下载文件并将其保存到SD卡。工作了好几个月,现在它正在堆砌SD卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆