Transcript
PCIE-8120
Installation and Use P/N: 6806800R89C July 2014
©
Copyright 2014 Artesyn Embedded Technologies, Inc. All rights reserved.
Trademarks Artesyn Embedded Technologies, Artesyn and the Artesyn Embedded Technologies logo are trademarks and service marks of Artesyn Embedded Technologies, Inc.© 2014 Artesyn Embedded Technologies, Inc. All other product or service names are the property of their respective owners. Intel® is a trademark or registered trademark of Intel Corporation or its subsidiaries in the United States and other countries. Java™ and all other Java-based marks are trademarks or registered trademarks of Oracle America, Inc. in the U.S. and other countries. Microsoft®, Windows® and Windows Me® are registered trademarks of Microsoft Corporation; and Windows XP™ is a trademark of Microsoft Corporation. PICMG®, CompactPCI®, AdvancedTCA™ and the PICMG, CompactPCI and AdvancedTCA logos are registered trademarks of the PCI Industrial Computer Manufacturers Group. UNIX® is a registered trademark of The Open Group in the United States and other countries.
Notice While reasonable efforts have been made to assure the accuracy of this document, Artesyn assumes no liability resulting from any omissions in this document, or from the use of the information obtained therein. Artesyn reserves the right to revise this document and to make changes from time to time in the content hereof without obligation of Artesyn to notify any person of such revision or changes. Electronic versions of this material may be read online, downloaded for personal use, or referenced in another document as a URL to an Artesyn website. The text itself may not be published commercially in print or electronic form, edited, translated, or otherwise altered without the permission of Artesyn. It is possible that this publication may contain reference to or information about Artesyn products (machines and programs), programming, or services that are not available in your country. Such references or information must not be construed to mean that Artesyn intends to announce such Artesyn products, programming, or services in your country.
Limited and Restricted Rights Legend If the documentation contained herein is supplied, directly or indirectly, to the U.S. Government, the following notice shall apply unless otherwise agreed to in writing by Artesyn. Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (b)(3) of the Rights in Technical Data clause at DFARS 252.227-7013 (Nov. 1995) and of the Rights in Noncommercial Computer Software and Documentation clause at DFARS 252.227-7014 (Jun. 1995).
Contact Address Artesyn Embedded Technologies
Artesyn Embedded Technologies
Marketing Communications
Lilienthalstr. 17-19
2900 S. Diablo Way, Suite 190
85579 Neubiberg/Munich
Tempe, Arizona 85282
Germany
Contents
About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.1 1.2 1.3 1.4 1.5
2
Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 2.1 2.2
3
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Programming Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Hardware Preparation and Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.1 3.2 3.3
3.4
4
Features Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Software Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Standard Compliances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Ordering/Support Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Mechanical Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Unpacking and Inspecting the Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Environmental, Thermal, and Power Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.3.1 Environmental and Thermal Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.3.2 Power Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Card Installation and Removal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.4.1 Installation Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.4.2 Removal Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Software Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 4.1 4.2 4.3 4.4
4.5
Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Installing Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 PCIE-8120 Software Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Configuration Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 4.4.1 Initialization of the Card. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 4.4.2 Setting up the Host. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 4.4.3 Starting the DSPs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Demo Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 4.5.1 Executing Demo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
PCIE-8120 Installation and Use (6806800R89C)
3
Contents Contents
5
Application Development Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 5.1 5.2 5.3
A
Application Development . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Application Development Tool Kit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 5.2.1 Octasic Linux Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Octasic DSP Firmware image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 5.3.1 Octasic DSP Firmware image creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 5.3.2 12xDSP Audio Transcode Demo. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
PCIE-8120 External Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 A.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 A.2 PCIE-8120 Card Edge Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 A.3 J1/J2 External Ethernet Connector s/w status LEDs (not available on -N versions) . . . . . . . . . . . 52 A.4 P2 External ATX 6-Pin Power Connector (only on -N versions) 53 A.5 Debug Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 A.6 P3 Fan Unit Connector (Optional component) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
B
PCIE-8120 Hardware Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 B.1 B.2 B.3 B.4 B.5 B.6 B.7
B.8 B.9
4
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Block Diagrams for PCIE-8120 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Card Reset Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Power Supply Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Card Clock Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Ethernet NIC - i82580EB/DB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 B.6.1 NV-Memory-NIC Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Ethernet Switch Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 B.7.1 Main Switch Unit (MSW) - BCM5396 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 B.7.2 Video Switch Unit (VSW) - BCM5396 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 B.7.3 Ethernet Port Mappings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Media Flow Aggregator (MFA) Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Glue Logic - CPLD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 B.9.1 Card Power Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 B.9.2 Interfaces and S/W control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 B.9.2.1 MDIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 PCIE-8120 Installation and Use (6806800R89C)
Contents
B.9.2.2 Card Variant MOD_ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 B.9.2.3 Card BASE_ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 B.9.2.4 Opus Debug Port Multiplexer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 B.9.2.5 SMBus and PVT_I2C Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 B.9.2.6 Debug LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 B.9.3 CPLD Upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 B.10 DSP Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 B.10.1 DSP Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 B.10.2 DDR3 Memory Subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 B.10.3 Ethernet MAC Engines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 B.10.4 Boot Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 B.10.5 DSP Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 B.10.6 DSP 25MHz Clock Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 B.10.7 OPUS Debug Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 C
Known Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 C.1 C.2
D
Miscellaneous. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 D.1 D.2 D.3 D.4
E
OctSetup Known Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 DSP Known Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
OctSetup: Internal Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Identifying the Card at PCI-Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Serial Number of the card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 12xDSP Audio Transcode Voip Channel Demo Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 D.4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 D.4.2 Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 D.4.3 Running Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 E.1 E.2
Artesyn Embedded Technologies - Embedded Computing Documentation . . . . . . . . . . . . . . . . 91 Related Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
PCIE-8120 Installation and Use (6806800R89C)
5
Contents Contents
Safety Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Sicherheitshinweise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
6
PCIE-8120 Installation and Use (6806800R89C)
List of Tables
Table 1-1 Table 1-2 Table 3-1 Table 3-2 Table 3-3 Table A-1 Table A-2 Table A-3 Table B-1 Table B-2 Table B-3 Table B-4 Table B-5 Table B-6 Table E-1 Table E-2
Standard Compliances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Available Board Variants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Environmental and Thermal Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Wattage Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Power Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 PCIE-8120 Card Edge Connector Pin out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 ATX PWR Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Opt. fan unit connector Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Card Variant MOD_ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Sensor alert default values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 LED Error Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 LED Error code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Ethernet Physical Interface Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 DSP Control Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Artesyn Embedded Technologies - Embedded Computing Publications . . . . . . . . . . . . . . 91 Related Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
PCIE-8120 Installation and Use (6806800R89C)
7
List of Tables
8
PCIE-8120 Installation and Use (6806800R89C)
List of Figures
Figure 1-1 Figure 1-2 Figure 5-1 Figure 5-2 Figure A-1 Figure B-1 Figure B-2 Figure B-3 Figure B-4 Figure B-5 Figure B-6 Figure B-7 Figure B-8 Figure B-9 Figure B-10 Figure B-11 Figure D-1 Figure D-2
Software Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mechanical Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Octasic Firmware Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Files in firmware build . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCIE-8120 Primary and Secondary Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Card Block Diagram PCIE-8120-A12/V12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Card Block Diagram PCIE-8120-A04 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Card Block Diagram PCIE-8120-A12-N/V12-N . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Card Reset Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Board Power Supply Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Card Clock Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Port Mapping PCIE-8120-A12/V12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Port Mapping PCIE-8120-A04 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Port Mapping PCIE-8120-A12-N/V12-N . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SMBus and PVT_I2C bus connection diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Temperature Sensor Location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Host Network Set up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PCIE-8120 Installation and Use (6806800R89C)
18 21 41 44 50 56 57 58 59 60 61 64 65 66 70 72 83 87
9
List of Figures
10
PCIE-8120 Installation and Use (6806800R89C)
About this Manual
Overview of Contents This manual is divided into the following chapters and appendices.
Introduction on page 17 gives a brief overview of the product features, standard safety compliances and ordering information.
Functional Description on page 23 describes media processing functions of the component.
Hardware Preparation and Installation on page 25 includes a procedure for unpacking the product, environmental and power requirements, additional required equipment, installation, and removal instructions.
Software Installation on page 31 includes prerequisites, software packages, software installation, and demo application.
Application Development Overview on page 39 includes application development kit, octasic Digital Signal Processor (DSP) firmware image creation, and 12xDSP audio transcode demo application.
Appendix A, PCIE-8120 External Connectors, on page 49 describes the board layout, board LEDs, and connectors.
Appendix B, PCIE-8120 Hardware Description, on page 55 includes block diagrams and functional description of major components.
Appendix C, Known Issues, on page 81 describes known issues of octSetup and DSP connection.
Appendix D, Miscellaneous, on page 83 describes octSetup, card identification on PCI-Bus, and Serial number of the card.
Related Documentation on page 91 provides a listing of related product documentation, manufacturer’s documents and industry standard specifications.
Safety Notes on page 93 describes the safety information which has to be regarded.
Sicherheitshinweise on page 97 provides a German translation of the chapter “Safety Notes”.
PCIE-8120 Installation and Use (6806800R89C)
11
About this Manual
About this Manual
Abbreviations This document uses the following abbreviations: Abbreviation
Definition
API
Application Programmers Interface
ATX
Advanced Technology Extended
BGA
Ball Grid Array
CEM
Card Electro Mechanical
CISPR
Comité Internationale Spécial des Perturbations Radioelectrotechnique
CPLD
Complex Programmable Logic Device
DC
Direct Current
DDR
Double Data Rate
DHCP
Dynamic Host Configuration Protocol
DRAM
Dynamic Random Access Memory
DSP
Digital Signal Processor
EMC
Electromagnetic Compatibility
EMV
Elektromagnetische Verträglichkeit
EN
European Norm
ESD
Electrostatic Discharge
ETH
Ethernet
ETSI
European Telecommunications Standards Institute
FCC
Federal Communications Commission
FPGA
Field Programmable Gate Array
Gbps
Gigabit per second
I/O
Input Output
ID
Identifier
IEC
International Electro technical Commission
IP
Internet Protocol
12
PCIE-8120 Installation and Use (6806800R89C)
About this Manual
Abbreviation
Definition
JTAG
Joint Test Action Group
LED
Light Emitting Diode
LV
Low Voltage
MAC
Media Access Controller
MDIO
Management Data I/O
MFA
Media Flow Aggregator
MGW
Media Gateway
MSW
Main Switch
NEBS
Network Equipment Building Standards
NIC
Network Interface Controller
NVRAM
Non-Volatile Random Access Memory
OCTVOC
Internal code name for Octasic DSP 1010
OCTVOC2
Internal code name for Octasic DSP 2224M (equipped on PCIE-8120)
OCTVOC2_EB
Internal code name for Octasic Evaluation Board equipped with DSP 2224M
OS
Operating System
PCB
Printed Circuit Board
PCI
Peripheral Component Interconnect
PCI-E
Peripheral Component Interconnect Express
PHY
Physical Layer Access Device
S/W
Software
SELV
Safety Extra Low Voltage
SerDes
Serializer-Deserializer
SGMII
Serialized Gigabit Media Independent Interface
SMBus
System Management Bus
SPI
Serial Protocol Interface
TPE
Twisted-Pair Ethernet
PCIE-8120 Installation and Use (6806800R89C)
13
About this Manual
About this Manual
Abbreviation
Definition
TFTP
Trivial File Transfer Protocol
UL
Underwriters Laboratories Incorporated
VCCI
Voluntary Control Council for Interference
VSW
Video Switch
Conventions The following table describes the conventions used throughout this manual. Notation
Description
0x00000000
Typical notation for hexadecimal numbers (digits are 0 through F), for example used for addresses and offsets
0b0000
Same for binary numbers (digits are 0 and 1)
bold
Used to emphasize a word
Screen
Used for on-screen output and code related elements or commands in body text
Courier + Bold
Used to characterize user input and to separate it from system output
Reference
Used for references and for table and figure descriptions
File > Exit
Notation for selecting a submenu
Notation for variables and keys
[text]
Notation for software buttons to click on the screen and parameter description
...
Repeated item for example node 1, node 2,..., node 12
.
Omission of information from example/command that is not necessary at the time being
. . ..
14
Ranges, for example: 0..4 means one of the integers 0,1,2,3, and 4 (used in registers) PCIE-8120 Installation and Use (6806800R89C)
About this Manual
Notation
Description
|
Logical OR Indicates a hazardous situation which, if not avoided, could result in death or serious injury
Indicates a hazardous situation which, if not avoided, may result in minor or moderate injury
Indicates a property damage message
No danger encountered. Pay attention to important information
Summary of Changes This manual has been revised and replaces all prior editions. Part Number
Publication Date
Description
6806800R89A
March 2013
Initial version.
6806800R89B
July 2013
Updated 6806800R89A.
6806800R89C
July 2014
Re- branded to Artesyn template.
PCIE-8120 Installation and Use (6806800R89C)
15
About this Manual
16
About this Manual
PCIE-8120 Installation and Use (6806800R89C)
Chapter 1
Introduction
1.1
Features Summary The PCIE-8120 is Octasic Digital Signal Processor (DSP) based PCI Express card for rack mount server based installations in a telecom network environment. The PCIE-8120 media processing accelerator enables high density voice and video processing to be integrated into a rack mount server or other network appliances that feature standard PCI Express slots. The following are PCIE-8120 hardware components and its features:
1.2
Full height, full-length single slot PCIe add-in card with x4 PCIe interface.
High performance media processing core, based on power efficient DSPs.
Comprehensive voice and video processing firmware and programmers interface included.
Assembly variants with 4, 8 or 12 DSP building blocks.
Optional 2 x GbE ports (RJ45) with network address translation (NAT) function for direct network attachment providing server off load.
Support for 720p and 1080p video conferencing (each DSP has 2 x 1Gb/s data path).
Card can operate either from slot power or from an external connector for NEBS variant, which requires 3.3V if operated through the slot.
Power envelope of 75 Watts for > 4 DSP slot powered versions.
Designed for NEBS level 3 and ETSI telecom standards compliance when used in a suitable carrier grade enclosure that provides sufficient airflow.
Software Components Following are the software components used to configure the PCIE-8120 card:
The PCIE-8120 card support software.
The Octasic Vocallo Media Gateway (MGW) application software.
PCIE-8120 Installation and Use (6806800R89C)
17
Introduction
The following figure provides an architectural overview of the PCIE-8120 software: Figure 1-1
Software Diagram
The PCIE-8120 support software configures the PCIE-8120 card, sets up the switches to which the DSPs are connected, and initializes the card. The user application manages the Vocallo media processing services through a packet based Application Programmers Interface (API). The portable transport API library allows user application to interact with the packet interface. 18
PCIE-8120 Installation and Use (6806800R89C)
Introduction
1.3
Standard Compliances This product is designed to meet the following standards when installed in an appropriate system environment: Table 1-1 Standard Compliances Standard
Description
UL 60950-1
Legal safety requirements
EN 60950-1 IEC 60950-1 CAN/CSA C22.2 No 60950-1 CISPR 22 CISPR 24
EMC requirements (legal) on system level (predefined Artesyn system)
EN 55022 EN 55024 FCC Part 15 Industry Canada ICES-003 VCCI Japan AS/NZS CISPR 22 EN 300 386 NEBS Standard GR-1089 CORE NEBS Standard GR-63-CORE
Environmental requirements
ETSI EN 300019 series PCI-SIG CEM Rev.2.0
PCIE-8120 Installation and Use (6806800R89C)
PCI Express Card Electromechanical Specification Revision2.0
19
Introduction
1.4
Ordering/Support Information When ordering card variants or requesting support information, use the order numbers given in the following table: Table 1-2 Available Board Variants
20
Order Number
Number of DSPs
Est.Max Power @35C
Est.Max Power @NEBS
External GbE ports
Slot or Ext Power
Video SW Support
PCIE-8120-A12
12
55W
65W
Yes
Slot
No
PCIE-8120-V12
12
55W
65W
Yes
Slot
Yes
PCIE-8120-A04
4
23W
27W
Yes
Slot
No
PCIE-8120-V04
4
23W
27W
Yes
Slot
Yes
PCIE-8120-A08
8
39W
46W
Yes
Slot
No
PCIE-8120-V08
8
39W
46W
Yes
Slot
Yes
PCIE-8120-A12-N
12
53W
63W
No
Ext
No
PCIE-8120-V12-N
12
53W
63W
No
Ext
Yes
PCIE-8120 Installation and Use (6806800R89C)
R6034
R6032
R6041
R6035 R6031
C6017
R6431
C6052
C6016
C6456
C6416
C6053
C6021
C6051
C6023
C6451
C6421
C6424
C6426
U6000
U6400
R6060
R6061
C6001
R6063
R6062
C60021
C60041
C60031
C60051
C61032 C61022 C61020 C61030
C60020
C60040
C60030
C60050
C61023
C61033
C61031
C61021
C6100 R6163 R6162 R6160 R6161
C6101
M5 C6000
C64031
C6401
R6463
R6462
R6460
R6461
C64032
C64022
C64020
C64030
C65030
C65020
C65022
C65032
R6561
R6560
R6562
R6563
C6501
C65031
C65021
C65023
C65033
C6500
M7 C6400
C64021 C64023 C64033
U6100
U6500
C6151
C6156
C6122
C6125
C6525
C6523
C6552
C6521
C6116
C6152
C6118
R6135
R6131
R6132
R6141
R6535
R6531
R6532
R6541
C6517
M15
C6510
C6551
R6134
R6534
C6121
C6154
C6150
C6522
C6512
C6526
C6120
C6516
Y8001
U4150
C80321
C80003
C80320
C80002
C80221
C80220
R361 C261
C41113
C41111
C41112
C41110
C4153
C4152
C4151
C41153
C41152
C41151
C41150
R294
AB1
C6918
R6934
C6921
C6926
C6910
C4113
C4111
C4112
C4110
A9
C80053
C80043
C80312
C80313
C80051
C80041
N1
L5430
U4100
C5435
C5437
C5440
U5440
R5443
U5430
R5433
C5447
C8027
C8026
C80526
C80527
C80044 C80054 C80113 C80112
L5440
13
P2
U12
L5501
U9000
L5500 5
C5524
R9047 R90239
R9046
R90238
M16
5
C6210
C6610
C7010
C6220
C6224
C6222
C6620
C6626
C6621
C7016
C7026
C7021
R6239
R6234
R6232
R6241
R6231
R6235
C6218
C6217
C6254
R6635 R6631
R7032
R7035
C7018
R7041
R7031
C6618
R6641
R6632
M17
R6634
R7034
C6255
C6216
C6652
C6616
C7052
C7012
C6251
C6221
C6223
C6225
C6653
C6622
C6625
C6623
C7053
C7022
C7023
C7025
C7020
U6200
U6600
U7000
C6303
C6302
M6 R6260
R6261
R6262
R6363
R6265
R6264
R6362
C6203
R6361
R6360
R6364
R6365
R6263
C6202
R6660
C6703
C6702
R6663
R6662
R6762
R6763
R6665
R6664
R6661
M8 R6764 R6760
R6765
R6761
C6600 C6603
C6601
C6602
C70011 R7163
C7100
C7103
C7000
C70001
C7102
R7062
R7060
R7063 C70013
R7061
M10 C70003
C7003
R7160
C7001 R7164
R7165
R7162
C7101
C70002
R7161
C70012
C7002
U6300 R5509
R5508
U6700
U7100
A22
R6935
R6932
R6941
C5519
AB1
C6952
C6916
U8000
R8000
C4150
T1
U4200
C82003
C82002
C80018
C80001
C80016
C80019
C80000
C82018
C82000
C82019
C82001
C82016
C80017
C6925
C6923
C6922
C5530
A22
C6417
R6441
R6435 R6432
N1
C6020
C6026
C6022
M*
R6434
C82017
A9
C5620 C5627
C6012
C6420
C6425
C6422
C6903
C6902
C6126
U6900
C5446
C5525
R6240
Q5601
C5628
C5629
C5621 C5626
C6410
R6860
R6861
M9 R6963
R293
C11
C5623
C5622
C10
Q5600
U17
C6851
R6962
R6960
R6964
R6965
R6862
R6865
R6864
R6863
C6803
R80239
C6920
C5436
C257
AAA
29
C5401
C6855
U6800
R6931
C6750
C6326
C6323
C6322
C6351
C6725
C6723
C6751
C6721
C7126
C7124
C7122
C7153
C6316
C6355
C6325
M*
C6710
C6755
C7120
C7152
C6317
R6331
R6335
R6332
R6341
C6718
C7118
R6735
R6731
R6732
R6741
C227
R226
R7135
R7132
R7131
R7141
R6334
C6312
C6324
C6321
C6315
R6734
R72
C47
C5406
U5400
C5408
R6831
C6821
C6826
C6953
R6340
R70
C52
C53
C48
R112
R113
C54073 C54072 C54071 C54070
U1002
C6820
C6816
R6961
R6338
R6339
R68
R71
R6138 C6115
T16 A16
C6025
U5004 U5005
R6841
R6832
R6835
C6802
R7134
R228
C6722
C6712
C6724
R227
C7121
C7123
C7150
C6310
C6716
C7112
R229
R230
AAA
M12
C54273
C54272
C54271
C5426
C5421
C54270
U5420
C5428
C54171
C54173
C54170
C5416
C5411
C54172
U5410
K
K
K
K
K
K
K K
M14
C5418
AAA
P4200
C150
E32
R256
R67
R255
M11
43
15
P5001
P99
R343
C932
C926
C6825
C6824
C7151
C6314
R263
C6715
C5438 R292
C6214 C6215 C6614
R6238 R6639
R69
R6738
C68
C73
C77
C81
R151
C258
R5102
R818
R819
C6818
U18
C6352
C6726
C6754
C7125
AB1 AB1 AB1
R360
L5420
L5410
C70
R6421
C84
C85
C963
R6834
C7051
C5448 C80322
C6318
C6717
C7117
R6333
R6733
R7133
A22 A22 A22
R6233 R6633 R7033
C5441
C6226 C6651 C6624 C7024
R6638 R7039 R7038
C6617 C7017
R6640 R7040
A16
C908 C907
C6822
C8
C6615 C7014 C7015
T1 C5521
C233
C5431 C80323 C80223
T1
C256 A16 C5523
R6133 R6533
Y4200 R6933
C80331 C80231
C260 C80330 C80230
A16
C6117 C6518
R6140 R6540
C6153 C6524 C6556
R6139 C6515 R6538
U8
U1000 T1
C6810
C5522
R152
C76
R348
R260
R817
AB1
C920
C919
AB1
R6040
U45
B32
C9
R6740
R7140
C80
R328
P1
A22
C6114 C6514
A22
299.25 304.50
C5529
C6714
C7115
C7114
C83 R154
P3
B12
C6823
R8047 C6914
C6414
C54
J1
C37
C22
C17
C25
R137
B11
R6833
C6015 C6014
R6039 R6038 R6439 R6438
21
PCIE-8120 Installation and Use (6806800R89C)
C6924 C6951
R6739
R7138
R7139
C5528
R6839 R6838
Y9000
Q5501 C5520
C6854 C6817
R8046 C6915 R6938 R6939
R6840
Y8000 C5526
C921 C922
U19 C6917
C06201 R06201
A22 T1
C80222
Q5500 C5527
C6814 C6815
C6024 C6455
C6018 C6418
C49
U2
R280
R80238 R6940
R282
C5405
E8 C45
5
B1
R846
R844
U452 R279
R6440
C5625 R845
R275
C6415
C5619 R1 C923
C6423
C5630 C232 R277
R6033 R6433 U5006
A16
C5624 L5400 R281 R283
C59
J2
C20
C16
C28
C30
C18
C254
D5305
R5403 D5307
U1001
DN5 DN6 R259
D1
5 D5306
R350
DN7 DN8 R315 R316
C50 C46
J3 Q3
7.50 49.65
D5301
C24
U10 R314
R144 C19
U4203 R313 R327
C64 C23
L5601 D5302
R136
C250
U1 C57 C21
L5600 D5303 R300
E3
M13
D5304 R342
R258 D5300 E31
R135
15
C51
29
43
R6539
Mechanical Layout Figure 1-2
11
Mechanical Data 1.5
11
Introduction
The outline of the PCIE-8120 card and dimensions are shown in Figure 1-2.
101.80 85.40 40.55 29.95 4.85
AB1
94.55
5.02 A22 AB1
AB1
A22
Introduction
The PCB size according to PCI-SIG CEM specifications is:
22
Height=101.80 mm.
Length=304.50 mm.
PCIE-8120 Installation and Use (6806800R89C)
Chapter 2
Functional Description
2.1
Overview PCIE-8120 is based on the Octasic OCT2224M multi-core DSP running Vocallo MGW firmware. The DSP array performs media processing acceleration for a host server, supporting both voice and video conferencing and transcode applications. Media acceleration performance depends on both the codecs required and the number of DSPs available. A variety of board configurations allow differences in application needs and server capabilities, and include a choice of 4, 8 and 12 DSPs, with maximum power consumption between 25W and 65W. NOTE: An external power connector option is available only for NEBS variant. Media streams for transcoding are typically RTP/UDP/IP streams that go to the DSP array. The functions that can be applied to each media stream are determined by the capabilities of the Vocallo MGW firmware. For more information on the media processing functions, see PCIE8120 Data Sheet. Media streams can be routed to the DSPs either via the host CPU or optionally via two external Gigabit Ethernet ports provided for direct traffic termination. In this configuration, packets for transcode can bypass the host computer entirely, while a special Network Address Translation (NAT) device makes the board appear as a single IP address to external networks.
2.2
Programming Model The internal data flows of the board are all based on Gigabit Ethernet connections with all DSPs accessible via a local Ethernet switching subsystem. Host access to all the DSPs is via a 2 x 1Gb/s PCI Ethernet controller. The Ethernet switching subsystem also supports two 1Gb/s links to each DSP to support special 1080p video conferencing modes. Based on the number of DSPs, this is provided by either one or two on-board Ethernet switches. For more details, see the block diagrams in PCIE-8120 Hardware Description on page 55. For most applications, this detail is invisible to the application. A comprehensive host-based Media Processing Application Programmers Interface is provided. This is used to configure and execute voice and video stream processing functions on the DSPs. The API commands communicate directly with the DSP array based on an endpoint and stream resource model. A non-blocking command/response protocol supports multichannel programming efficiency.
PCIE-8120 Installation and Use (6806800R89C)
23
Functional Description
Additional board support utilities can set the board's internal switching infrastructure into various modes, and provide diagnostic information.
24
PCIE-8120 Installation and Use (6806800R89C)
Chapter 3
Hardware Preparation and Installation
3.1
Overview In this chapter, you can find information on the following topics:
3.2
Unpacking and inspecting the card.
Environmental, thermal, and power requirements.
Card installation and removal.
Unpacking and Inspecting the Card
Damage of Circuits Electrostatic discharge and incorrect installation and removal of the card can damage circuits or shorten their life. Before touching the card or electronic components, make sure that your are working in an ESD-safe environment.
Shipment Inspection To inspect the shipment, perform the following steps:
1. Verify that you have received all items of your shipment:
PCIE-8120 card.
Any optional items ordered.
2. Check for damage and report any damage or differences to the customer service.
PCIE-8120 Installation and Use (6806800R89C)
25
Hardware Preparation and Installation
3. Remove the desiccant bag shipped with the card and dispose it according to your country’s legislation. The card is thoroughly inspected before shipment. If any damage has occurred during transportation please contact our customer service immediately.
3.3
Environmental, Thermal, and Power Requirements The following environmental, thermal, and power requirements are applicable to the card:
3.3.1
Environmental and Thermal Requirements You must make sure that the card, when operated in your particular system configuration, meets the environmental requirements specified below: Operating temperatures refer to the temperature of the air circulating around the card and not to the component temperature.
High humidity and condensation on the card surface causes short circuits. Do not operate the card outside the specified environmental limits. Make sure that the card is completely dry and there is no moisture on its surface before applying power.
26
PCIE-8120 Installation and Use (6806800R89C)
Hardware Preparation and Installation
Table 3-1 Environmental and Thermal Requirements Requirement
Operating
Non-Operating
Temperature
0xC to +55xC
-40xC to +70xC
Forced Air Flow
recommended >0.5m/s
-
Temp. Change
+/-0.25xC/min
+/-0.25xC/min
Rel. Humidity
5% to 90% non-condensing
5% to 95% non-condensing
Vibration
1g sinusoidal
1g sinusoidal
5 to 200Hz
The PCIE-8120 temperature sensors provide alerts about absolute and delta temperature level on the card. For more information on the default values to set up sensor alarms, see Sensor Alert Default Values, Table B-2 on page 74.
3.3.2
Power Requirements Before installing the card, make sure that the system is capable to safely deliver the required power.Typical wattage status is given for the following operating conditions:
Table 3-2 Wattage Status Wattage Status
Description
Idle
Card powered and is in the default reset state.
Active
Power good status on all DSP operations.
Maxload
Maximum load test condition (Not achieved during normal operation).
Table 3-3 Power Requirements PCIE-8120-A12/V12
PCIE-8120-A04/V04
PCIE-8120-A12/V12-N
<100mA
<100mA
<100mA
Idle
20W
12W
20W
Active
35W
15W
32W
Maxload
65W
25W
70W
3.3V current Typ.Wattage
PCIE-8120 Installation and Use (6806800R89C)
27
Hardware Preparation and Installation
Table 3-3 Power Requirements
12V max. current
PCIE-8120-A12/V12
PCIE-8120-A04/V04
PCIE-8120-A12/V12-N
5.5A
2.1A
6A
3.4
Card Installation and Removal
3.4.1
Installation Procedure Ensure that the rack mount server area can hold the full height/length PCIE-8120 card. The rack mount server provides snap-in fixation or screw holes. Other servers provide additional card retainer part. The PCIE-8120 card requires PCIE x4 connector size. It should be installed in a minimum x4 wide slot, typically or x8 or x16 slot. Ensure that the I/O slot can supply a power envelope via the 12V supply rail.The PCIE-8120 card can be powered-up in any slot with minimum power supply of 25W (i.e., any x4, x8, or x16 I/O slot). However, the PCIE-8120 card must be configured as a high power device to use the full 75W. For more power-up details on PCIE-8120 card, see Table 1-2 on page 20. For PCIE-8120, a reduced number of DSP can be taken into operation if the full 75W supply is not available. An external ATX power connector option is available only for NEBS variant. For this you need to order PCIE-8120 card with an external power connector. Cards with external power connectors cannot be recognized by the host without external power connection. Use the following steps to install the PCIE-8120 card into the rack mount server: 1. Use anti-static pads and attach an ESD strap to your wrist. Attach the other end of the ESD strap to an electrical ground (refer to Unpacking Guidelines). The ESD strap must be secured to your wrist and to ground throughout the procedure. 2. Identify the rack mount server to be used for installation. 3. Remove any filler panel that might fill that slot. 4. Continue to gently push the card along the guide rails till the card is fully engaged with the connector. Avoid excessive force during this operation. 5. Connect the cables appropriately.
28
PCIE-8120 Installation and Use (6806800R89C)
Hardware Preparation and Installation
3.4.2
Removal Procedure The following procedure describes how to remove the PCIE-8120 card from the rack mount server: 1. Make sure you are in an ESD safe environment. 2. Remove any cable that is connected to the card. 3. Power off the system before removing the card. 4. Gently pull the PCIE-8120 card to disconnect from the connectors. Continue to slide the card outward along the guide rails from the rack mount server. 5. Install the filler panel.
PCIE-8120 Installation and Use (6806800R89C)
29
Hardware Preparation and Installation
30
PCIE-8120 Installation and Use (6806800R89C)
Chapter 4
Software Installation
4.1
Prerequisites
Before installing the PCIE-8120 card, ensure that the following software packages are installed on your host: 1. vconfig 2. xinetd 3. net-tools 4. dhcp 5. tftp-server 6. pciutils 7. ethtool 8. policycoreutils-python (needed if SELinux is installed and enabled)
Download the following packages from the SWORDS portal or you can contact your local Artesyn support personnel to get them installed on your host: 1. PCIE-8120 support package: PCIE8120-.zip 2. Octasic software package: octasic-sdk-.zip 3. Documentation package: PCIE8120-doc-.zip
Follow the steps below for software installation: 1. Mount the card in your system. For more information on PCIE-8120 card installation, see Card Installation and Removal on page 28. 2. Install the software. For software installation procedure, see Installing Software on page 31. 3. Run the demo.
NOTE: Before starting the demo, refer to known issues section in C.1 on page 81.
4.2
Installing Software You must be a super user to install the packages or to execute some tools from the support package.
PCIE-8120 Installation and Use (6806800R89C)
31
Software Installation
Unpack and install the following rpm files: 1. The pcie8120-.zip file contains an RPM with the support package. Install the RPM with: # rpm -ihv pcie8120-.el6.x86_64.rpm. The installed software will be in /opt/bladeservices. 2. The octasic-sdk-.zip file contains two RPMs with the Octasic software and a support library. Install them with: # rpm -ihv sofia-sip-.el6.x86_64.rpm # rpm -ihv octasic-sdk-.el6.x86_64.rpm. The installed software will be in /opt/octasic. After the installation, add /opt/bladeservices/bin to the PATH variable of the user. export PATH = $PATH: /opt/bladeservices/bin
4.3
PCIE-8120 Software Package LIBRARY
The library is a C-programming interface provided for software development that provides access to the resources on the card.The components that can be accessed are: 1.
Switches The DSPs are connected to the ports of the switches. You can configure the switches.
2. CPLD The CPLD provides access to functions and components of the card. The CPLD controls the reset state of the DSPs and provide access to the onboard voltage and temperature sensors.
32
Installing the RPM creates the following folders and files: Folder
Description
/opt/bladeservices/bin
Contains tools.
/opt/bladeservices/share/doc/htm l
Contains documentation.
PCIE-8120 Installation and Use (6806800R89C)
Software Installation
4.4
Folder
Description
/opt/bladeservices/include
Includes PCIE-8120 header files.
/opt/bladeservices/lib
Contains PCIE-8120 library.
/opt/bladeservices/modules
Contains PCIE-8120 kernel module.
/opt/bladeservices/share/octasic
Contains specific configuration files to create firmware images for the DSPs.
Configuration Overview When first initialized, the board infrastructure is initialized into a default condition and the DSPs are held in reset waiting for the rest of the system to start up. When the DSPs are taken out of reset, DSPs send out DHCP DISCOVER messages to get a firmware image. Once the DSP retrieves its networking information from the DHCP-server, a firmware image is loaded to the DSP. The DSP automatically loads a firmware image via TFTP GET, in case a boot file provided in the DHCP response from the server. Otherwise, a firmware image should be uploaded using TFTP PUT to the DSP. The standard configuration assumes that DHCP and TFTP servers are already installed and configured on the system. The octSetup tool from the support software serves for setting up a standard configuration on both DHCP and TFTP servers locally on the system. When the DSP has loaded the right firmware image and is running, it is ready to handle media streams according to application control.
4.4.1
Initialization of the Card Initialize the PCIE-8120 card before you start using it. Call # pcie8120-init PCIe-8120 Initialization fdev00.00 ... ok. fdev00.01 ... ok. fdev00.02 ... ok. NOTE: To perform the initialization of all installed cards in the system, execute the above step once after every reboot.
PCIE-8120 Installation and Use (6806800R89C)
33
Software Installation
4.4.2
Setting up the Host Follow the steps below to set up the host: 1. Before setting up the host assume the default IP-address of the cards and the DSPs as 192.168.100.1. Execute the command below: # octSetup The following message displays when executing octSetup for the first time and can be ignored: SELINUX: labeling directory /var/lib/tftpboot with tftpdir _rw_t …libsemanage.dbase_llist_query: could not query record value (No such file or directory). 2. Execute the below command (If you want to setup a different IP-address): # octSetup --ipaddr=dd.dd.dd.dd Configuring the IP-address: The default format of is aa.bb.cc.dd. In that 'cc' denotes subnet value. Every card in the system gets its own subnet. The subnet of each card differs with the other based on their sequence of insertion. The subnet changes based on the formula aa.bb.[cc+Card#).dd and Card # denotes number of the card. By default, the first card takes the value as zero and it increments by 1 for each card. For example, assume that 192.168.100.1 is a sample IP-address. For the first card, the IP address will be 192.168.[100+0].1 which is equal to 192.168.100. 1 and for the second card it changes to 192.168.[100+1].1 that is equal to 192.168.101.1 and it increments respectively based on the number of cards inserted. The following message displays when executing octSetup for the first time and can be ignored: SELINUX: labeling directory /var/lib/tftpboot with tftpdir _rw_t …libsemanage.dbase_llist_query: could not query record value (No such file or directory).
34
PCIE-8120 Installation and Use (6806800R89C)
Software Installation
NOTE: Execute the above step1 or step2 only once. The configuration is persistent and is retained after system reboot.
4.4.3
Starting the DSPs After setting up the host, start the DSPs to load the image by executing the following command: # octService start all The Octasic firmware images are stored at /var/lib/tftpboot/pcie8120 directory. Now, the DSPs are taken out of reset. The DSP starts loading and executing the image. You can check the tftpboot directory given above, to evaluate whether DSPs have successfully loaded its image or not. The tftp load process is successful, if every DSP has stored its MAC addressspecific boot status file in tftpboot directory. Also, the boot status file’s binary content can be analyzed to check error status, version register, and progress counter. For more information, see Boot user guide listed in Table "Related Specifications" on page 91. Once the DSP firmware is loaded, you can execute the demo application.
4.5
Demo Application Artesyn provides a demo application for PCIE-8120, setting up 400 IP to IP channels (800 IP end points) per DSP, to transfer voice data from one DSP to another. The demo application monitors all DSPs (one after the other) and evaluates its status by providing statistical data. For more information with basic examples on configuring the DSPs with various codecs, refer to Octasic SDK folder /opt/octasic/application/sample/octvoc. Note: The demo is used to configure 12DSPs.
PCIE-8120 Installation and Use (6806800R89C)
35
Software Installation
4.5.1
Executing Demo The demo is used to configure the maximum number of VOIP connections on the PCIE-8120. For more information, see 12dsp_audio_transcode_net_api.c file at /opt/octasic/application/sample/octvoc/12dsp_audio_transcode_net_a pi/source location. To start the demo, execute the following: # cd /opt/octasic/application/sample/octvoc/12dsp_audio_transocde_net_a pi. To execute the demo, find MAC-address of your local interface to the card. Determine the network interface with the tool pcie8120-listdev. Associate the interface with device function MSW (example output): # pcie8120-listdev PCIE-8120-A12/V12#0 MSW0: 05:00.0 eth6 CPLD0: 05:00.1 eth7 VSW0: 05:00.2 eth5 The MAC address of this network interface (here eth6) can be retrieved by executing the command ifconfig: # ifconfig eth6 eth6
Link encap:Ethernet HWaddr 00:80:42:2C:7B:D8 inet addr:192.168.101.1 Bcast:192.168.101.255 Mask:255.255.255.0 inet6 addr: fe80::280:42ff:fe2c:7bd8/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2401552 errors:0 dropped:0 overruns:0 frame:0 TX packets:36880 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:725995492 (692.3 MiB) TX bytes:54316690 (51.8 MiB) Start the demo with the MAC address retrieved above: # ./12_dsp_audio_transcode_net_api 00:80:42:2C:7B:D8 1
36
PCIE-8120 Installation and Use (6806800R89C)
Software Installation
The first argument defines the MAC of the MSW network interface. The second argument defines the number of iterations. In the example above, just one loop is executed. To run continuously use -1 for the number of iterations: # ./12_dsp_audio_transcode_net_api 00:80:42:2C:7B:D8 -1
The test passes, if all of the “Err”, “Drop”, “Slip” counters are zero. In this case the following output is provided: *** Loop: 0 *** +-- VOC TERM MC STATISTICS (DSP 00) ---------------------| | | | | | | | | | | | | | | | | | | | | | | | |
RxOutPktCnt RxInSidPktCnt RxNoPktCnt RxBadPktTypeCnt RxBadRtpPayloadTypeCnt RxBadPktHdrFormatCnt RxBadPktLengthCnt RxMisorderedPktCnt RxLostPktCnt RxBadPktChecksumCnt RxUnderrunSlipCnt RxOverrunSlipCnt RxLastVocoderType RxVocoderChangeCnt RxMaxDetectedPdv RxDecdrRate RxMaxJitterCurrentDelay RxJitterEstimatedDelay RxJitterEstimatedDelay RxJitterClkDriftingCorrectionCnt RxMaxJitterInitializationCnt RxCircularBufferWriteErrCnt RxApiEventCnt TxCurrentVocoderType TxInPktCnt
PCIE-8120 Installation and Use (6806800R89C)
: : : : : : : : : : : : : : : : : : : : : : : : :
2457645 0 2448744 0 0 0 0 0 0 0 0 0 0 0 173 (in 125 us) 0 165 (in 125 us) 0 (in 125 us) 0 (in 125 us) 0 1 0 0 0 2456643 37
Software Installation
| | | | | | | | | | | | |
TxInBadPktPayloadCnt TxTimestampGapCnt TxTdmWriteErrCnt RxToneDetectedCnt RxToneRelayEventPktCnt RxToneRelayUnsupportedCnt TxToneRelayEventPktCnt TxApiEventCnt TxNoRtpEntryPktDropCnt ConnectionWaitAckFlag RxMipsProtectionDropCnt TxMipsProtectionDropCnt CallTimerMsec
: : : : : : : : : : : : :
0 0 0 0 0 0 0 0 0 0 0 0 61665
NOTE: The loop counter increments, each time the DSP 00 displayed. To know what happens if all of the “Err”, “Drop”, “Slip” counters are non-zero, see Appendix D, Running Software, on page 88.
38
PCIE-8120 Installation and Use (6806800R89C)
Chapter 5
Application Development Overview
5.1
Application Development Applications make use of both the board services tools and the media processing APIs. The board support tools are required to manage the setup and operation of the board, including bringing DSPs out of reset. The media processing application development software environment is provided by the Octasic Vocallo MGW SDK package. But during normal operation, it is also important to monitor the board temperature sensors using the board support tools in case of problems with the airflow.
5.2
Application Development Tool Kit Artesyn provides all the Octasic information to enable you to commence application development. The following is the information included in the application development tool kit:
Octasic Documentation
Octasic VOCALLO API source files
Octasic basic examples
Precompiled DSP firmware image file
Vocallo MGW SDK to match firmware image
Artesyn Demo application configuring all 12 DSPs at PCIE-8120
PCIE-8120 configuration files (csv and octvocfs.tar)
DSP firmware creation tool executable
PCIE-8120 Installation and Use (6806800R89C)
39
Application Development Overview
Audio license file
Debug tools
OCTVOC2 is the internal name for OCT2224M DSP devices that are equipped with the PCIE8120 card. Be aware that other software packages (OCTVOC=OCT 1010 DSP, OCTVOC2_EB=OCT2224M Evaluation Board) should not be used with PCIE-8120. For detailed documentation about the Octasic VOCALLO software, see readme.html file at the /opt/octasic/doc location.
5.2.1
Octasic Linux Tools Octasic provides tools for development and debugging. This tool package is provided for linux: File name: octconsole, ethloopback_test File location: /opt/octasic Documentation from octasic is provided inside the tool folders.
40
PCIE-8120 Installation and Use (6806800R89C)
Application Development Overview
5.3
Octasic DSP Firmware image Every Octasic DSP on the PCIE-8120 card loads the firmware code and it executes directly from external DRAM. The firmware image is loaded in the following way: Figure 5-1
Octasic Firmware Image
A sample DSP firmware image is provided for quick-start only. It has been built from the Octasic source code delivered with the package octasic-sdk. To get the latest version of the source code, code fixes, new codecs and appropriate license files, contact octasic.
PCIE-8120 Installation and Use (6806800R89C)
41
Application Development Overview
Boot status can be read by evaluating the stage1 and stage2 specific boot process progress counter, version register, error status and info field. DSP writes its boot status into boot_status. file located in the TFTP root directory (defaults are /var/lib/tftpboot or /tftproot). This write operation occurs when either the Stage2 process completes successfully (just prior to entering the application), or when an error is encountered (just before the Stage 2 process halts). These registers are valid only during the boot process.
The firmware image provided cannot be used with other revisions of Octasic VOCALLO APIs. It includes an audio license only. You need to create new firmware images with every new release or when changing pre-compiled options.
42
PCIE-8120 Installation and Use (6806800R89C)
Application Development Overview
5.3.1
Octasic DSP Firmware image creation Octasic provides an image creation tool, that allows the user to specify configuration options and the application object file to be included when creating the bootfile. The DSP firmware image creation application is provided with the package: File Name: oct2200_boot_img_gen File Location: /opt/octasic/bin Syntax: oct2200_boot_img_gen