Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: TI-RTOS SDSPI FATFS MSP430F5338

$
0
0

Hi Channabasappa,

I was only able to run the MSP430F5529 example for the launchpad and it shows that it correctly reads the 8GB SDHC. I've attached a modified fatsd_raw example that prints out the total drive size and free disk space of the SDCard. If you start with an empty SD card, you should see the disk usage printed before and after the files are created. The amount that it differs depends on how be the cluster size is. For example, this card was formatted with 4096 bytes, so 2 files would amount up to 8kB.

Starting the FatSD Raw example
System provider is set to SysMin. Halt the target to view any SysMin contents in ROV.
Drive 0 is mounted
Total Disk size: 7741440 KiB
Free Disk space: 7741436 KiB
Creating a new file "0:input.txt"...done
Starting file copy
File "0:input.txt" (576 B) copied to "0:output.txt" (Wrote 576 B)
***********************************************************************
0 1 2 3 4 5 6 7
01234567890123456789012345678901234567890123456789012345678901234567890
This is some text to be inserted into the inputfile if there isn't
already an existing file located on the SDCard.
If an inputfile already exists, or if the file was already once
generated, then the inputfile will NOT be modified.
***********************************************************************
Total Disk size: 7741440 KiB
Free Disk space: 7741428 KiB
Drive 0 unmounted

Can you try the attached CCS project on your MSP430F5529 launchpad with the SDCard boosterpack?

(Please visit the site to view this file)


Viewing all articles
Browse latest Browse all 25965

Trending Articles