
Appendix E: Formattig Flash and SRAM
Page E5
E
E
Format the flash memory in slot 0 using the system files and the boot block file
BB6.00
from directory
D:\
and copy all files from
C:\FLASH
. Note that you cannot
simply copy a file to a flash disk. You must use
XFORMAT
to erase, format, and
copy the contents of a directory to the flash disk.
Unless the
/F
option is selected,
XFORMAT
automatically determines the amount of
available space on your EPC. It also calculates the amount of space needed for the
files to be copied, and aborts without erasing the flash memory if there is insufficient
space.
After formatting flash memory, expect to see only about 90% of that total available
for storage space. For example, 2 Mbytes of unformatted flash will convert to about
1.8 Mbytes available.
XFORMAT
aborts if the source device (for either the file copy or for the system
files) is the same flash being formatted.
Since the flash memory is represented to DOS as a fixed (non-removable) disk, DOS
may have buffered data from the flash memory's files prior to its being formatted. As
a result, you should reboot your system prior to accessing files in a newly formatted
flash system.
SRAM Disk Device Driver
When installing an SRAM drive, make sure you run
XFORMAT
on the drive
before
running the
SRAMDISK.SYS
driver. The driver will not recognize the SRAM disk
until it has been formatted using
XFORMAT
.
The SRAM driver
SRAMDISK.SYS
allows use of the SRAM as a disk, usually E:
after using an IDE disk for C: and flash as D:. The SRAM disk is not bootable.
When
SRAMDISK.SYS
is loaded, it will check the status of the battery voltage. If
the battery voltage is above 2.5V, the driver will load. If the battery voltage is below
2.5V, an error message displays for a few seconds before continuing.
To load the
SRAMDISK.SYS
driver, edit the
CONFIG.SYS
file and insert the
following line:
DEVICE=[path]SRAMDISK.SYS
/[slot]
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com