Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

How to Create a folder on SD card in FAT32 system using Microcontroller

Status
Not open for further replies.

ravi1488

Member level 3
Joined
Apr 21, 2010
Messages
60
Helped
5
Reputation
10
Reaction score
5
Trophy points
1,288
Location
India
Activity points
1,656
Hi ,

How to create a folder on SD card using Microcontroller ? I have implemented a FAT32 system on my SD card. I can do normal read/write operations. Also I am able to create normal .txt, .xls files etc. But how I can create a folder?

- - - Updated - - -

I am using ATmega32 at 16 MHz speed
 

Joined
Dec 4, 2012
Messages
4,294
Helped
822
Reputation
1,654
Reaction score
793
Trophy points
1,393
Location
Bangalore, India
Activity points
0
Post your code. Which compiler are you using? Are you using any libraries for SC card code. If yes, there will be functions for directory creation like f_mkdir(), etc...
 

ravi1488

Member level 3
Joined
Apr 21, 2010
Messages
60
Helped
5
Reputation
10
Reaction score
5
Trophy points
1,288
Location
India
Activity points
1,656
I dont have any function to make directory. Yes but I have a function to write a file which creates file if required.
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
47,861
Helped
14,119
Reputation
28,495
Reaction score
12,800
Trophy points
1,393
Location
Bochum, Germany
Activity points
277,790
Two options:
- use a FAT32 library that includes subdirectory managment
- make your own library functions, referring to the FAT32 specification downloadable from Microssoft
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top