|
发表于 2009-4-25 07:55:36
|
显示全部楼层
st mem与pc3kF级维修的差别是缺少了强制写和系统区初始化及保存系统区,但这些可以用命令来解决。
st-mem使用中值得注意的命令
T级
*** I,y,z Initialize System Region. (available only when overlay and cert table
are valid)
Performs all necessary calibrations, formatting and flaw-mapping of
the system region to prepare it to receive the Overlay and to prepare
for the Certification Tests.
y - if entered then retrieve SN from the GC
z - if z = 22h then initialize the system region.
- if z <> 22 then ignore this command.
Wx,y,z Save System RAM into System Sector.
If age <> 60 then x,y,z is not used.
If age == 60 then
x - (not used)
y - (not used)
z - if z = 22h then save adaptives to disc
- if z <> 22 then ignore this command.
b,,z Initialize the overlay area of the disc
This command initializes that part of the system area that is
used to store overlays. z – only do initialize if z = 22h
c Write overlays to the disc
This writes all downloaded overlays (see Level T d command) to the
disc. This should be used only after Test 2 has been run. If overlays
are downloaded and then Test 2 is run, Test 2 will automatically
write any available overlays to the disc at the very end of the test.
dx,y,z Download Cert Code (for automated use only).
x – buffer number to download to
y - blocksize, where:0 = 512
1 = 1024
2 = 2048
3 = 4096
z - 1 = Suppress spinup after download
This does not write the cert code to the disc. A level T w command
must be issued to write the cert code to disc.
ex,y Download overlay (for automated use only)
x - Unique overlay number
y - Any non-zero value indicates that the overlay is immediately
executable
(i.e. without reading from the disc)
f Burn new serial flash code that is already downloaded to the
buffer and transition to it. Assumes that the code is already
downloaded to buffer 0x400
h Download cert table (for automated use only)
This command downloads the cert tables to the drive. For more information see the Cert Table interface document
*** j Download SeaDex script (for automated use only) (available only
when overlay is valid) This command downloads the SeaDex script
to the drive. This does not write the cert code to the disc. A level T w
command must be issued to write the script to disc.
*** lx Initialize and write zone buffers in the overlay to RAM
(available only when overlay is valid)
x
01 – copy the overlay zone table to RAM
02 – regenerate the PBA zone table
04 – set the adaptive in ram based on the zone table
08 – run the VCO cal
10 – Save it to disc
*** m,,z Defect Map System Area (available only when overlay is valid)
This command does write/read on system area and slips bad sectors.
z - if z = 22 Allow defect mapping of system area
- if z <> 22 ignore this command.
wx,y Write (Save) Overlay code to Disc (for automated use only).
x a bit field for saving code modules to disc (same as level 1 ‘d’)
- if x is entered and = 1 then save cert code only to the disc
- if x is entered and = 2 then save cert tables only to the disc
- if x is entered and = 4 then save application code only to the disc
- if x is entered and = 8 then save SeaDex script only to the disc
other values for x are treated as a bit field to select which of
above to save
- if x is not entered then save all to the disc
y buffer number to download from
1级
dx Clear overlay code from disc (for automated use only).
x a bit field for clearing code modules (same as level T ‘w’)
- if x is entered and = 1 then clear cert code only from the disc
- if x is entered and = 2 then clear cert tables only from the disc
- if x is entered and = 4 then clear application code only from
the disc
- if x is entered and = 8 then clear SeaDex script only from the
disc other values for x are treated as a bit field to select which
of above to clear
- if x is not entered then clear all four from disc
F级
dx,y Download code, used in conjunction with SDLD
x - buffer to download to
y - block size
0 512 bytes (default)
1 1024 bytes
2 2048 bytes
3 4096 bytes
jx,y Jump to address to execute. If no parameter entered it will transition
to the application code in the buffer if it is valid.
x - segment number
y - segment offset
Note: new command to ROM code |
|