Академический Документы
Профессиональный Документы
Культура Документы
Input Parameters:
0 - Partition Number.
This parameter specifies the media partition to be formatted.
0 = User Partition
1 = System Partition
99 = Set format corrupt state
Type: Unsigned 8-bit value
Range: 0 or 1
Default: 0
1 - Format Options.
This parameter is a bit significant value that selects the following options:
Bits 31-5: not used
Bit 6: Disable Track Re-write for Data Sync Time-out Errors.
If this bit is equal to 1, the the Format Partition command will
not perform track re-write operations for an unrecovered
data sync time-out error.
NOTE: This feature can be enabled or disabled at compile-time. Use
the quick help to determine whether your code supports this feature.
Bit 5: Enable SeaCOS XF Space Format.
This bit is only valid when the User Partition is selected. If this
bit is equal to 1, the the Format Partition command will only format
SeaCOS Extended File (XF) space.
NOTE: This feature can be enabled or disabled at compile-time. Use
the quick help to determine whether your code supports this feature.
Bit 4: Enable Zone Re-format Skipping.
If this bit is equal to 1, then the Format Partition command will
enable the zone re-format skipping mode during the format operation.
With this mode enabled, the format operation will not re-format
a zone if grown defects were found in the zone.
NOTE: This feature can be enabled or disabled at compile-time. Use
the quick help to determine whether your code supports this feature.
Bit 3: Enable Event-based Format Logging.
If this bit is equal to 1, then the Format Partition command will
display information about error events that occur during the format
operation. This information will be displayed as interim status as
these events occur.
NOTE: This feature can be enabled or disabled at compile-time. Use
the quick help to determine whether your code supports this feature.
Bit 2: Disable User Partition Certify.
This bit is only valid when the User Partition is selected. If this
bit is equal to 1, media certification and defect deallocation will
be disabled.
Bit 1: Disable User Partition Format.
This bit is only valid when the User Partition is selected. If this
bit is equal to 1, the User Partition sectors will not be written
with a constant data pattern.
Bit 0: Corrupt User Partition Primary Defects.
This bit is only valid when the User Partition is selected. If this
bit is equal to 1, the primary defective sectors will be corrupted.
Type: Unsigned 32-bit value
Range: 0 or 0xFFFFFFFF
Default: 0 (Enable User partition Certify,
Enable User Partition Format,
Don't Corrupt Primary Defects)
2 - Defect List Options.
This parameter is a bit significant value that selects the following options:
Bits 31-3: not used
Bit 2: Process the Active Error Log.
This bit is only valid when the User Partition is selected. If this
bit is equal to 1, the Format Client Defect List will be written with
contents of the Active Error Log and the option to process the Client
Defect List will be enabled. If there is no Active Error Log or there
are no R/W-related entries in the Active Error Log, then this bit will
be ignored.
Bit 1: Process Primary Defect Lists.
This bit is only valid when the User Partition is selected. If this
bit is equal to 1, the the Primary Defect Lists will be used when
creating the defect list to be used by the format operation.
Bit 0: Process Grown Defect Lists.
This bit is only valid when the User Partition is selected. If this
bit is equal to 1, the the Grown Defect Lists will be used when
creating the defect list to be used by the format operation.
Type: Unsigned 32-bit value
Range: 0 or 0xFFFFFFFF
Default: 0x00000003 (Process Grown Defect Lists,
Process Primary Defect Lists,
Do not process the Active Error Log)
3 - Maximum Write Retry Count.
If this parameter is entered, the maximum write retry count will be set to the
specified value. This parameter is only valid when the User Partition is being
formatted (Parameter 0 is equal to 0). If this parameter is not entered, the
maximum write retry count will not be changed.
Type: Unsigned 16-bit value
Range: 0 or 0xFFFF
Default: None.
4 - Maximum Read Retry Count.
If this paremeter is entered, the maximum read retry count will be set to the
specified value. This parameter is only valid when the User Partition is being
formatted (Parameter 0 is equal to 0). If this parameter is not entered, the
maximum read retry count will not be changed.
Type: Unsigned 16-bit value
Range: 0 or 0xFFFF
Default: None.
5 - Max iteration count
If this paremeter is entered, the iteration count will be set to the specified
value. This parameter is only valid when the User Partition is being formatted
(Parameter 0 is equal to 0). If this parameter is not entered, the iteration
count will not be changed.
5 - Maximum ECC T-Level.
If this paremeter is entered, the maximum ECC T-Level will be set to the specifi
ed
value. This parameter is only valid when the User Partition is being formatted
(Parameter 0 is equal to 0). If this parameter is not entered, the ECC T-Level
will not be changed.
Type: Unsigned 16-bit value
Range: 0 or 0xFFFF
Default: None.
6 - Track Rewrite During Certify Retry Threshold.
If this parameter is entered, it specifies the maximum number of rewrite retries
to be performed during the user partition certification pass.
Type: Unsigned 16-bit value
Range: 0 or 0xFFFF
Default: None. If this parameter is not entered, the default value recommended
by the R/W Firmware will be used.
7 - Valid Command Key.
For a User Partition format, this parameter must be equal to 22 Hex. If this
parameter is not equal to 22 Hex, the command will not be executed.
For a System Partition format, this parameter must be equal to DD Hex. If this
parameter is not equal to DD Hex, the command will not be executed.
Type: Unsigned 8-bit value
Range: 0x22 or 0xDD
Default: None
8 - Data Pattern For Format.
This parameter specifies the data pattern to be used when formatting the specifi
ed
partition. If this parameter is not entered, the specified partition will be
formatted with a 0x00000000 data pattern.
Type: Unsigned 32-bit value
Range: 0 or 0xFFFFFFFF
Default: 0x00000000.
9 - Secondary Maximum Write Retry Count.
If this parameter is entered, the secondary maximum write retry count will be se
t
to the specified value. This parameter is only valid if all secondary ER mode
parameters (parameter 9, 10 and 11) are entered. If any of the 3 parameters is
not entered, the secondary ER mode feature is disabled. Note that this usage is
only available if RW_FORMAT_APPLY_SECONDARY_ER_MODE is enabled.
Type: Unsigned 16-bit value
Range: 0 or 0xFFFF
Default: None.
10 - Secondary Maximum Read Retry Count.
If this paremeter is entered, the secondary maximum read retry count will be set
to the specified value. This parameter is only valid if all secondary ER mode
parameters (parameter 9, 10 and 11) are entered. If any of the 3 parameters is
not entered, the secondary ER mode feature is disabled. Note that this usage is
only available if RW_FORMAT_APPLY_SECONDARY_ER_MODE is enabled.
Type: Unsigned 16-bit value
Range: 0 or 0xFFFF
Default: None.
11 - Secondary Maximum ECC T-Level.
If this paremeter is entered, the secondary maximum ECC T-Level will be set to t
he
specified value. This parameter is only valid if all secondary ER mode
parameters (parameter 9, 10 and 11) are entered. If any of the 3 parameters is
not entered, the secondary ER mode feature is disabled. Note that this usage is
only available if RW_FORMAT_APPLY_SECONDARY_ER_MODE is enabled.
Type: Unsigned 16-bit value
Range: 0 or 0xFFFF
Default: None.
Output Data:
Examples:
Example #1:
Perform a "quick format" (process defect lists, clear format corrupt, do not wri
te
or certify the drive)
F3 T>m0,6,,,,,,22
Example #2:
Perform a "quick format" (don't process defect lists i.e. unslip and unalt, do n
ot
write or certify the drive)
F3 T>m0,6,0,,,,,22
Example #3:
Perform a format with the default data pattern 0x00000000 and certify with event
reporting enabled:
F3 T>m0,8,,,,,,22
Example #4:
Perform a format and certify with event reporting enabled, set max write retries
to 16, set max read retry count to 8, max ECC T-Level to 0, and track rewrite
during certify retry threshold to 20:
F3 T>m0,8,,10,8,0,14,22
Example #5:
Perform a format with user input data pattern 0xFFFFFFFF and certify with event
reporting enabled:
F3 T>m0,8,,,,,,22,ffffffff
Example #6:
Perform a format with secondary ER mode feature. Two sets of ER mode parameters
are
entered. First set is used in the first pass of format/certify, set max write re
try
to 15, max read retry to 5 and max ECC T-Level to 6. Second set is used in the r
est
passes, set max write retry to 17, max read retry to 7 and max ECC T-Level to 14
.
Note that this usage is only available if RW_FORMAT_APPLY_SECONDARY_ER_MODE is e
nabled.
F3 T>m0,1,2,15,5,6,,22,,17,7,14
Example #7:
Determine the current format state and set format corrupt:
F3 T>m99
Revision History:
0001.0000 Initial revision.
0001.000X Added ability to enable and display event-based output.
0011.000X Combined the PSG Diagnostic Error Codes (PSGDEC) and the Diagnostic Ex
ternal
Test Service Error Codes (DETSEC) into a single set of Diagnostic Error Codes
(DiagError).
0012.000X Added additional parameter 8 for users to input data pattern for forma
t. The
default data pattern is 0x00000000 instead of the 0x77777777 for the User
Partition and 0xFFFFFFFF for the System Partition.
0012.001X Added option to process the Active Error Log.
0012.01XX Added brief event reporting (see bit 4 of the minor revision history b
elow).
0012.02XX Added support for reporting the index of the defect list entry at whic
h defect
list processing error occurred.
0012.03XX Added support for skipping track re-write operation on data sync time-
out errors.
0012.04XX Added support for displaying error location for failing LBA ( wedge no
and physical sector no )
0012.05XX Corrected output for iterative channels
Note on Minor Rev:
----.ZZXX ZZ represents the minor rev base value.
XX represents set of conditional feature supported by the command.
- If bit 0 of X is set, then the ability to enable and display
event-based output is supported.
- If bit 1 of X is set, then the ability to enable zone re-format
skipping and output command result information if at least one
zone re-format was skipped is supported.
- If bit 2 of X is set, then the ability to format only SeaCOS
Extended File (XF) space is supported.
- If bit 3 of X is set, then the ability to use secondary ER mode
to format/certify is supported.
- If bit 4 of X is set, then the command supports brief event
reporting.
- If bit 5 of X is set, then the command supports skipping of
track re-write operation on data sync time-out errors.