Offering MEGA solutions for the embedded micro world.

Add SD in a Flash!
with our
Flash Card Library.

 

Products

services

Contact Us

 

Replaced by our SD-CHIP        Coming Soon !!!

The New IC handles reading and writing to SD/MMC cards as well as supporting both Fat 16 and fat 32. This removes the burden from the host CPU and allows easy communication through RS232, SPI, I2C and  the end result will be much faster card access as well as much less code space being used  on your host CPU..  The host CPU Library will include all of the API functions supported by the SFCLIB (see below) as well as a complete boot loader with full sources for using the chip to load new code into your hardware. Do you have more than one CPU on your board? No problem. The SD-Chip can support multiple hosts each with multiple files open.

 More information coming soon

Please send us an email if you would like to be placed on a list to receive advanced information about this NEW product. Please place SD-CHIP in the subject at support@ecs87.com

SFCLIB Serial Flash Card Library

The SFCLIB Serial Flash Card Library is the easy way to add PC-compatible flash storage - both SD (Secure Digital) and MMC (Multimedia Card) - to your microcontroller based applications.

 

SFCLIB Features:
• Supports SD, miniSD, TransFlash, MMC, RS-MMC and many more flash based cards.
• Handles PC FAT 16/32, DOS and Windows files with short file names.
• Opens multiple files for reading/writing.
• Supports multiple file random access.
• Allows low-cost microcontrollers to access Gigabytes of flash storage space.
• Many software examples are included - some for simple access, and one example with an RS232 terminal interface allowing a demo of all SFCLIB features.
• PIC-based development boards are available that allow you to run all the included demos and sample programs. (click here for more info)
• Socket adapter boards are also available to make adding a flash card to your current project quick and easy. (click here for more info)

The SFCLIB enables you to read and write PC-compatible files on 22 different flash card form factors without having to know the “nuts and bolts” of either FAT file systems or the flash card interfaces. Flash card access can be added with as few as four I/O pins. Depending on the card type, additional pins may be used to support write protect, card insert, etc…

The sources are in ‘C’ and include both the SFC library and all demo applications. The demos illustrate how to use the SFCLIB for both simple and more complex programs and applications.

The SFCLIB and all example projects come ready to run using Microchip's MPLAB IDE and the HI-TECH PICC-18 compiler. (Minimal changes may be required to use other ANSI C compilers.)

SFCLIB Functions:
SFC_clearerr – Clears the file error flags
SFC_fclose – Closes a file when you are done
SFC_feof – Returns the 'End Of File' flag
SFC_ferror – Returns the error status of a file.
SFC_fflush – Forces internal buffers to be written to the file
SFC_fgetc – Gets a single character from a file
SFC_fbgetc – Buffered version of SFC_fgetc
SFC_fopen – Opens a file for read/write/append
SFC_fputc – Writes a single character to a file
SFC_fputs – Writes a string to a file
SFC_fputcs – Writes a constant string to a file
SFC_fseek – Sets the position pointer within a file
SFC_ftell – Gets current position within a file
SFC_Copy – Copies the source file to the destination file
SFC_GetFileCount – Returns the number of files
SFC_GetFileName – Returns directory entries
SFC_GetFileSize – Returns the size of an open file
SFC_InitCard – Initializes an SD/MMC card
SFC_Present – Returns a value to indicate if a card is in the socket
SFC_Remove – Deletes the named file
SFC_Rename – Changes the name of a file
SFC_Start – Loads and starts the SD Library
SFC_Stop – Stops and unloads the SD Library
SFC_WriteProtect – Indicates the position of the cards write protect tab

New Functions for V2.0:
SFC_cd – Changes the working directory
SFC_md – Makes a new subdirectory (with optional path)
SFC_maketree – Makes a subdirectory tree using the supplied path
SFC_rd – Removes a subdirectory (with optional path)
SFC_GetSubdirCount – Returns the number of subdirectories
SFC_GetSubdirName – Returns a pointer to the subdirectory string.

The SFCLIB Serial Flash Card Library comes on a single CD and includes all "C" Sources many examples Users manual. as well as schematics and boms for both the Demo Board and the SD adaptor board (Boards Sold seperately see links below.) 
Here is a more complete list of what is on the CD.

SFCLIB-PIC CD:
• SFCLIB-PIC  - This is the root directory for all of the files included on the SFCLIB CD.
• README.TXT - This file contains information on recent updates and bug fixes.
• LICENSE AGREEMENT.TXT - This file contains the license agreement for the SFCLIB.
• DEMO -
    DEMO PROJECT - This directory contains the entire DEMO PIC project.
    DEMO FLASH FILES - This directory contains the sample files found on the SD card included with the optional development board. They may be copied to the root directories of other cards for testing.
• EXAMPLES - This directory contains all the example PIC projects.
• DOCUMENTS - This directory contains PDF files for the user’s manual, schematics, bill of materials, and other documentation.
• HYPERTERM SETUP FILES - This directory contains HyperTerm setup files for COM ports 1-4. • SOURCES - This directory contains all the 'C' source code files for SFCLIB.

Have more Questions Check here FAQ.html or email Us at support@ecs87.com
 

NOTE 1: The SFCLIB has been written for the PIC microcontroller However the code has been designed to port very easily to other Micros and C Compilers. The Entire SFCLIB is written in “C” and the Full C Sources are included in most cases customers have been able to port the SFCLIB to a targeted microcontroller in about 3 – 5 days. If you would prefer to have us port the Library over to a specific Micro or Compiler for you Please contact us for a an estimate at Info@ecs87.com

NOTE 2:  The SFCLIB is Licensed per Seat meaning one License for each person working in anyway with a software project that contains the SFCLIB or any version of the SFCLIB. The License also Grants the Seat holder the right to Sell products that contain Compiled version of the SFCLIB  in their products(Restrictions apply see License aggreenent for details). When a company purchases the License the Company Must assign the License Seat to someone within the company if that person leaves the company or changes position within the company the licensed seat stays with the Company and the company can reassign the Seat to a different person within the company by making the Request to support@ecs87.com with “ license seat assignment change” in the subject of the email along with your  license Number. And the old and new seat holder. (There is a small admin Fee)  

Please read the license agreement for more details.
Click here for the SFCLIBLicense Agreement).


Related Links

The SFCLIB includes software only You can use this software on your own hardware, or you may also want to use it with one of our Development boards or Adapter boards to get you up and running more quickly.

Development Board: A development board capable of running the demos and examples is available separately.  This board comes with a PIC microcontroller pre-programmed with the DEMO1 application.  You can use this board and demo to see how all the library functions work, but the board does not include the SFCLIB sources.

Adapter Board: Adapter boards are also available separately, making it quick and easy to add an SD/MMC socket to any existing design. You will also need to purchase a copy of the SFCLIB CD.

SFCLIB User's Manual (v2.00) The SFCLIB User's Manual is available for downloading in PDF format so you can learn about all the capabilities of the library.

License Agreement: Read the SFCLIB software full license agreement.

 

 

603-776-3151 • info@ecs87.com
5 Emerson Drive Center Barnstead, NH 03225

 

bar