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
 

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...
 
I am using AVR studio AVR-GCC compiler.
 

I dont have any function to make directory. Yes but I have a function to write a file which creates file if required.
 

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.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…