User`s manual
DMA - Block of Memory Move
3-43
3
First a range is given for the source location of the data on the
VMEbus. Note that this is an exact address on the VMEbus. (From
the beginning of the VME memory ($01000000 to $01800000).
The destination for the memory transfer is back to local memory on
the board beginning at $0. Notice, that on the destination address
the high bit is set. This is due to the PCI bus, the PCI bus masks the
high bit and the actual data transfer maps to $0 (the beginning of
local memory).
The VDIR argument is specified as $1 here because the transfer in
this case should occur from the VMEbus to the local bus. The AM
parameter is specified as $D to indicate (Extended Supervisory
Data Access) for a simple data transfer. In this case, the block
transfer was set to $1 which means that the DMA controller
executes D32 block transfer cycles on the VMEbus.
PPC1-Bug>DMA 01000000 01800000 80000000 1 d 1 <Return>
Effective address: 01000000
Effective address: 017FFFFF
Effective address: 80000000
DMA Completion Status =00000001
PPC1-Bug>
By displaying the local memory which was the destination for the
transfer we can see that the data from the VMEbus was transferred
to local memory.
PPC1-Bug>MDS 0 <Return>
00000000 00000000 00000004 00000008 0000000C ................
00000010 00000010 00000014 00000018 0000001C ................
00000020 00000020 00000024 00000028 0000002C ... ...$...(...,
00000030 00000030 00000034 00000038 0000003C ...0...4...8...<
00000040 00000040 00000044 00000048 0000004C ...@...D...H...L
00000050 00000050 00000054 00000058 0000005C ...P...T...X...\
00000060 00000060 00000064 00000068 0000006C ...‘...d...h...l
00000070 00000070 00000074 00000078 0000007C ...p...t...x...|
00000080 00000080 00000084 00000088 0000008C ................
00000090 00000090 00000094 00000098 0000009C ................
000000A0 000000A0 000000A4 000000A8 000000AC ................
000000B0 000000B0 000000B4 000000B8 000000BC ................
000000C0 000000C0 000000C4 000000C8 000000CC ................
000000D0 000000D0 000000D4 000000D8 000000DC ................
000000E0 000000E0 000000E4 000000E8 000000EC ................