HCFiler - the efficient embedded filesystem for SDHC cards announced recently in the Astrobe for RISC5 forum is now available for v6.2 Astrobe for Cortex-M3 targets. The total compiled code size of the 3 HCFiler modules is only 4 KBytes. It has been tested on the LPCXpresso LPC1769 and mbed LPC1768 boards and can be downloaded from the following links:

HCFiler.LPC1769.zipA copy of the HCFiler modules for the LPC1768/69 which have been tested on the LPCXpresso LPC1769 and mbed LPC1768 boards. Also included is a new version of SPI.mod which is required. It differs slightly from the v6.2 Astrobe Library version.

There are two example modules included in the LPC1769 zip file which illustrate how the HCFile modules can be used.

1. HCTest.modYou 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. HCReadSpeedHCReadSpeed checks to see if there is an HCFiler filesystem on the SDHC card. If there is 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 the same tools we use to develop Astrobe i.e. C# and GPCP (the .NET version of Oberon) using Visual Studio and the Astrobe sibling, CPIde. The full source code is available to registered users of v3.4 of CPIde by emailing support at cfbsoftware.com.