Instruction Manual

503 Series Industrial Grade CompactFlash Card Product Manual v2.1Cactus Technologies
®
48
byte Description
00-31 zeroes
32-64 Lock code
65-511 zeroes
If this command is issued with Bit 0 of Feature Reg. set, the drive will enable the VS Lock mode.
In this mode, the drive will not response to normal ATA data transfer commands until a CTLock™
command is issued with the same Lock code and the Unlock bit set. The only ATA commands
that the drive will execute when in VS Lock mode are the following:
Command Opcode
Check Power Mode
E5h
Execute Drive Diagnostic
90h
Identify Drive
ECh
Idle
E3h
Idle Immediate
E1h
NOP
00h
Read Buffer
E4h
Set Features
EFh
Set Multiple Mode
C6h
Sleep
E6h
Standby
E2h
Standby Immediate
E0h
Write Buffer
E8h
If the CTLock™ command is issued with the Lock code and bit 2 of Feature Reg. set, the
previously saved Lock code will be erased and the drive will revert back to normal operation with
VS Lock disabled. To re-enable the VS Lock mode, the host must reissue a CTLock™ command
with a Lock code and the Lock bit set.
Note that bits 0,1 & 2 of the Feature Reg. are mutually exclusive. If the CTLock™ command is
issued with more than one of the above 3 bits set, the command will be rejected and an error
status returned.
The current status of CTLockä is reported in Identify Drive word 128 bits 10 & 11 as follows:
Bit 11 (lock) Bit 10 (enable) Description
0 0 CTLock is disabled
0 1 CTLock is enabled, drive is unlocked
1 1 CTLock is enabled, drive is locked