Write/Read on SD Card without filesystem (Raw Data)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Write/Read on SD Card without filesystem (Raw Data)

2,685 Views
juancamilomonto
Contributor I

Hello,

Im looking for a project to write and read data on an SD Card without using FatFs, only raw data.

I need to write some information and later read it to show it using UART.

thanks a lot.

Juan Camilo Montoya

0 Kudos
1 Reply

1,144 Views
mjbcswitzerland
Specialist V

Hello

Any file system implementation will be based on a driver interface (for SDHC or SPI) that reads and writes SD card sectors (512 bytes in size).

This means that you can take any such implementation and directly call these sector read and write routines to read or write the (raw) sectors.

If you load any of the references at µTasker Kinetis support containing the SD card interface (ufFAT2.0) there is also a direct sector interface that can be accessed in the disk drive menu "sect" allows a sector to be read and "sectw" allows a sector to be written.

Regards

Mark

Kinetis: µTasker Kinetis support

utFAT2.0: http://www.utasker.com/docs/uTasker/uTasker_utFAT.PDF

For the complete "out-of-the-box" Kinetis experience and faster time to market

0 Kudos