This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I bought a MSP-EXP430FR5994 LaunchPad which is running fine in Live Temp, and FRAM log modes from the GUI. But can't get it running in SDCard log mode.
Assume it can use FAT32 formatted 32GB & 64GB SanDisk microSD cards. Can it run FAT16 microSD cards? Sounds like you have to run it like running FRAM Log mode. Power up LP and press S1 + S2 twice to get into mode 3 SDCard, connect GUI and start SDCard mode from GUI, I see 3 flashes on the Red LED, run for a short time, press S2 to stop, reconnect GUI and load SDCard data. But GUI says there is no data to load. Viewing card from Win also shows no additional data.
What am I missing?
Hi Ted,
Are you populating the R7 and R5 resistors?
I checked the FatFs folder and the ff.h file. Looks like there is the FS_FAT32 under subtype so we should support the format. FS_FAT16 and FS_FAT12 are also included there.
You enter and exit SDCard Mode the same way as FRAM.
Which type are you specifically trying to use or do you want to test different ones?
Regards,
Luke
Thanks Luke,
No, I don't have R5 and R7 populated, so could definitely be a problem. I'll have to see if I have any of these SMD's in stock in the right size and value. If not, I'll try using the internal pullup for R7 (P7.2 Card Detect). And it sounds like R5 (P4.0 CS) is only needed at MCU startup, which I will be well beyond, so will try without it.
The only MicroSD cards I have here now are 32 & 64 GB SanDisks which have worked in some cameras. Any recommendations for a specific brand or capacity that are more forgiving to use?
Do you know what size these SMD resistors are, they look like 0402?
Ted
Do those cards really have FAT32? Those giant capacities are really wasted in an embedded application like this and it would be nice if they kept making the smaller ones. Easier to deal with in some ways and less likely to have exFAT.
You really need to narrow down where the failure is occuring. Probably not in the SD initialization but more likely in the FAT code. Step through it with the debugger and see where it runs into trouble. Then you can figure out what to do.
**Attention** This is a public forum