View previous topic :: View next topic |
Author |
Message |
Massimo
Joined: 02 Mar 2008 Posts: 1
|
MMC FAT Only Read |
Posted: Sun Mar 02, 2008 2:17 pm |
|
|
I have read that it's possible to use the MMC with the PIC, but the problem is the FAT, you can write a file (eg 10kb) with the PC on MMC and read it sequentially from the pic byte per byte? Or it must to use the 512b blocks ? |
|
|
Douglas Kennedy
Joined: 07 Sep 2003 Posts: 755 Location: Florida
|
|
Posted: Sun Mar 02, 2008 8:40 pm |
|
|
The requirement of a 512 block size only applies to write. |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1634 Location: Perth, Australia
|
|
Posted: Sun Mar 02, 2008 10:36 pm |
|
|
It also applies to the new high density SD/MMC cards for read. _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
Last edited by asmallri on Tue Mar 04, 2008 7:40 am; edited 1 time in total |
|
|
Pret
Joined: 18 Jul 2006 Posts: 92 Location: Iasi, Romania
|
|
Posted: Mon Mar 03, 2008 12:42 am |
|
|
The answer is Yes. Most FAT drivers can access files at byte level, even though the driver is using 512byte sized buffer. But of course, your PIC must have around 1k RAM, with FAT driver, MMM/SD driver, and your application... |
|
|
Guest
|
|
Posted: Mon Mar 03, 2008 3:34 am |
|
|
Douglas Kennedy wrote: | The requirement of a 512 block size only applies to write. |
You know how I can locate the file? |
|
|
Pret
Joined: 18 Jul 2006 Posts: 92 Location: Iasi, Romania
|
|
Posted: Tue Mar 04, 2008 2:16 am |
|
|
Anonymous wrote: | You know how I can locate the file? |
Using any FAT driver.... |
|
|
|