Adm test test dio output

Version 1 (Dmitry Smekhov, 06/12/2013 03:08 am)

1 1
h1. ADM_TEST : Output from test_dio.cfg
2 1
3 1
h2. Starting the program
4 1
5 1
6 1
Command: *./adm_test test_dio.cfg*
7 1
8 1
Output:
9 1
10 1
<pre>
11 1
dsmv@dsmv-linux:~/pcie_ds_dma/trunk/soft/linux/application/adm_test/bin$ ./adm_test test_dio.cfg 
12 1
Map BAR0: 0xfe800000 -> 0x7f2ae6111000
13 1
Map BAR1: 0xfe600000 -> 0x7f2ae5f11000
14 1
core_init()
15 1
core_init(): BlockID = 0x1013, BlockVER = 0x101.
16 1
core_init(): DeviceID = 0x5504, DeviceRev = 0x210.
17 1
core_init(): PldVER = 0x104.
18 1
core_init(): Block count = 8.
19 1
core_init(): Channel(ID) = 0(0x18), FIFO size = 4096 Bytes, DMA Dir = 3, Max DMA size = 1024 MBytes, resource = 0x2.
20 1
core_init(): Channel(ID) = 1(0x18), FIFO size = 4096 Bytes, DMA Dir = 3, Max DMA size = 1024 MBytes, resource = 0x2.
21 1
core_init(): Prepare ADM PLD.
22 1
 Firmware PLD ADM
23 1
 SIG = 0x4953 - Ok
24 1
 ADM interface version:  2.0
25 1
 Base module: 0x5507  v2.0
26 1
 Submodule: 0x0000  v0.0
27 1
 Firmware modificaton:  0 
28 1
 Firmware version:       1.1
29 1
 Firmware build number: 0x0100
30 1
31 1
 Information about the tetrads:
32 1
33 1
 0  0x0001 TRD_MAIN           MOD: 8  VER: 1.4 FIFO IN   256x64
34 1
 1  0x004F TEST_CTRL       MOD: 1  VER: 1.3 
35 1
 2  0x0000  -             
36 1
 3  0x0000  -             
37 1
 4  0x0000  -             
38 1
 5  0x0000  -             
39 1
 6  0x0013 DIO64_IN        MOD: 6  VER: 1.2 FIFO IN   1024x64
40 1
 7  0x0012 DIO64_OUT       MOD: 1  VER: 1.3 FIFO OUT  1024x64
41 1
Module /dev/pexdrv0 successfuly opened
42 1
43 1
Read parameters from file: test_dio.cfg
44 1
45 1
46 1
47 1
48 1
49 1
Parameters:
50 1
51 1
CntBuffer  8
52 1
CntBlockInBuffer  1
53 1
SizeBlockOfWords  262144
54 1
isCycle  1
55 1
isSystem  1
56 1
isAgreeMode  0
57 1
isRestart  0
58 1
trdNo  6
59 1
strmNo  1
60 1
isTest  2
61 1
isMainTest  0
62 1
AdmReg  (null)
63 1
isAdmReg  0
64 1
AdmReg2  (null)
65 1
isAdmReg2  0
66 1
ISVI_FILE  (null)
67 1
ISVI_HEADER  0
68 1
FifoRdy  1
69 1
Cnt1  0
70 1
Cnt2  0
71 1
DataType  6
72 1
DataFix  1
73 1
isTestCtrl  1
74 1
TestSeq  0
75 1
76 1
77 1
78 1
Total stream buffer size: 8 MB
79 1
80 1
81 1
Preparing tetrade
82 1
83 1
Tetrade 6  ID: 0x13 MOD: 6  VER: 1.2 
84 1
85 1
86 1
Prepare trd TEST_CTRL
87 1
Use a short test sequence
88 1
Set max speed of data transfer: 1907 Mbytes/s 
89 1
Set mode with wait of FIFO ready 
90 1
91 1
Allocation memory: 
92 1
 Type of block:    system memory
93 1
 Block size: 8 MB
94 1
0: 0x7f200000 -> 0x7f2ae7c47000
95 1
1: 0x7f300000 -> 0x7f2ae5e11000
96 1
2: 0x7f400000 -> 0x7f2ae5d11000
97 1
3: 0x7f500000 -> 0x7f2ae5c11000
98 1
4: 0x7f600000 -> 0x7f2ae5b11000
99 1
5: 0x7f700000 -> 0x7f2ae5a11000
100 1
6: 0x7f800000 -> 0x7f2ae5911000
101 1
7: 0x7f900000 -> 0x7f2ae5811000
102 1
Stub: 0x8dace000 -> 0x7f2ae7d64000
103 1
Allocate stream memory - Ok
104 1
core_set_local_addr(): DmaChan=1 addr=0x00000006 
105 1
Stream working in regular mode
106 1
core_start_dma(): DmaChan=1 IsCycling=1 
107 1
core_start_dma(): IOCTL_AMB_START_MEMIO   core_start_dma - OK 
108 1
109 1
             BLOCK_WR   BLOCK_RD   BLOCK_OK  BLOCK_ERR   SPD_CURR    SPD_AVR     STATUS       TIME
110 1
111 1
^CRD :   6          0     195386     195386          0      799.8      799.8     0x004F       4:04 
112 1
113 1
</pre>
114 1
115 1
There is parameters in the last line.
116 1
117 1
*  number of trd  - without name in the title
118 1
* *BLOCK_WR* - number of the transmitten blocks
119 1
* *BLOCK_RD* - number of the received blocks
120 1
* *BLOCK_OK* - number of the blocks with correct data
121 1
* *BLOCK_ERR* - number of the blocks with errors
122 1
* *SPD_CURR* - speed of data transfer during of last 4 second  [Mbytes per second]
123 1
* *SPD_AVR*  - speed of data transfer with program start [Mbytes per second]
124 1
* *STATUS*   - content of STATUS register in the TRD
125 1
* *TIME*     - current time of test
126 1
127 1
Press Ctrl-C for exit;
128 1
129 1
Result of test:
130 1
131 1
<pre>
132 1
Cancel
133 1
 TRD :   6          0     195574     195574          0      799.8      799.8     0x0071       4:04 
134 1
135 1
Result of receiving data from trd 6 
136 1
137 1
 Recieved blocks :   195574 
138 1
 Correct blocks  :   195574 
139 1
 Incorrect blocks:   0 
140 1
 Total errors    :   0 
141 1
142 1
 Speed           :   799.8 [Mbytes/s] 
143 1
 Time of test    :   4 min 04 sec
144 1
145 1
All data is correct. No error
146 1
147 1
148 1
Exit program
149 1
</pre>
150 1
151 1
799.8 - PCI Express v1.1 x4 - project AMBPEX5_v20_SX50T_CORE