4. EXAMPLES OF TESTING
THE ONBOARD 32KX32
SRAM WITH PLXMON
c) Click the DMA button on PLXMon to
open the DMA registers window.
1) Single read/write from/to onboard SRAM
d) Configure DMA CH0 for burst transfer
and the transfer direction from Local-to-
PCI. The settings on DMA channel 0
would be similar to the following
a) At the lower command line window of
PLXMon, type in the following
commands to perform single 32bit,
16bit and 8bit memory read/write
transfers from/to the onboard SRAM.
Mode (80h):
143
dl
s0 1
PCI address (84h):
01F80000
<= read one 32-bit long word from
address s0
Local address (88h):
00000000
Transfer size (8ch):
100
el
s0 88888888
Descriptor pointer (90h): 8
<= write 32-bit data, 88888888h, to
address s0
Check the box for data transfer enable
dw
s0 1
e) Click on the [Start Transfer] button to
transfer data from the onboard SRAM to
the DMA scratch buffer.
<= read one 16-bit word from address
s0
ew
s0 8888
f) Compare the data from step ‘b’ by
typing the
dl HBuf
command.
<= write 16-bit data, 8888h, to
address s0
g) Change the contents of the DMA
scratch buffer
db
s0 1
el HBuf
99999999
<= read a byte from address s0
el HBuf+4
88888888
eb
s0 88
el HBuf+8
77777777
<= write 8-bit data, 88h, to address s0
el HBuf+c
66666666
2) DMA burst read/write from/to onboard
SRAM:
el HBuf+10
55555555
a) At the lower pane of PLXMon, type
Vars
to obtain the addresses for HBuf,
the 60K-byte DMA scratch buffer
located in the PC’s main memory. For
example, assume HBuf has a physical
address starting at 01F80000h.
el HBuf+14
44444444
el HBuf +18
33333333
el HBuf+1c
22222222
h) Change the direction of the DMA
transfer to PCI-to-Local for DMA CH0,
by modifying the Descriptor Pointer
(90h) value from 8 to 0.
b) Enter 8 long words of test data to the
SRAM. For example,
el
s0
11111111
i) Click the [Start Transfer] button to
perform a DMA transfer again
el
s0+4 22222222
el
s0+8
33333333
j) Type
in
dl s0
to compare the data from
step ‘g’.
el
s0+c
44444444
el
s0+10
55555555
el
s0+14
66666666
el
s0+18
77777777
el
s0+1c 88888888
PCI 9054RDK-LITE Hardware Reference Manual v1.3
© 2006 PLX Technology, Inc. All rights reserved.
15
Содержание PCI 9054RDK-LITE
Страница 1: ...PCI 9054RDK LITE Hardware Reference Manual ...
Страница 2: ......
Страница 6: ......
Страница 24: ......
Страница 30: ......
Страница 34: ...PCI 9054RDK LITE Hardware Reference Manual v1 3 26 2006 PLX Technology Inc All rights reserved ...