HCFiler - An efficient embedded SDHC FileSystem

Download pre-release library modules and new examples to use with Astrobe for Cortex-M. Forum members can also upload their own source code examples.
Site Admin
Posts: 507
Joined: Fri Dec 31, 2010 12:30 pm

HCFiler - An efficient embedded SDHC FileSystem

Post by cfbsoftware » Sun Aug 27, 2017 12:11 am

The source code for HCFiler - the efficient embedded filesystem for SDHC cards, announced in the Astrobe for RISC5 forum, is now included with Astrobe for Cortex-M3, M4 and M7 as well as RISC5. The total compiled code size of the 3 HCFiler modules is only 4 KBytes. For more information see:


There are two example modules included with Astrobe which illustrate how the HCFiler modules can be used.

1. HCTest.mod
You will need an 8GB SDHC card that is newly formatted. HCTest creates an HCFiler filesystem on the card and generates 10 text files of increasing sizes and one binary file and writes them to the disk. It then displays a directory listing of the disk. You should then be able to use HCFiler for Windows to copy the files to a PC.

2. HCReadSpeed
HCReadSpeed checks to see if there is an HCFiler filesystem on the SDHC card. If there is, it reads 1024 sectors from the card and displays the time taken to read them. It should take a few seconds to run.

HCFiler for Windows was developed using C# and GPCP (the .NET version of Oberon). The full source code is available to registered users of CPIde, the Component Pascal IDE, by emailing support at cfbsoftware.com.
Last edited by cfbsoftware on Fri Jul 26, 2019 12:00 pm, edited 4 times in total.