Editing MMC Card Reader Development

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 7: Line 7:
 
==Development Roadmap==
 
==Development Roadmap==
 
===Phase 1===
 
===Phase 1===
*Create fatfs wrapper for file system in freertos_posix
+
*Create stdio.h wrapper for file system in freertos_posix
*Use existing I2C EEPROM driver for development purpose
+
*Use existing I2C EEPROM driver for development
 
===Phase 2===
 
===Phase 2===
 
*Circuit design for interfacing MMC
 
*Circuit design for interfacing MMC
Line 26: Line 26:
 
==Software Implementation==
 
==Software Implementation==
 
*Use [http://elm-chan.org/fsw/ff/00index_e.html FatFs] for accessing FAT16 file system.  
 
*Use [http://elm-chan.org/fsw/ff/00index_e.html FatFs] for accessing FAT16 file system.  
*Create a FatFs Wrapper in [http://chungyan5.no-ip.org/vc/?root=freertos_posix freertos_posix] as an intermediate layer to map API in stdio.h to API in FatFs, for example:
+
*Create a stdio.h wrapper for [http://chungyan5.no-ip.org/vc/?root=freertos_posix freertos_posix]
  +--------------------------------------------+
 
  | POSIX              fopen()                |
 
  |                      |                    |
 
  |                      \|/                  |
 
  |                    open()                |
 
  |                      |                    |
 
  |                      \|/                  |
 
  +--------------------------------------------+
 
  | FatFs Wrapper    fatfs_open()              |
 
  |                      |                    |
 
  |                      \|/                  |
 
  +--------------------------------------------+
 
  | FatFs              f_open()                |
 
  |                      |                    |
 
  |                      \|/                  |
 
  |                disk_initialize()          |
 
  |                      |                    |
 
  |                      \|/                  |
 
  +--------------------------------------------+
 
  | EEPROM        i2c_eeprom_open()          |
 
  +--------------------------------------------+
 
  
 
+
===Comparison of FatFs and stdio API===
===Comparison of stdio and FatFs API===
+
*selected list is described below
*selected list for concern
 
 
{| border="1" cellspacing="0" cellpadding="5"
 
{| border="1" cellspacing="0" cellpadding="5"
 +
|+ Comparison between FatFs and stdio API
 
! Function !! stdio.h !! FatFs !! Remarks
 
! Function !! stdio.h !! FatFs !! Remarks
 
|-  
 
|-  

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)