beautypg.com
Version 2.2
Page 3 of 39
SMT6035 User Manual
2 Table of Contents
1
Revision history .............................................................................................................................. 2
2
Table of Contents ........................................................................................................................... 3
List of abbreviations................................................................................................................................. 6
3
List of figures................................................................................................................................... 6
4
Introduction ..................................................................................................................................... 7
5
Conventions .................................................................................................................................... 8
6
Prerequisites................................................................................................................................... 8
7
Software Installation and Setup...................................................................................................... 9
8
Hardware overview ......................................................................................................................... 9
8.1
Comport.................................................................................................................................. 9
8.2
The CPLD............................................................................................................................. 10
8.3
State of the IIOF lines .......................................................................................................... 10
8.4
The PCI bridge chip ............................................................................................................. 10
9
Software design ............................................................................................................................ 11
9.1
Interface mechanism............................................................................................................ 11
10
Functions exported by libsmtdrv.so .............................................................................................. 11
10.1
SmtOpen .............................................................................................................................. 11
10.2
SmtGetBoardCount.............................................................................................................. 12
10.3
SmtOpenBoard .................................................................................................................... 12
10.4
SmtCloseBoard .................................................................................................................... 12
10.5
SmtGetBoardIndex............................................................................................................... 13
10.6
SmtGetBoardInfo ................................................................................................................. 13
10.7
SmtGetError ......................................................................................................................... 14
10.8
SmtGetDLLVer..................................................................................................................... 14
10.9
SmtGetPluginVersion........................................................................................................... 15
11
Functional description................................................................................................................... 16
12
Host comport................................................................................................................................. 16
12.1
CpRead ................................................................................................................................ 16
12.2
CpWrite ................................................................................................................................ 17
12.3
CpCancel.............................................................................................................................. 17
13
Downloading files.......................................................................................................................... 17
13.1
BinaryLoad ........................................................................................................................... 17
13.2
CoffLoad............................................................................................................................... 18
14
Mailboxes...................................................................................................................................... 18
14.1
MbWrite ................................................................................................................................ 19
14.2
MbRead................................................................................................................................ 20
14.3
MbCancel ............................................................................................................................. 20
15
High speed channel ...................................................................................................................... 20
15.1
Data transfer mechanism ..................................................................................................... 20
15.2
Control words ....................................................................................................................... 22
User Manual - Version 2.2, 04/01/07; © Sundance Italia S.R.L.