/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / FAT system and SD Card, ARM STM32F103RBT

Username:     
Password:     
             

Forum

# 1   2009-01-23 18:18:17 FAT system and SD Card, ARM STM32F103RBT

Vinicius
New member
Registered: 2009-01-14
Posts: 2

FAT system and SD Card, ARM STM32F103RBT

Hello,
I`m using ARM STM32F103RBT6. I`m able to record and read data in SD Card with a raw format(Using simple SPI).
But I have to use the FAT system because after recorded the card will be read on a PC.
Anyone have any library, documentation or example using FAT to help me?
*I already tried the DOS and EFLS exemples from ST forum and both didn`t work, go to a HardFault Exepition interrupt.

Thanks,
Vinícius

Offline

 

# 2   2009-01-26 13:30:23 FAT system and SD Card, ARM STM32F103RBT

FR4
Member
Registered: 2008-11-09
Posts: 26

Re: FAT system and SD Card, ARM STM32F103RBT

Offline

 

# 3   2009-02-10 16:10:20 FAT system and SD Card, ARM STM32F103RBT

klausi
New member
From: Germany Hannover
Registered: 2008-04-04
Posts: 5
Website

Re: FAT system and SD Card, ARM STM32F103RBT

Hi,

with several sources for AVR and STM32 I've got a solution for reading and writing FAT32 compatible file system with STM32 modified PRIMER I.

The FAT-File-System is able in A3670.zip written for AVR-controller. The sources are usable under GNU public licence and some changes are nesesaray.

The below address is not longer working but the zip file is available.
http://www.circuitcellar.com/avr2004/wentries/A3670.zip

read.pudn.com/downloads40/sourcecode/windows/vxd/139966/A3670/firmware V1.00/main.c__.htm
- this link is not zip but the source code from the main.c that demonstrates the capability of the FAT-system.

The SPI-drivers (STM32) for MMC/SD-Card was written by Frank Goetze  -  www.embedded-os.de  and the rights for using the sources must be cleared by them.

USART1 was used to communicate with PRIMER via hterm or similar terminalprograms using a XPORT and com port redirection.

A subset of current commands are possible eg. md, cd, del, copy, creating files and write to it, hd_info, cluster dumps etc.. The tested SD-card has a capacity about 1 GB, only working on normal SD-format not on SD-HC.


Greetings from Hannover- Klausi

Offline

 

# 4   2009-02-10 18:10:15 FAT system and SD Card, ARM STM32F103RBT

sjoerd
Member
From: Stad aan het Haringvliet
Registered: 2008-09-04
Posts: 65

Re: FAT system and SD Card, ARM STM32F103RBT

You can also use DosFS (which is currently part of CircleOs) and use the MMCSD over SPI implementation from the ST STM32 example library.

Offline

 

# 5   2011-12-10 15:40:32 FAT system and SD Card, ARM STM32F103RBT

imran_sit
New member
Registered: 2011-12-10
Posts: 2

Re: FAT system and SD Card, ARM STM32F103RBT

i need code of interfacing of stm32f103rbt6 with sd card with spi can send me the code at imran_sit@yahoo.com

Offline

 

Board footer