Questions tagged «fat»

3
FSInit()-“ CE_BAD_PARTITION” [关闭]
关闭。这个问题是题外话。它当前不接受答案。 想改善这个问题吗? 更新问题,使其成为电气工程堆栈交换的主题。 9个月前关闭。 我正在使用PIC18F26K80和XC8编译器。我正在尝试初始化SD卡并创建文件。我已经简单地格式化了Windows上的SD卡,使其具有“ FAT32”文件系统和512字节的“分配单元大小”。SD卡的容量为2GB。我正在使用MLA旧版中的MDD库。我的主要内容如下: FSFILE * file; char sendBuffer[22] = "This is test string 1"; //************************************************** // main function //************************************************** int main() { initIO(); LATBbits.LATB0 = 0; // Initialise SPI and SD-card while ( !MDD_MediaDetect() ); // Initialize the device while ( !FSInit() ); // Initialize #ifdef ALLOW_WRITES …
9 pic  spi  sd  fat 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.