HCFiler - An efficient embedded SDHC FileSystem
Posted: 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:
ReadMe.htm
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 and Windows Setup file is available to registered users of CPIde, the Component Pascal IDE, by emailing support at astrobe.com.
ReadMe.htm
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 and Windows Setup file is available to registered users of CPIde, the Component Pascal IDE, by emailing support at astrobe.com.