USER GUIDE
FOR
SMT6060-TCPIP
Sundance Digital Signal Processing Inc.
4790 Caughlin Parkway 233, Reno, NV 89519-0907, U.S.A.
Tel: +1 (775) 827-3103, Fax: +1 (775) 827-3664, email:
sales@sundancedsp.com
www.sundancedsp.com
Revision 0.4
Page 2 of 2
APPROVAL PAGE
Name Signature Date
Managing Director
Software Manager
Design Engineer
AUTHOR/S
Name Signature Date
Sundance Digital Signal Processing Inc.
4790 Caughlin Parkway 233, Reno, NV 89519-0907, U.S.A.
Tel: +1 (775) 827-3103, Fax: +1 (775) 827-3664, email: sales@sundancedsp.com
www.sundancedsp.com
Revision 0.4
Page 3 of 3
DOCUMENT HISTORY
Date Changes Made Issue Initials
10/30/07 Changed to new lay out and logo 0.4 NN
Sundance Digital Signal Processing Inc.
4790 Caughlin Parkway 233, Reno, NV 89519-0907, U.S.A.
Tel: +1 (775) 827-3103, Fax: +1 (775) 827-3664, email: sales@sundancedsp.com
www.sundancedsp.com
Revision 0.4
Page 4 of 4
LIST OF ABBREVIATIONS
Abbreviation
Explanation
ASIC Application Specific Integrated Circuit
BOM Bill Of Materials
CMC Common Mezzanine Card
Comport Communications Port
DSP Digital Si gnal Proce s sor
FMS Trade name for a flat-ribbon cable family from JST Mfg. Inc.
FPDP Front Panel Data Port
FPGA Field Programmable Gate Array
GTP RocketIO Gigabit Transceiver Pair (Xil i n x)
NA Not Applicable
OTP One-Time Programmable
PC Personal Computer
PCB Printed Circuit Board
PCI Peripheral Component Interconnect
PMC PCI Mezzanine Card
PrPMC Processor PMC
RF Radio Frequency
RSL RocketIO Serial Link
SDB S undance Digital Bus
SDRAM Synchronous Dynamic Random Access Memory
SHB S undance High-Speed Bus
SMA Trade name for a threaded RF co-axial connector fam i l y
Sundance Digital Signal Processing Inc.
4790 Caughlin Parkway 233, Reno, NV 89519-0907, U.S.A.
Tel: +1 (775) 827-3103, Fax: +1 (775) 827-3664, email: sales@sundancedsp.com
www.sundancedsp.com
Revision 0.4
Page 5 of 5
SMT Sundance Multiprocessor Technology
TBD To Be Determined
TI Texas Instruments
XMC Switched Mezzanine Card
Sundance Digital Signal Processing Inc.
4790 Caughlin Parkway 233, Reno, NV 89519-0907, U.S.A.
Tel: +1 (775) 827-3103, Fax: +1 (775) 827-3664, email: sales@sundancedsp.com
www.sundancedsp.com
Revision 0.4
Page 6 of 6
TABLE OF CONTENTS
1. INTRODUCTION.............................................................................................................................................................8
1.1. O
1.2. RELATED DOCUMENTS......................................................................................................................................8
2. REQUIEREMENTS .......................................................................................................................................................9
3. CONNECTING THE HARDWARE...........................................................................................................................10
4. SYSTEM CONFIGURATION.....................................................................................................................................11
4.1.
5. DESCRIPTION.............................................................................................................................................................17
5.1. D
5.2.
6. EXAMPLES...................................................................................................................................................................20
6.1.
6.2.
6.3.
6.4.
6.5.
6.6.
6.7.
6.8.
6.9.
6.10.
6.11.
6.12.
6.13.
6.14.
6.15. C
6.16. C
7. ACCESS TO THE SERIAL PORT OF THE NET50..................................... ...........................................................32
VERVIEW
CONFIGURING THE SMT
4.1.1. Overwriting the default IP and MAC addresses...............................................................................................13
4.1.2. Confirming the configuration ...........................................................................................................................15
IRECTORY STRUCTURE
..................................................................................................................................................................8
363.....................................................................................................................................11
THE SOCKET API LIBRARY
BACKGROUND
BEFORE YOU START
.........................................................................................................................................................20
................................................................................................................................................20
BUILDING THE EXAMPLES
RUNNING THE EXAMPLES........................................................................................................................................21
ECHOD EXAMPLE ....................................................................................................................................................22
FTPD EXAMPLE
RECV EXAMPLE
RECVC EXAMPLE
RECVD EXAMPLE
SENDC EXAMPLE
SENDD
MULTIC EXAMPLE
MULTID EXAMPLE...............................................................................................................................................27
SMT
363
ONFIGURING THE HOST
ONFIGURING THE
........................................................................................................................................................22
.......................................................................................................................................................23
.....................................................................................................................................................23
....................................................................................................................................................24
.....................................................................................................................................................25
EXAMPLE.................................................................................................................................................26
...................................................................................................................................................27
AS NETWORK INTERFACE E XAMPLE
SMT363...................................................................................................................................31
.........................................................................................................................................17
.......................................................................................................................................18
........................................................................................................................................21
...........................................................................................................28
.........................................................................................................................................29
Sundance Digital Signal Processing Inc.
4790 Caughlin Parkway 233, Reno, NV 89519-0907, U.S.A.
Tel: +1 (775) 827-3103, Fax: +1 (775) 827-3664, email: sales@sundancedsp.com
www.sundancedsp.com
Revision 0.4
Page 7 of 7
TABLE OF FIGURES and TABLES
Figure 1 - SMT6060-TCPIP Hardware Connections.................................................................................................10
Figure 2 -SMT6060-TCPIP Configuring SMT363....................................................................................................11
Figure 3 - SMT363 Configuration Data .................................................................................................................... 12
Figure 4 - SMT363 netbboot file selection............................................................................................................... 12
Figure 5 - Block prope rties..................................................... ................................................................................... 13
Figure 6 - Block properties ID................................................................................................................................... 13
Figure 7 - Change IP and MAC file example ............................................................................................................ 14
Figure 8 - File selection for IP and MAC change...................................................................................................... 15
Figure 9 - Hype rTerm i n al outpu t....................................................... ........................................................................ 16
Figure 10 - SMT6060-TCPIP Block Diagram........................................................................................................... 17
Figure 11 -SMT6060-TCPIP Directory Structure ............ .. . .......................................... ............................................ 18
Figure 12 - Examle System Diagram......................................................................................................................... 20
Figure 13 - SMT6060-TCPIP Boardinfo application................................................................................................ 21
Figure 14 - SMT6060-TCPIP RECV Example Output .............................................................................................23
Figure 15 -SMT6060-TCPIP Recvc Example Output ...............................................................................................24
Figure 16 - SMT6060-TCPIP Recvc Example Output.............................................................................................. 25
Figure 17 - SMT6060-TCPIP Sendc Example Output.............................................................................................. 26
Figure 18 -SMT6060-TCPIP Sendc Example Output ................................... ............................................................26
Figure 19 - SMT6060-TCPIP Multic Example Output .............................................................................................27
Figure 20 - SMT6060-TCPIP Multid Example Output.............................................................................................28
Figure 21 -SMT6060-TCPIP SMT363 Configuration as Network Interfa ce ........... .. ................................ ............... 29
Figure 22 - SMT6060-TCPIP Configuring the Host ................................................................................................. 30
Figure 23 - SMT6060-TCPIP Boardinfo Host Configuration...................................................................................30
Figure 24 - SMT6060-TCPIP Using the Flash Utility............................................................................................... 31
Figure 25 - SMT6060-TCPIP Marking the Bootable file.......................................................................................... 31
Table 1 – Change IP and MAC Address.................................................................................................................... 14
Sundance Digital Signal Processing Inc.
4790 Caughlin Parkway 233, Reno, NV 89519-0907, U.S.A.
Tel: +1 (775) 827-3103, Fax: +1 (775) 827-3664, email: sales@sundancedsp.com
www.sundancedsp.com
Revision 0.4
Page 8 of 8
1. INTRODUCTION
1.1. OVERVIEW
The SMT6060 provides a network of DSP modules access to Ethernet though the
Berkeley socket-API. Each of the modules in a multiprocessor DSP application is able to access the
Ethernet using the socket API. The SMT363 module contains a NET50 processor and is used as a
network interface.
The SMT6060 consists of a collection of software examples that simplify the development of network
applications.
1.2. RELATED DOCUMENTS
TBD
Sundance Digital Signal Processing Inc.
4790 Caughlin Parkway 233, Reno, NV 89519-0907, U.S.A.
Tel: +1 (775) 827-3103, Fax: +1 (775) 827-3664, email: sales@sundancedsp.com
www.sundancedsp.com
2. REQUIEREMENTS
To develop with the SMT6060, you need
Code Composer Studio. v3.1 or later
•
o Code composer is used to compile programs for the TI DSPs in the network.
3L Diamond RTOS version 3.1.4 or later
•
Diamond is used as an RTOS that enables any task on the network to access the SMT363.
o
SMT6001 v6.01 or later (recommended)
•
o The SMT6001 is a utility with which you manage the contents of the flash for Sundance
modules.
SMT6300 v3.07 or later (recommended)
•
o Low level driver support for the host machine.
Revision 0.4
Page 9 of 9
Sundance Digital Signal Processing Inc.
4790 Caughlin Parkway 233, Reno, NV 89519-0907, U.S.A.
Tel: +1 (775) 827-3103, Fax: +1 (775) 827-3664, email: sales@sundancedsp.com
www.sundancedsp.com
Revision 0.4
Page 10 of 10
3. CONNECTING THE HARDWARE
You should have received a cable that connects to the SMT363 module. This
cable provides an Ethernet connection as well as a RS232 connection to the
SMT363. Plug the RS232 port int o your development PC. Use HyperTerminal, and configure the
port to 9600 baud, 8-N-1.
Note:
This port will later be used to output debug information from the SMT363.
Figure 1 - SMT6060-TCPIP Hardware Connections
Sundance Digital Signal Processing Inc.
4790 Caughlin Parkway 233, Reno, NV 89519-0907, U.S.A.
Tel: +1 (775) 827-3103, Fax: +1 (775) 827-3664, email: sales@sundancedsp.com
www.sundancedsp.com