MOD54415 External SD card F_ERR_NOT_FORMATTED
Posted: Thu Oct 29, 2020 7:02 am
I've been trying to to get the external (offboard) SD card working with my MOD54415 and I was having some trouble, so I've eliminated as many variables as possible and this is what I've got.
I have installed a fresh copy of the development tools 2.9.3 and I'm only using the example programs MOD5441X/EFFS-MULTIPLE-MMC and StandardStack/EFFS/EFFS-Performance. These were tested on a MOD54415 in a MOD-DEV-70 board.
The Multiple MMC example is able to read the onboard SD card just fine, but the offboard one shows up as not formatted.
I know the SD card is formatted because I can read it fine on my computer and also in an old MOD5282 application I had laying around.
So I loaded up the Performance example to try to format the card anyways and the format call returns "invalid sector".
Am I missing something obvious here?
I have installed a fresh copy of the development tools 2.9.3 and I'm only using the example programs MOD5441X/EFFS-MULTIPLE-MMC and StandardStack/EFFS/EFFS-Performance. These were tested on a MOD54415 in a MOD-DEV-70 board.
The Multiple MMC example is able to read the onboard SD card just fine, but the offboard one shows up as not formatted.
Code: Select all
***************Off board flash
FAT mount to failed: F_ERR_NOTFORMATTED
drive change failed: F_ERR_INVALIDDRIVE
Unmounting card
*** Error in f_delvolume(): F_ERR_INVALIDDRIVE
So I loaded up the Performance example to try to format the card anyways and the format call returns "invalid sector".
Code: Select all
NNDK Revision: Rel_2.9.3
Mounting drive 0 in MULTI_MMC mode
FAT mount to SD/MMC failed: F_ERR_NOTFORMATTED
Retrieving external flash usage...
*** Error in f_getfreepace(): F_ERR_INVALIDDRIVE
---------------------------------
B - Create a single file
C - Create files test (1000 files)
D - Delete all files
L - List files
F - Format drive (takes a long time)
R - Read speed (1000000 bytes)
S - Drive statistics
W - Write speed (1000000 bytes)
f
Formatting SD/MMC card
*** Error in f_format(): F_ERR_INVALIDSECTOR