1 96-UM-0806-10
DOC Driver 1.0 Software Utilities
Developer Guide, Rev. 1.0
96-UM-0806-10 Rev. 1.0
January 2007
Rev. 1.0 DOC Driver 1.0 Software Utilities
2 96-UM-0806-10
TABLE OF CONTENTS
1. Introduction ...........................................................................................................................4
1.1. mDOC H3.......................................................................................................................4
1.2. Terms and Abbreviations ...............................................................................................5
1.3. General Rules for all Utilities..........................................................................................5
2. DOCSHELL Utility .................................................................................................................6
2.1. Command Line Mode.....................................................................................................6
2.2. Menu Mode ....................................................................................................................6
2.3. How to Extend DOCSHELL............................................................................................7
2.3.1. To Extend DOCSHELL.................................................................................................... 7
3. DFORMAT Utility ...................................................................................................................8
3.1. DFORMAT Syntax..........................................................................................................8
3.1.1. Operation Modes and Command Line Flags................................................................... 8
3.1.2. Common Syntax .............................................................................................................. 8
3.2. Using DFORMAT Flags..................................................................................................9
3.2.1. Common Flags................................................................................................................. 9
3.2.2. Partition Flags................................................................................................................ 10
3.2.3. Protection Flags............................................................................................................. 11
3.2.4. Logical Format............................................................................................................... 11
3.2.5. Advanced Operation Flags ............................................................................................ 12
3.3. DFORMAT Usage Examples .......................................................................................14
4. DINFO Utility........................................................................................................................15
4.1. DINFO Syntax ..............................................................................................................15
4.2. Using DINFO Flags ......................................................................................................15
4.3. DINFO Usage Examples..............................................................................................17
5. DIMAGE Utility.....................................................................................................................18
5.1. DIMAGE Syntax........................................................................................................... 18
5.1.1. Serial DIMAGE Syntax .................................................................................................. 18
5.2. DIMAGE Flags .............................................................................................................19
5.3. Creating the Master mDOC H3 ....................................................................................20
5.4. Copying the Source mDOC H3 to an Image File .........................................................20
5.5. Copying the Image File to Target mDOC H3 Devices..................................................21
5.6. DIMAGE Error Messages.............................................................................................22
5.7. DIMAGE Socket Status Messages...............................................................................22
5.8. Compatibility with Previous Versions ...........................................................................22
Rev. 1.0
DOC Driver 1.0 Software Utilities
3 96-UM-0806-10
6. SPLITIMAGE Utility .............................................................................................................23
6.1. SPLITIMAGE Syntax....................................................................................................23
6.2. SPLITIMAGE Flags......................................................................................................23
6.3. SPLITIMAGE Examples...............................................................................................23
7. Manage Image Utility ..........................................................................................................24
7.1. MANAGE IMAGE Syntax .............................................................................................24
7.2. Manage Image Flags....................................................................................................24
7.3. Manage Image Examples.............................................................................................25
8. Utilities RAM MTD Utilization.............................................................................................26
8.1. RAM MTD Flags...........................................................................................................26
8.2. RAM MTD Supported Devices .....................................................................................26
9. Utility Package for Windows XP ........................................................................................27
9.1. The Utility Package ......................................................................................................27
9.1.1. Purpose.......................................................................................................................... 27
9.1.2. Package Description...................................................................................................... 27
9.1.3. Customization Routine API............................................................................................ 29
Software License ......................................................................................................................32
Disclaimer of Liability...............................................................................................................33
How to Contact Us....................................................................................................................34
Rev. 1.0
Introduction
DOC Driver 1.0 Software Utilities
4 96-UM-0806-10
1. INTRODUCTION
This manual describes the following DOC Driver utilities for Windows XP and DOS that may be
used with SanDisk’s mDOC H3 products:
• DFORMAT
• DINFO
• DIMAGE
• SPLITIMAGE
• MNGIMG
Note: DOC Driver supports only mDOC H3 devices. DOC Driver 1.0 software utilities also
support only mDOC H3 devices.
A description of the utility flags is provided, including specific examples and basic instructions
to assist in easy and quick installation of mDOC H3 over the target platform.
This manual is intended for system integrators who are familiar with the PC environment and the
operating system in use. It is also recommended to read the relevant mDOC H3 product data
sheets and installation instructions for your specific operating system.
1.1. mDOC H3
SanDisk’s mDOC H3 products are high-performance, single-chip flash disks that provide full
hard-drive emulation for all major operating systems (Oss) and platforms. This unique product
line offers a complete boot and data storage solution for applications, such as embedded systems,
feature phones, smartphones and PDAs. mDOC H3 provides superior performance through a true
16-bit bus interface, X2 technology and offers security-enabling and data-protection features.
A DOC Driver is required to work with all mDOC H3 products. DOC Driver is natively
supported by every major OS, such as Windows Mobile, Symbian, Palm, and Linux. For other
environments (including OS-less), a DOC Driver Software Development Kit (SDK) can be
obtained.
Rev. 1.0
Introduction
DOC Driver 1.0 Software Utilities
5 96-UM-0806-10
1.2. Terms and Abbreviations
Table 1: Glossary of Terms and Abbreviations
Interface Term Definition
Physical Drive/Physical Device mDOC H3 device inserted in a system.
Partition/Volume A partition is part of a physical drive handled as an independent
unit.
A physical device can contain up to 14 partitions (in addition to
IPL and OTP).
Logical Partition Part of the partition, typically described by an entry in the
Master Boot Record. Like magnetic hard disk, every partition
can contain many Logical Partitions, each one having
completely independent file trees.
Floor In a cascaded mDOC H3 configuration, each mDOC H3 device
is called a floor.
1.3. General Rules for all Utilities
Maximum number of each command line parameter type that the utilities may accept is 99. No
more parameters can be accepted.