Packaging – Sundance SMT387-FS User Manual
Page 6
Packaging
The software is provided as the following files:
• Smt387fs.h contains the API definitions as described in the User Guide, and must be
#included into user applications.
• Smt387fs.lib is the library containing the code implementing the file system
functionality, and must be linked into user applications.
• Blockman.mod is a required kernel extension module. It must be visible to the
Diamond configurer, either by being placed in the same directory as your user
application or in the Diamond modules directory,\3L\Diamond\C6000\modules.
• Smt387show.app is an application you can run using the Diamond Windows Server.
When run, it first displays each drive and each FAT partition. After this it attempts to
mount all partitions in the same way an application using the library would do, so that
any problems in this process can be diagnosed. Finally, the files in the root directory
of each volume are listed.
In addition, a demonstration program is supplied as demo_create.c. You can build an
application from this file using the supplied make_demo.bat command file. This
demonstration program creates two files on the first detected FAT32 file system; one file is
empty, the second is roughly 172MB in size containing a repeated pattern.
Page 6