Thank u for the reply.
I formatted it in windows machine . It is fat32. it is 2 gb sandisk microsd. i partitioned it into two.
Sorry, I didn't see ur previous reply.
Search found 7 matches
- Mon Jun 10, 2013 9:52 pm
- Forum: STM32 Support
- Topic: stm32f4 discovery fatfs problem
- Replies: 31
- Views: 28752
- Mon Jun 10, 2013 4:25 pm
- Forum: STM32 Support
- Topic: stm32f4 discovery fatfs problem
- Replies: 31
- Views: 28752
Re: stm32f4 discovery fatfs problem
Any hekp please?
- Sat Jun 08, 2013 4:01 am
- Forum: STM32 Support
- Topic: stm32f4 discovery fatfs problem
- Replies: 31
- Views: 28752
Re: stm32f4 discovery fatfs problem
I tried other cards but they dont even mount the card. When I debug the function (which gives me error), I released that I get:
FR_NO_FILESYSTEM, /* (13) There is no valid FAT volume on the physical drive */
error.
/*static*/
FRESULT chk_mounted ( /* FR_OK(0): successful, !=0: any error ...
FR_NO_FILESYSTEM, /* (13) There is no valid FAT volume on the physical drive */
error.
/*static*/
FRESULT chk_mounted ( /* FR_OK(0): successful, !=0: any error ...
- Thu Jun 06, 2013 3:03 am
- Forum: STM32 Support
- Topic: stm32f4 discovery fatfs problem
- Replies: 31
- Views: 28752
Re: stm32f4 discovery fatfs problem
I have Sandisk microsd card. It gives me error in ff.c file. chk_mounted :which checks if the file system object is valid or not. it cannot verify...
- Wed Jun 05, 2013 1:22 pm
- Forum: STM32 Support
- Topic: stm32f4 discovery fatfs problem
- Replies: 31
- Views: 28752
Re: stm32f4 discovery fatfs problem
static void cmd_tree(BaseChannel *chp, int argc, char *argv[]) {
FRESULT err;
uint32_t clusters;
FATFS *fsp;
(void)argv;
if (argc > 0) {
chprintf(chp, "Usage: tree\r\n");
return;
}
if (!fs_ready) {
chprintf(chp, "File System not mounted\r\n");
return;
}
err = f_getfree ...
- Wed Jun 05, 2013 3:01 am
- Forum: STM32 Support
- Topic: stm32f4 discovery fatfs problem
- Replies: 31
- Views: 28752
Re: stm32f4 discovery fatfs problem
Hi,
I am using stm32f407-DISCOVERY board (VGT6) . I use arm-none-abi-gcc toolchain. I use a demo application in ChibiOS. I added the fatfs library to the demo example. I use SPI communication. (PA 5-6-7 and PC4 as chip select). I change the halconf.h file to support MMC-SPI.
Thank you!
I am using stm32f407-DISCOVERY board (VGT6) . I use arm-none-abi-gcc toolchain. I use a demo application in ChibiOS. I added the fatfs library to the demo example. I use SPI communication. (PA 5-6-7 and PC4 as chip select). I change the halconf.h file to support MMC-SPI.
Thank you!
- Mon Jun 03, 2013 12:08 pm
- Forum: STM32 Support
- Topic: stm32f4 discovery fatfs problem
- Replies: 31
- Views: 28752
stm32f4 discovery fatfs problem
Hello,
I am trying to use my microsd card with stm32f4-DISCOVERY board. I can mount the sd card but I get "f_getfree failed" error, when I try to read something from the sd card. I am using ChibiOS 2.4.3 . I programmed the card as fat32.
Thank you,
I am trying to use my microsd card with stm32f4-DISCOVERY board. I can mount the sd card but I get "f_getfree failed" error, when I try to read something from the sd card. I am using ChibiOS 2.4.3 . I programmed the card as fat32.
Thank you,