CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

write small sound files to MMC card

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
harrie215



Joined: 15 Apr 2005
Posts: 6
Location: Netherlands

View user's profile Send private message Send e-mail Visit poster's website

write small sound files to MMC card
PostPosted: Tue Feb 24, 2009 1:56 pm     Reply with quote

I use a 18f8720 at 6Mhz and the latest compiler from version 3 (3.249?)
Sofar I have a LCD and I can write and read blocks(512byte) to and from MMC card(32MB). Serial to pc(38400baud) is also set up.

I need to write small soundfiles few seconds each (mp3,wav) on the MMC card, through serial pc connection.

Do I need fat16/32?
I assume wav will be easier later on when sending data to the Futurlec.com mini mp3 from ETT?

Any links or ideas to proceed?
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Wed Feb 25, 2009 12:16 am     Reply with quote

You do not need to use FAT16 or FAT32 unless you want to be able to remove the card and have it read by a PC. You will however have to manage your own file structures.

You might find it quicker and easier to use a FAT rather than reinvent the wheel. If you are interested check out the file systems on my site.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group