|
会的人就学吧,这是在XP的终端上用的,什么道理自个摸所吧,呵呵
``````````````````````
With Google translator:
Cnimaetsya very simple ATA commands
Security Set Password F1h
Security Unlock F2h
Security Erase Prepare F3h
Security Erase Unit F4h
Security Freeze Lock F5h
Security Disable Password F6h
Cling to the screw on the rs-232 interface
ctr z
F3 T /
introduce / 3
3 / F2 enter
dozhizhaemsya F3 T
cringe food
if you need to restart the hyperterminal (I use putty)
ctr z
F3 T /
introduce / 3
3 / F3, enter
dozhizhaemsya F3 T
cringe food
if you need to restart the hyperterminal
ctr z
F3 T /
introduce / 3
3 / enter F6
dozhizhaemsya F3 T
cringe food
if you need to restart the hyperterminal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>I received a lot of "Strange" characters..:
...just a moment... From Transcend 2.5” Solid State Disk data sheet
SECURITY DISABLE PASSWORD (F6h)
Disables any previously set user password and cancels the lock. The host transfers 512 bytes of data, as shown in the
following table, to the drive. The transferred data contains a user or master password, which the drive compares with the
saved password. If they match, the drive cancels the lock. The master password is still saved. It is re-enabled by issuing
the SECURITY SET PASSWORD command to re-set a user password.
SECURITY ERASE PREPARE (F3h)
This command shall be issued immediately before the Security Erase Unit command to enable erasing and unlocking.
This command prevents accidental loss of data on the drive.
SECURITY ERASE UNIT (F4h)
The host uses this command to transfer 512 bytes of data, as shown in the following table, to the drive. The transferred
data contains a user or master password, which the drive compares with the saved password. If they match, the drive
deletes user data, disables the user password, and cancels the lock. The master password is still saved. It is re-enabled
by issuing the SECURITY SET PASSWORD command to re-set a user password.
SECURITY FREEZE LOCK (F5h)
Causes the drive to enter Frozen mode. Once this command has been executed, the following commands to update a lock
result in the Aborted Command error:
• SECURITY SET PASSWORD
• SECURITY UNLOCK
• SECURITY DISABLE PASSWORD
• SECURITY ERASE PREPARE
• SECURITY ERASE UNIT
The drive exits from Frozen mode upon a power-off or hard reset. If the SECURITY FREEZE LOCK command is issued
when the drive is placed in Frozen mode, the drive executes the command, staying in Frozen mode.
SECURITY SET PASSWORD (F1h)
This command set user password or master password. The host outputs sector data with PIO data-out protocol to indicate
the information defined in the following table.
------------------------------------------------------------------------------------------
WORD Content
0 Bit 0 Identifier 0=set user password 1=set master password
Bits 1-7 Reserved
Bit 8 Security level 0=High 1=Maximum
Bits 9-15 Reserved
1-16 Password (32 bytes)
17-255 Reserved
------------------------------------------------------------------------------------------
SECURITY UNLOCK (F2h)
This command disable LOCKED MODE of the device. This command transfers 512 bytes of data from the host with PIO
data-out protocol. The following table defines the content of this information.
------------------------------------------------------------------------------------------
WORD Content
0 Bit 0 Identifier 0=compare user password 1=compare master password
Bits 1-15 Reserved
1-16 Password (32 bytes)
17-255 Reserved
------------------------------------------------------------------------------------------
How can i "Read" word from PIO data-out protocol ???
Bye! |
|