Adm test out dio output

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

1 1
h1. ADM_TEST : Output from out_dio.cfg
2 1
3 1
h2. Starting the program
4 1
5 1
Command: *./adm_test test_dio.cfg*
6 1
7 1
Output:
8 1
9 1
<pre>
10 1
dsmv@dsmv-linux:~/pcie_ds_dma/trunk/soft/linux/application/adm_test/bin$ ./adm_test out_dio.cfg
11 1
Map BAR0: 0xfe800000 -> 0x7fcbed24b000
12 1
Map BAR1: 0xfe600000 -> 0x7fcbed04b000
13 1
core_init()
14 1
core_init(): BlockID = 0x1013, BlockVER = 0x101.
15 1
core_init(): DeviceID = 0x5504, DeviceRev = 0x210.
16 1
core_init(): PldVER = 0x104.
17 1
core_init(): Block count = 8.
18 1
core_init(): Channel(ID) = 0(0x18), FIFO size = 4096 Bytes, DMA Dir = 3, Max DMA size = 1024 MBytes, resource = 0x2.
19 1
core_init(): Channel(ID) = 1(0x18), FIFO size = 4096 Bytes, DMA Dir = 3, Max DMA size = 1024 MBytes, resource = 0x2.
20 1
core_init(): Prepare ADM PLD.
21 1
 Firmware PLD ADM
22 1
 SIG = 0x4953 - Ok
23 1
 ADM interface version:  2.0
24 1
 Base module: 0x5507  v2.0
25 1
 Submodule: 0x0000  v0.0
26 1
 Firmware modificaton:  0 
27 1
 Firmware version:       1.1
28 1
 Firmware build number: 0x0100
29 1
30 1
 Information about the tetrads:
31 1
32 1
 0  0x0001 TRD_MAIN           MOD: 8  VER: 1.4 FIFO IN   256x64
33 1
 1  0x004F TEST_CTRL       MOD: 1  VER: 1.3 
34 1
 2  0x0000  -             
35 1
 3  0x0000  -             
36 1
 4  0x0000  -             
37 1
 5  0x0000  -             
38 1
 6  0x0013 DIO64_IN        MOD: 6  VER: 1.2 FIFO IN   1024x64
39 1
 7  0x0012 DIO64_OUT       MOD: 1  VER: 1.3 FIFO OUT  1024x64
40 1
Module /dev/pexdrv0 successfuly opened
41 1
42 1
Read parameters from file: out_dio.cfg
43 1
44 1
45 1
46 1
47 1
48 1
Parameters:
49 1
50 1
CntBuffer  8
51 1
CntBlockInBuffer  1
52 1
SizeBlockOfWords  262144
53 1
isCycle  1
54 1
isSystem  1
55 1
isAgreeMode  0
56 1
trdNo  7
57 1
strmNo  1
58 1
isSdram  0
59 1
isTest  2
60 1
DataType  6
61 1
DataFix  1
62 1
63 1
64 1
65 1
Total stream buffer size: 8 МБ
66 1
67 1
68 1
Prepare tetrade
69 1
70 1
Tetrade 7  ID: 0x12 MOD: 1  VER: 1.3 
71 1
72 1
Allocation memory: 
73 1
 Type of block:    system memory
74 1
 Block size: 8 MB
75 1
0: 0x7f200000 -> 0x7fcbeed81000
76 1
1: 0x7f300000 -> 0x7fcbecf4b000
77 1
2: 0x7f800000 -> 0x7fcbece4b000
78 1
3: 0x7f900000 -> 0x7fcbecd4b000
79 1
4: 0x7fa00000 -> 0x7fcbecc4b000
80 1
5: 0x7fb00000 -> 0x7fcbecb4b000
81 1
6: 0x7f400000 -> 0x7fcbeca4b000
82 1
7: 0x7f500000 -> 0x7fcbec94b000
83 1
Stub: 0xa56bf000 -> 0x7fcbeee9e000
84 1
Allocate stream memory - Ok
85 1
core_set_local_addr(): DmaChan=1 addr=0x00000007 
86 1
Stream working in regular mode
87 1
core_start_dma(): DmaChan=1 IsCycling=1 
88 1
core_start_dma(): IOCTL_AMB_START_MEMIO   core_start_dma - OK 
89 1
90 1
             BLOCK_WR   BLOCK_RD   BLOCK_OK  BLOCK_ERR   SPD_CURR    SPD_AVR     STATUS       TIME
91 1
92 1
 TRD :   7      44082      44074      44074          0      548.4      548.3     0x0077       1:20  
93 1
94 1
95 1
96 1
</pre>
97 1
98 1
There is parameters in the last line.
99 1
100 1
*  number of trd  - without name in the title
101 1
* *BLOCK_WR* - number of the transmitten blocks
102 1
* *BLOCK_RD* - number of the received blocks
103 1
* *BLOCK_OK* - number of the blocks with correct data
104 1
* *BLOCK_ERR* - number of the blocks with errors
105 1
* *SPD_CURR* - speed of data transfer during of last 4 second  [Mbytes per second]
106 1
* *SPD_AVR*  - speed of data transfer with program start [Mbytes per second]
107 1
* *STATUS*   - content of STATUS register in the TRD
108 1
* *TIME*     - current time of test
109 1
110 1
Press Ctrl-C for exit;
111 1
112 1
Result of test:
113 1
114 1
<pre>
115 1
Cancel
116 1
 TRD :   7      44219      44211      44211          0      548.4      548.3     0x0073       1:20  
117 1
118 1
Result of transmitted data via trd 7 
119 1
120 1
 Recieved blocks :   44211 
121 1
 Correct blocks  :   44211 
122 1
 Incorrect blocks:   0 
123 1
 Total errors    :   0 
124 1
125 1
 Speed           :   548.3 [Mbytes/s] 
126 1
 Time of test    :   1 min 21 sec
127 1
128 1
129 1
130 1
Exit program
131 1
</pre>
132 1
133 1
548.3 - PCI Express v1.1 x4 - project AMBPEX5_v20_SX50T_CORE