Artesyn COMX-P2020 Installation

COMX-P2020 Module

Installation and Use
P/N: 6806800K97E February 2015
©
Copyright 2015 Artesyn Embedded Technologies, Inc.
All rights reserved.
Trademarks
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
2900 S. Diablo Way, Suite 190
Tempe, Arizona 85282
Lilienthalstr. 17-19
85579 Neubiberg/Munich
Germany

Contents

Contents
About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Safety Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Sicherheitshinweise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
1.2 Standard Compliances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
1.3 Mechanical Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
1.3.1 COMX-P2020 Mechanical Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
1.3.2 Heat Spreader Mechanical Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
1.3.3 Cooler Mechanical Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
1.4 Board Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
1.5 Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
1.5.1 Supported Board Models. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
1.5.2 Board Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
2 Hardware Preparation and Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2.1 Environmental and Power Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2.1.1 Environmental Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2.1.2 Thermal Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
2.1.3 Power Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2.2 Default Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2.3 Unpacking and Inspecting the Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2.4 Preparing the Installation Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2.5 Installing and Removing the Memory Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.6 Installing the MicroSD Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
2.7 Installing and Removing the Heat Spreader/Cooler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
2.8 Installing and Removing the Module on the Carrier Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
3 Controls, LEDs, and Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
3.1 Board Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
COMX-P2020 Module Installation and Use (6806800K97E)
3
Contents
Contents
Contents
3.2 Connectors and Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
3.2.1 COM Express Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
3.2.2 Default Switch Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
3.2.2.1 DIP Switch Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
3.2.2.2 PHY Address Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3.2.2.3 I2C Bus #1 Address setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3.2.2.4 I2C Bus #2 Address setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
3.2.2.5 Other Pin Strap Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
3.2.3 Debug Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
3.2.3.1 P1 JTAG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
3.2.4 Switches and LEDs for Debug Use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
3.3 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
4 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
4.1 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
4.2 Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
4.3 Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
4.3.1 SDRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
4.3.2 SD Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
4.3.3 SPI Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
4.3.4 EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
4.4 Video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
4.5 I2C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
4.5.1 I2C Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
4.5.2 I2C EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
4.5.3 PCA9545. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
4.5.4 DDR3 SPD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
4.5.5 RTC and Watchdog Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
4.6 Reset Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
4.7 LM75CIM-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
4.8 Interrupt Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
4.9 JTAG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
4.10 GPIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
4.11 UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
4.12 USB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
4
COMX-P2020 Module Installation and Use (6806800K97E)
Contents
4.13 PCI Express . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
4.14 Ethernet (eTSEC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
5 Maps and Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
5.1 Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
5.2 IRQ Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
5.3 Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
6 Firmware Upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
6.1 Upgrade Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
6.1.1 Host Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
6.1.2 Upgrade MicroSD Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
6.1.3 Upgrade SPI Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
7 Operating System and Driver Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
7.1 Supported Operating Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
7.2 Supported Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
A Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
A.1 Artesyn Embedded Technologies - Embedded Computing Documentation . . . . . . . . . . . . . . . . 97
A.2 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
COMX-P2020 Module Installation and Use (6806800K97E)
5
Contents
Contents
Contents
6
COMX-P2020 Module Installation and Use (6806800K97E)
List of Tables
Table 1-1 Standard Compliances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 1-2 Mechanical Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 1-3 Available Board Variants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Table 1-4 Available Board Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Table 2-1 Environmental Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Table 2-2 Critical Temperature Spots for COMX-P2020 Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Table 2-3 Module Total Power Consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Table 2-4 Default Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Table 3-1 COM Express Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Table 3-2 DIP Switch Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Table 3-3 s3_23 Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Table 3-4 s3_14 Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Table 3-5 s7_23 Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Table 3-6 s7_14 Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Table 3-7 PHY Address Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Table 3-8 I2C Bus #1 Address setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Table 3-9 I2C Bus #2 Address setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Table 3-10 CPU Debug (P1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Table 3-11 GE PHY Debug (Test Point14-19) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Table 3-12 Debug Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Table 3-13 Debug Leds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Table 3-14 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Table 4-1 GPIO Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Table 4-2 Initialization Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Table 5-1 Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Table 5-2 IRQ Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Table 7-1 Driver Controller Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Table A-1 Artesyn Embedded Technologies - Embedded Computing Publications . . . . . . . . . . . . . . 97
Table A-2 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
COMX-P2020 Module Installation and Use (6806800K97E)
7
List of Tables
8
COMX-P2020 Module Installation and Use (6806800K97E)
List of Figures
Figure 1-1 Declaration of Conformity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Figure 1-2 COMX-P2020 Mechanical Dimensions (Top and Side View) . . . . . . . . . . . . . . . . . . . 24
Figure 1-3 Heat Spreader Mechanical Dimensions (Front and Side View) . . . . . . . . . . . . . . . . . 25
Figure 1-4 Heat Spreader (Rear View) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Figure 1-5 Cooler Mechanical Dimensions (Front and Side View) . . . . . . . . . . . . . . . . . . . . . . . . 27
Figure 1-6 Cooler (Rear View) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Figure 1-7 Serial Number Location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Figure 2-1 MicroSD Card Slot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Figure 3-1 COMX-P2020 Module Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Figure 3-2 COMX-P2020 Module Components (Rear View) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Figure 3-3 Location of LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Figure 4-1 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Figure 4-2 P2020 Processor Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Figure 4-3 SPI Area for U-boot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Figure 4-4 Reset Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Figure 4-5 Interrupt Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
COMX-P2020 Module Installation and Use (6806800K97E)
9
List of Figures
10
COMX-P2020 Module Installation and Use (6806800K97E)

About this Manual

Overview of Contents

This manual is divided into the following chapters and appendices.
Safety Notes summarizes the safety instructions in the manual.
Sicherheitshinweise is a German translation of the Safety Notes chapter.
Introduction gives an overview of the features of the product, standard compliances,
mechanical data, ordering information, and board identification.
Hardware Preparation and Installation outlines the installation requirements, hardware
accessories, switch settings, and installation procedures.
Controls, LEDs, and Connectors describes external interfaces of the board. This includes
connectors and LEDs.
Functional Description includes a block diagram and functional description of major
components of the product.
Firmware Upgrade describes the procedures in upgrading the firmware.
Operating System and Driver Support lists the drivers and operating systems supported by
the product.
Related Documentation provides a listing of related product documentation,
manufacturer’s documents, and industry standard specifications.

Abbreviations

This document uses the following abbreviations:
Abbreviation Definition
COM Express Computer-on-Module Express
COP Common On-chip Processor
CRC Cyclic Redundancy Check
DDR Double Data Rate
DMA Direct Memory Access
DRAM Dynamic Random Access Memory
COMX-P2020 Module Installation and Use (6806800K97E)
11
About this Manual
Abbreviation Definition
DUART Dual Universal Asynchronous Receiver/Transmitter
ECC Error Correction Code
EEPROM Electrically Erasable Programmable Read- Only Memory
FCC Federal Communications Commission
I2C Inter IC
JTAG Joint Test Access Group
PCI-X Peripheral Component Interconnect -X
PIC Programmable Interrupt Controller
PLL Phase-Locked Loop
RGMII Reduced Gigabit Media Independent Interface
RTC Real-Time Clock
RTM Rear Transition Module
About this Manual
SATA Serial AT Attachment
SDRAM Synchronous Dynamic Random Access Memory
SMT Surface Mount Technology
SO-UDIMM Small-Outline and Unbuffered Dual In-line Memory Module

Conventions

The following table describes the conventions used throughout this manual.
Notation Description
0x00000000 Typical notation for hexadecimal numbers (digits are 0
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
Courier + Bold Used to characterize user input and to separate it from
12
through F), for example used for addresses and offsets
commands in body text
system output
COMX-P2020 Module Installation and Use (6806800K97E)
About this Manual
Notation Description
Reference Used for references and for table and figure descriptions
File > Exit Notation for selecting a submenu
<text> 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
.
.
.
.. Ranges, for example: 0..4 means one of the integers
| Logical OR
Omission of information from example/command that is not necessary at the time being
0,1,2,3, and 4 (used in registers)
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
COMX-P2020 Module Installation and Use (6806800K97E)
13
About this Manual

Summary of Changes

The table below lists all the revisions implemented in this manual.
Part Number Publication Date Description
6806800K97E February 2015 Updated Connectors and Switches section, Table 3-
6806800K97D July 2014 Re-branded to Artesyn.
6806800K97C December 2010 Updated Chapter 6, Firmware Upgrade
6806800K97B December 2010 Updated DIP Switch Setting
6806800K97A November 2010 GA version
About this Manual
1, Registers section.
Added PinStapping Signal description.
Added Table A-2 References in Related documentation.
Updated Supported Operating Systems
14
COMX-P2020 Module Installation and Use (6806800K97E)

Safety Notes

This section provides warnings that precede potentially dangerous procedures throughout this manual. Instructions contained in the warnings must be followed during all phases of operation, service, and repair of this equipment. You should also employ all other safety precautions necessary for the operation of the equipment in your operating environment. Failure to comply with these precautions or with specific warnings elsewhere in this manual could result in personal injury or damage to the equipment.
Artesyn Embedded Technologies intends to provide all necessary information to install and handle the product in this manual. Because of the complexity of this product and its various uses, we do not guarantee that the given information is complete. If you need additional information, ask your Artesyn representative.
The product has been designed to meet the standard industrial safety requirements. It must only be used in its specific area of office telecommunication industry, industrial control, and development. It must not be used in safety critical components, life supporting devices or on aircraft.
Only personnel trained by Artesyn or persons qualified in electronics or electrical engineering are authorized to install, remove or maintain the product. The information given in this manual is meant to complete the knowledge of a specialist and must not be used as replacement for qualified personnel.
Keep away from live circuits inside the equipment. Operating personnel must not remove equipment covers. Only factory authorized service personnel or other qualified service personnel is allowed to remove equipment covers for internal subassembly or component replacement or any internal adjustment.
This product operates with dangerous voltages that can cause injury or death. Use extreme caution when handling, testing, and adjusting this equipment and its components.
Operation
Product Damage
High humidity and condensation on surfaces cause short circuits. Do not operate the product outside the specified environmental limits. Make sure the product is completely dry and there is no moisture on any surface before applying power.
COMX-P2020 Module Installation and Use (6806800K97E)
15
Safety Notes
Installation
Damage of Circuits
Electrostatic discharge and incorrect installation and removal of the product can damage circuits or shorten their life. Before touching the product make sure that your are working in an ESD-safe environment or wear an ESD wrist strap or ESD shoes. Hold the product by its edges and do not touch any components or circuits.
Damage of the Product and Additional Devices and Modules
Incorrect installation or removal of additional devices or modules damages the product or the additional devices or modules. Before installing or removing additional devices or modules, read the respective documentation and use appropriate tools.
Pin Damage
Forcing the module into the system may damage the connector pins. If the module hangs during insertion, pull it out and insert it again.
Environment
Environmental Damage
Improperly disposing of used products may harm the environment. Always dispose of used products according to your country’s legislation and manufacturer’s instructions.
16
COMX-P2020 Module Installation and Use (6806800K97E)

Sicherheitshinweise

This section provides a German translation of the Safety Notes.
Dieses Kapitel enthält Hinweise, die potentiell gefährlichen Prozeduren innerhalb dieses Handbuchs vorrangestellt sind. Beachten Sie unbedingt in allen Phasen des Betriebs, der Wartung und der Reparatur des Systems die Anweisungen, die diesen Hinweisen enthalten sind. Sie sollten außerdem alle anderen Vorsichtsmaßnahmen treffen, die für den Betrieb des Systems innerhalb Ihrer Betriebsumgebung notwendig sind. Wenn Sie diese Vorsichtsmaßnahmen oder Sicherheitshinweise, die an anderer Stelle diese Handbuchs enthalten sind, nicht beachten, kann das Verletzungen oder Schäden am System zur Folge haben.
Artesyn Embedded Technologies ist darauf bedacht, alle notwendigen Informationen zum Einbau und zum Umgang mit dem System in diesem Handbuch bereit zu stellen. Da es sich jedoch bei dem System um ein komplexes Produkt mit vielfältigen Einsatzmöglichkeiten handelt, können wir die Vollständigkeit der im Handbuch enthaltenen Informationen nicht garantieren. Falls Sie weitere Informationen benötigen sollten, wenden Sie sich bitte an die für Sie zuständige Geschäftsstelle von Artesyn.
Das Produkt erfüllt die für die Industrie geforderten Sicherheitsvorschriften und darf ausschließlich für Anwendungen in der Telekommunikationsindustrie, im Zusammenhang mit Industriesteuerungen und in der Entwicklung verwendet werden. Es darf nicht in sicherheitskritischen Anwendungen, lebenserhaltenden Geräten oder in Flugzeugen verwendet werden.
Einbau, Wartung und Betrieb dürfen nur von durch Artesyn ausgebildetem oder im Bereich Elektronik oder Elektrotechnik qualifiziertem Personal durchgeführt werden. Die in diesem Handbuch enthaltenen Informationen dienen ausschließlich dazu, das Wissen von Fachpersonal zu ergänzen, können dieses jedoch nicht ersetzen.
Halten Sie sich von stromführenden Leitungen innerhalb des Systems fern. Entfernen Sie auf keinen Fall die Systemabdeckung. Nur werksseitig zugelassenes Wartungspersonal oder anderweitig qualifiziertes Wartungspersonal darf die Systemabdeckung entfernen, um Systemkomponenten zu ersetzen oder andere Anpassungen vorzunehmen.
Installieren Sie keine Ersatzteile oder führen Sie keine unerlaubten Veränderungen am System durch, sonst verfällt die Garantie. Wenden Sie sich für Wartung oder Reparatur bitte an die für Sie zuständige Geschäftsstelle von Artesyn. So stellen Sie sicher, dass alle sicherheitsrelevanten Aspekte beachtet werden.
COMX-P2020 Module Installation and Use (6806800K97E)
17
Sicherheitshinweise
Artesyn und unsere Zulieferer unternehmen größte Anstrengungen um sicherzustellen, dass sich Pins und Stecker von Boards vor dem Verlassen der Produktionsstätte in einwandfreiem Zustand befinden. Verbogene Pins, verursacht durch fehlerhafte Installation oder durch Installation von Boards mit beschädigten Steckern kann die durch Artesyn Embedded Technologies gewährte Garantie für Boards und Backplanes erlöschen lassen.
Dieses Produkt wird mit gefährlichen Spannungen betrieben, die zu Verletzungen und Tod führen können. Seien Sie im Umgang mit dem Produkt und beim Testen und Anpassen des Produktes und seiner Komponenten äußerst vorsichtig.
Betrieb
Beschädigung des Systems
Hohe Luftfeuchtigkeit und Kondensat auf den Oberflächen der Produkte kann zu Kurzschlüssen führen. Betreiben Sie die Produkte nur innerhalb der angegebenen Grenzwerte für die relative Luftfeuchtigkeit und Temperatur und stellen Sie vor dem Einschalten des Stroms sicher, dass sich auf den Produkten kein Kondensat befindet.
System Installation
Beschädigung von Schaltkreisen
Elektrostatische Entladung und unsachgemäßer Ein- und Ausbau des Produktes kann Schaltkreise beschädigen oder ihre Lebensdauer verkürzen. Bevor Sie das Produkt oder elektronische Komponenten berühren, vergewissern Sie sich, daß Sie in einem ESD-geschützten Bereich arbeiten.
Beschädigung des Produktes und der Zusatzmodule
Fehlerhafter Ein- oder Ausbau von Zusatzmodulen führt zu Beschädigung des Produktes oder der Zusatzmodule. Lesen Sie deshalb vor dem Ein- oder Ausbau von Zusatzmodulen die Dokumentation und benutzen Sie angemessenes Werkzeug.
18
COMX-P2020 Module Installation and Use (6806800K97E)
Umweltschutz
Umweltverschmutzung
Falsche Entsorgung der Produkte schadet der Umwelt. Entsorgen Sie alte Produkte gemäß der in Ihrem Land gültigen Gesetzgebung und den Empfehlungen des Herstellers.
Sicherheitshinweise
COMX-P2020 Module Installation and Use (6806800K97E)
19
Sicherheitshinweise
20
COMX-P2020 Module Installation and Use (6806800K97E)

Introduction

1.1 Features

The COMX-P2020 Module based on the Freescale QorIQ™ P2020 dual core processor. The COMX-P2020 exhibits all the best open standard attributes: allowing easy technology upgrades with future devices; competitive pricing with choice of modules; and speedy time to market.
The COMX-P2020 module is suitable for a range of applications including programmable automation controllers, security gateways, civil aeronautics, renewable energy controllers, test and measurement and other embedded devices. The COMX-P2020 module is supported by a range of real time operating systems and development tools.
The QorIQ P2020 processor is effectively a System-on-Chip device with a range of features.
The main features of COMX-P2020 COM Express Module are as follows:
Freescale QorIQ™ P2020 processor, two cores running at 1.2 GHz.
Chapter 1
Supports up to 2GB DDR3 ECC SO-UDIMM
On-board Storage:
Micro SD card slot
2kbit I2C EEPROM
4MB SPI Flash
SDHC signals routed to the COM Express connector
Storage for bootloader and OS
Two full-function UARTs
On-board XGI Z11M Graphics Processor Unit (GPU)
95 mm x 95 mm compact foorprint
Supports VGA, LVDS interface
Ethernet: Three 10/100/1000Base-T Ethernet interface routed to COM Express connectors
USB: Four USB2.0 ports routed to the COM Express connector
PCI Express: One PCI-E 1.0 and one x2 PCI-E 1.0 (@2.5 GT/s) ports routed to the COM
Express connectors.
Boot loader: U-boot
COMX-P2020 Module Installation and Use (6806800K97E)
21
Introduction
I2C: Four ports
On-board I/O: JTAG
Firmware and Operating System: OS support
BSPs to be available from:
Mentor Graphics Linux
Wind River VxWorks
LynuxWorks LynuxOS

1.2 Standard Compliances

This product meets the following standards:
Table 1-1 Standard Compliances
22
Standard Description
UL/CSA 60950-1
EN 60950-1
IEC 60950-1 CB Scheme
FCC 47 CFR Part 15 Subpart B (US), Class A
EN55022 Class A (EU)
AS/NZS CISPR 22 Class A (Australia/New Zealand)
VCCI Class A (Japan)
Legal safety requirements
EMC requirements (legal) on system level (predefined Artesyn system)
COMX-P2020 Module Installation and Use (6806800K97E)
Figure 1-1 Declaration of Conformity
E
C Declaration of Conformity
According to EN 17050-1:2004
Introduction
Manufacturer’s Name:
Manufacturer’s Address:
Declares that the following product, in accordance with the requirements of 2004/108/EC, 2006/95/EC, 2011/65/EU and their amending directives,
Product:
Model Name/Number:
has been designed and manufactured to the following specifications:
EN55022:2006 (A1: 2007) Class A
EN55024: 1998 (A1: 2001 + A2: 2003)
IEC 60950-1: 2005 (2nd Edition)
2011/65/EU RoHS Directive
As manufacturer we hereby declare that the product named above has been designed to comply with the rele­vant sections of the above referenced specifications. This product complies with the essential health and safety requirements of the above specified directives. We have an internal production control system that ensures compliance between the manufactured products and the technical documentation.
Artesyn Embedded Technologies Embedded Computing
Zhongshan General Carton Box Factory Co. Ltd. No 62, Qi Guan Road West, Shiqi District, 528400 Zhongshan City Guangdong, PRC
COM Express Form Factor System-on-Chip device
COMX-P2020
___________________________________________________ ___
Tom Tuttle, Manager, Product Testing Services Date (MM/DD/YYYY)
COMX-P2020 Module Installation and Use (6806800K97E)
07/15/2014
______
23
Introduction

1.3 Mechanical Data

1.3.1 COMX-P2020 Mechanical Data

Figure 1-2 COMX-P2020 Mechanical Dimensions (Top and Side View)
24
COMX-P2020 Module Installation and Use (6806800K97E)
Table 1-2 Mechanical Data
Feature Value
Dimensions COM Express basic form factor: 95 mm x 95 mm
Weight 73.0 g

1.3.2 Heat Spreader Mechanical Data

Figure 1-3 Heat Spreader Mechanical Dimensions (Front and Side View)
95.00
Introduction
95.00
11.50
20.00
11.00
COMX-P2020 Module Installation and Use (6806800K97E)
10.00
33.00
25
Introduction
Figure 1-4 Heat Spreader (Rear View)
26
COMX-P2020 Module Installation and Use (6806800K97E)

1.3.3 Cooler Mechanical Data

Figure 1-5 Cooler Mechanical Dimensions (Front and Side View)
95.00
95.00
Introduction
23.50
10.00
33.00
11.50
20.00
COMX-P2020 Module Installation and Use (6806800K97E)
27
Introduction
Figure 1-6 Cooler (Rear View)
28
COMX-P2020 Module Installation and Use (6806800K97E)

1.4 Board Identification

This section shows the serial number and its location on the board.
Figure 1-7 Serial Number Location
Introduction
COMX-P2020 Module Installation and Use (6806800K97E)
29
Introduction

1.5 Ordering Information

1.5.1 Supported Board Models

The following table lists the product variants that are available upon release of this publication.
Table 1-3 Available Board Variants
Order Number Description
COMX-P2020 COMX-P2020 module
COMX-P2020-2G-KIT COMX-P2020 module, 2 GB memory, heatsink
For availability of other variants, consult your local Artesyn sales representative.

1.5.2 Board Accessories

The following table lists the board accessories that are available upon release of this publication.
Table 1-4 Available Board Accessories
Order Number Description
COMX-P2020-HTSNK Cooler for COMX-P2020 module
COMX-P2020-HSP Heat spreader for COMX-P2020 module
For availability of other board accessories, consult your local Artesyn sales representative.
30
COMX-P2020 Module Installation and Use (6806800K97E)

Hardware Preparation and Installation

2.1 Environmental and Power Requirements

2.1.1 Environmental Requirements

The following table lists the environmental requirements that the board must meet when operated in your particular system configuration.
Operating temperatures refer to the temperature of the air circulating around the board and not to the component temperature.
Chapter 2
Product Damage High humidity and condensation on surfaces cause short circuits. Do not operate the system outside the specified environmental limits. Make sure the product is completely dry and there is no moisture on any surface before applying power.
Table 2-1 Environmental Requirements
Requirement Operating Non-Operating
Cooling Method Forced-air
Temp Cycle Class -40°C to 85°C:500 cyc
Temperature 0°C to 55 °C -40°C to 85°C
Humidity 10 to 90% Non-condensing -
Vibration 0.01g^2/Hz at 5-500 Hz
Random vibration
Shock 20 g 11 ms sine or saw -
Altitude -60 to 4000 m ASL
COMX-P2020 Module Installation and Use (6806800K97E)
31
Hardware Preparation and Installation

2.1.2 Thermal Requirements

Table 2-2 Critical Temperature Spots for COMX-P2020 Module
Heat Dissipation Power
Component Identifier
CPU-P2020 6.9 Tjmax = 125
GPU-XGI-Z11M 3.093 Tcmax = 110
(W)
Maximum Allowable Temperature (°C)
Contact your Artesyn sales representative for current information on the detailed thermal information including airflow and resistance of the module.
System Overheating Cooling Vents Improper cooling can lead to system damage and can void the manufacturer's warranty. To ensure proper cooling and undisturbed airflow through the system do not obstruct the ventilation openings of the system. Make sure that the fresh air supply is not mixed with hot exhaust from other devices.
32
Personal Injury During operation, hot surfaces may be present on the heat sinks and the components of the product. To prevent injury from hot surface do not touch any of the exposed components or heatsinks on the product when handing. Use the handle and face plate, where applicable, or the board edge when removing the product from the enclosure.
COMX-P2020 Module Installation and Use (6806800K97E)

2.1.3 Power Requirements

The default power input setting for COMX-P2020 is 12 V (11.4 - 12.6).
Table 2-3 Module Total Power Consumption
Voltage +12V POWER
Power consumption 12 W (when idle in Linux)

2.2 Default Settings

The following table shows the default settings of COMX-P2020 module:
Table 2-4 Default Settings
Component Value
Hardware Preparation and Installation
COM Express Power Input 12 V (11.4-12.6)
CPU (speed) 1.2 GHz
Memory (speed) 667 MHz
PCI Express PCIE 2(x1)(2.5Gbps) SerDes lane 1
PCIE 3(x2)(2.5Gbps) SerDes lane 2-3

2.3 Unpacking and Inspecting the Module

Damage of Circuits Electrostatic discharge and incorrect installation and removal of the product can damage circuits or shorten its life. Before touching the product make sure that you are working in an ESD-safe environment or wear an ESD wrist strap or ESD shoes. Hold the product by its edges and do not touch any components or circuits.
COMX-P2020 Module Installation and Use (6806800K97E)
33
Hardware Preparation and Installation
Shipment Inspection
1. Verify that you have received all items of your shipment:
A COMX-P2020 Module
One printed copy of Quick Start Guide
One printed copy of Safety Notes Summary
Any other optional items that ordered
2. Check for damage and report any damage or differences to customer service.
3. Remove the desiccant bag shipped together with the product.
Environmental Damage Improperly disposing of used products may harm the environment. Always dispose of used products according to your country’s legislation and manufacturer’s instructions.

2.4 Preparing the Installation Environment

Before you install or replace components, pay attention to the following:
Wear an ESD-preventive wrist strap to prevent the static electricity from damaging the
device.
Keep the area where the components reside clean and keep the components away from
heat-generating devices, such as radiator.
Ensure that your sleeves are tightened or rolled up above the elbow. For safety purposes,
it is not recommended to wear jewelry, watch, glasses with metal frame, or clothes with metal buttons.
Do not exert too much force, or insert or remove the components forcibly. Avoid damage
to the components or plug-ins.
34
COMX-P2020 Module Installation and Use (6806800K97E)
Hardware Preparation and Installation
Confirm the feasibility of the operation
There are available spare parts of the components to be installed or replaced in the equipment warehouse. When the available spare parts are lacking, contact Artesyn Embedded Technologies for help in time. For details on how to get help from EArtesyn, visit http://www.artesyn.com/computing/. Make sure that the new components are in good condition, without defects such as oxidation, chemical corrosion, missing components, or transportation damage. By reading this document, you are familiar with how to install and replace the component and master the skills required by the operation.
Check the environment
Make sure that the power supply, temperature, and humidity meet the operating requirements for the board and its components. For details, refer to the respective system documentation.
Prepare the parts and the tools
Prepare the components to be installed or replaced. When you hold or transport the components, use the special antistatic package. Prepare the cross screwdriver, screws, plastic supports, cooling gel, and ESD-preventive wrist strap.
Confirm installation or changing position
Confirm the position where COMX-P2020 Module will be installed.
If a serious problem occurs and cannot be solved when you install or replace the
component, contact Artesyn Embedded Technologies for technical support.

2.5 Installing and Removing the Memory Module

There is one 204-pin SOUDIMM slot on the COMX-P2020 Module.
Pin Damage Forcing the module into the system may damage connector pins. If the module hangs during insertion, pull it out and insert it again.
COMX-P2020 Module Installation and Use (6806800K97E)
35
Hardware Preparation and Installation
Installing a Memory Module
1. Wear the ESD-preventive wrist strap.
2. Lay the COM Express module where the SOUDIMM is to be installed on the antistatic desktop.
3. Take the SOUDIMM out of the antistatic package, holding it by the edges.
4. Line up the notch located on the row of the metal pins at the bottom of the module with the key in the SOUDIMM slot on the COM Express module.
5. Insert the SOUDIMM in a slantwise position or at a 45-degree angle to slide the memory module into place.
36
COMX-P2020 Module Installation and Use (6806800K97E)
Hardware Preparation and Installation
6. Press down on the memory module against the COM Express module until you hear it snap into place. The module must be properly aligned before you press it down into its final position. You can remove the module from the socket and reinstall it if you cannot press it down into its final position.
Removing a Memory Module
1. Wear the ESD-preventive wrist strap.
2. Release the module from the slot by pushing the spring latches on either side of the module outward.
3. Lift the module from the COM Express Module.
Damage of the Product and Additional Devices and Modules Incorrect installation or removal of additional devices or modules damages the product or the additional devices or modules. Before installing or removing additional devices or modules, read the respective documentation and use appropriate tools.
COMX-P2020 Module Installation and Use (6806800K97E)
37
Hardware Preparation and Installation

2.6 Installing the MicroSD Card

COMX-P2020 Module has an on-module MicroSD card slot with a 2 GB MicroSD card installed.
Figure 2-1 MicroSD Card Slot
38
COMX-P2020 Module Installation and Use (6806800K97E)
Hardware Preparation and Installation
Installing the MicroSD Card
1. Insert the MicroSD card to the MicroSD socket.
2. Make sure that the metallic contact point of the MicroSD card and the MicroSD socket are lined up correctly.

2.7 Installing and Removing the Heat Spreader/Cooler

Installing the Heat Spreader/Cooler
1. Check the thermal interface material pads on the heat spreader/cooler. Make sure
the pads are aligned to their corresponding components on the COMX-P2020 module.
2. Align the standoffs of the heat spreader/cooler with the screw holes on the COMX-
P2020 Module.
3. Hold the heat spreader/cooler and COMX-P2020 Module.
4. From the backside of COMX-P2020 Module, use two screws to fasten the module
to the heat spreader/cooler through two internal mounting holes.
Removing the Heat Spreader/Cooler
1. Loosen and remove the two pieces of screws that attach the heat spreader/cooler
to the COMX-P2020 Module.
2. While holding the edges, pull the heat spreader/cooler from the COMX-P2020
Module.

2.8 Installing and Removing the Module on the Carrier Board

The assembled COM Express module with the attached heat spreader/ cooler is attached to a carrier board.
COMX-P2020 Module Installation and Use (6806800K97E)
39
Hardware Preparation and Installation
Installing the COM Express Module on the Carrier Board
1. Line up the board-to-board connector of the COMX-P2020 Module assembly with
the board-to-board connector of the carrier board.
2. Make sure that the interconnectors are properly aligned and that the bottom
surface of the COMX-P2020 Module have contact with the four standoffs on carrier board.
3. From the topside of the COMX-P2020 Module assembly, locate the screw holes on
heat spreader/cooler.
4. Use the screws to fasten the COMX-P2020 Module assembly to the carrier board.
Removing the COM Express Module from the Carrier Board
1. From the topside of the COMX-P2020 Module assembly, locate the four screws that
connect the COMX-P2020 Module assembly to the carrier board.
40
2. Loosen and remove the screws.
3. While holding the edges, pull the COMX-P2020 Module from the carrier board.
COMX-P2020 Module Installation and Use (6806800K97E)

Controls, LEDs, and Connectors

3.1 Board Layout

Figure 3-1 COMX-P2020 Module Components
Chapter 3
COMX-P2020 Module Installation and Use (6806800K97E)
41
Controls, LEDs, and Connectors
Figure 3-2 COMX-P2020 Module Components (Rear View)

3.2 Connectors and Switches

3.2.1 COM Express Connector

The following table provides the pinout for the Freescale type COM Express module.
Table 3-1 COM Express Connector
Pin Signal Pin Signal Pin Signal Pin Signal
A1 GND B1 GND C1 GND D1 GND
A2 LAN1_TRD_N<3> B2 LAN1_ACTIVITY# C2 LAN2_ACTIVITY# D2 LAN3_ACTIVITY#
42
COMX-P2020 Module Installation and Use (6806800K97E)
Controls, LEDs, and Connectors
Table 3-1 COM Express Connector (continued)
Pin Signal Pin Signal Pin Signal Pin Signal
A3 LAN1_TRD_P<3> B3 1588_CLKOUT C3 LAN2_TRD_N<3> D3 LAN3_TRD_N<3>
A4 LAN1_LINK100# B4 1588_PULSEOUT1C4 LAN2_TRD_P<3> D4 LAN3_TRD_P<3>
A5 LAN1_LINK1000#B5 1588_PULSEOUT2C5 LAN2_LINK100# D5 LAN3_LINK100#
A6 LAN1_TRD_N<2> B6 1588_ALARMOUT1C6 LAN2_TRD_N<2> D6 LAN3_TRD_N<2>
A7 LAN1_TRD_P<2> B7 1588_ALARMOUT2C7 LAN2_TRD_P<2> D7 LAN3_TRD_P<2>
A8 LAN1_LINK# B8 1588_TRIGIN1 C8 LAN2_LINK1000#D8 LAN3_LINK1000
#
A9 LAN1_TRD_N<1> B9 1588_TRIGIN2 C9 LAN2_TRD_N<1> D9 LAN3_TRD_N<1>
A10 LAN1_TRD_P<1> B10 1588_CLKIN C10 LAN2_TRD_P<1> D10 LAN3_TRD_P<1>
A11 GND B11 GND C11 GND D11 GND
A12 LAN1_TRD_N<0> B12 Not Connected C12 LAN2_TRD_N<0> D12 LAN3_TRD_N<0>
A13 LAN1_TRD_P<0> B13 Not Connected C13 LAN2_TRD_P<0> D13 LAN3_TRD_P<0>
A14 V_GBE_CTREF B14 Not Connected C14 LAN2_LINK# D14 LAN3_LINK#
A15 Not Connected B15 Not Connected C15 Not Connected D15 IRQ_OUT#
A16 Not Connected B16 Not Connected C16 Not Connected D16 IRQ0
A17 Not Connected B17 Not Connected C17 SDHC_CD D17 CE_PA0
A18 Not Connected B18 Not Connected C18 SDHC_WP D18 LGPL0/LFCLE
A19 Not Connected B19 Not Connected C19 Not Connected D19 Not Connected
A20 Not Connected B20 Not Connected C20 Not Connected D20 Not Connected
A21 GND B21 GND C21 GND D21 GND
A22 Not Connected B22 Not Connected C22 Not Connected D22 Not Connected
A23 Not Connected B23 Not Connected C23 Not Connected D23 Not Connected
A24 Not Connected B24 Not Connected C24 Not Connected D24 LGPL1/LFALE
A25 Not Connected B25 Not Connected C25 Not Connected D25 LGPL3/LFWP#
A26 Not Connected B26 Not Connected C26 Not Connected D26 Not Connected
COMX-P2020 Module Installation and Use (6806800K97E)
43
Controls, LEDs, and Connectors
Table 3-1 COM Express Connector (continued)
Pin Signal Pin Signal Pin Signal Pin Signal
A27 Not Connected B27 Not Connected C27 Not Connected D27 Not Connected
A28 Not Connected B28 Not Connected C28 Not Connected D28 DMA2_DREQ#
A29 Not Connected B29 Not Connected C29 Not Connected D29 Not Connected
A30 Not Connected B30 Not Connected C30 Not Connected D30 Not Connected
A31 GND B31 GND C31 GND D31 GND
A32 Not Connected B32 Not Connected C32 UART_SOUT0 D32 Not Connected
A33 Not Connected B33 MUX_IIC0_SCL C33 UART_SIN0 D33 Not Connected
A34 COME_BIOS_DISABB34 MUX_IIC0_SDA C34 UART_CTS0# D34 DMA2_DACK#
A35 Not Connected B35 Not Connected C35 UART_RTS0# D35 LBCTL
A36 USB6_DM B36 USB7_DM C36 UART_SOUT1 D36 Not Connected
A37 USB6_DP B37 USB7_DP C37 UART_SIN1 D37 Not Connected
A38 USB67_OSC_N B38 USB45_OSC_N C38 UART_CTS1# D38 GPI2
A39 USB4_DM B39 USB5_DM C39 UART_RTS1# D39 IRQ6
A40 USB4_DP B40 USB5_DP C40 COME_EC_MDIO D40 GPI0
A41 GND B41 GND C41 GND D41 GND
A42 USB2_DM B42 USB3_DM C42 MSRCID1 D42 GPO0
A43 USB2_DP B43 USB3_DP C43 MSRCID2 D43 GPI1
A44 USB23_OSC_N B44 USB01_OSC_N C44 MSRCID3 D44 GPI3
A45 USB0_DM B45 USB1_DM C45 MSRCID4 D45 GPIO15
A46 USB0_DP B46 USB1_DP C46 MDVAL D46 LA<16>
A47 V_RTC B47 Not Connected C47 LA<17> D47 LA<20>
A48 Not Connected B48 Not Connected C48 LA<18> D48 LA<21>
A49 Not Connected B49 SYS_RESET# C49 LA<19> D49 LA<22>
A50 Not Connected B50 RESET# C50 COME_EC_MDC D50 LDP0
A51 GND B51 GND C51 GND D51 GND
A52 Not Connected B52 Not Connected C52 PCIE_RX2_P D52 PCIE_TX2_P
44
COMX-P2020 Module Installation and Use (6806800K97E)
Controls, LEDs, and Connectors
Table 3-1 COM Express Connector (continued)
Pin Signal Pin Signal Pin Signal Pin Signal
A53 Not Connected B53 Not Connected C53 PCIE_RX2_N D53 PCIE_TX2_N
A54 MUX_SHDC_D0 B54 MUX_SHDC_CMDC54 COME_TYPE0# D54 COME_TYPE3#
A55 PCIE_TX1_P B55 PCIE_RX1_P C55 PCIE_RX3_P D55 PCIE_TX3_P
A56 PCIE_TX1_N B56 PCIE_RX1_N C56 PCIE_RX3_N D56 PCIE_TX3_N
A57 GND B57 MUX_SDHC_WP C57 COME_TYPE1# D57 COME_TYPE2#
A58 Not Connected B58 Not Connected C58 Not Connected D58 Not Connected
A59 Not Connected B59 Not Connected C59 Not Connected D59 Not Connected
A60 GND B60 GND C60 GND D60 GND
A61 Not Connected B61 Not Connected C61 Not Connected D61 Not Connected
A62 Not Connected B62 Not Connected C62 Not Connected D62 Not Connected
A63 MUX_SHDC_D1 B63 MUX_SDHC_CD C63 Not Connected D63 Not Connected
A64 Not Connected B64 Not Connected C64 GND D64 Not Connected
A65 Not Connected B65 Not Connected C65 Not Connected D65 Not Connected
A66 GND B66 Not Connected C66 Not Connected D66 Not Connected
A67 MUX_SHDC_D2 B67 Not Connected C67 LDP1 D67 GND
A68 Not Connected B68 Not Connected C68 Not Connected D68 Not Connected
A69 Not Connected B69 Not Connected C69 Not Connected D69 Not Connected
A70 GND B70 GND C70 GND D70 GND
A71 LVDS_LDC0_P B71 Not Connected C71 Not Connected D71 Not Connected
A72 LVDS_LDC0_N B72 Not Connected C72 Not Connected D72 Not Connected
A73 LVDS_LDC1_P B73 Not Connected C73 Not Connected D73 Not Connected
A74 LVDS_LDC1_N B74 Not Connected C74 Not Connected D74 Not Connected
A75 LVDS_LDC2_P B75 Not Connected C75 Not Connected D75 Not Connected
A76 LVDS_LDC2_N B76 Not Connected C76 GND D76 GND
A77 G_LVDS_ENAVDDB77 Not Connected C77 LA<28> D77 LGPL5
A78 LVDS_LDC3_P B78 Not Connected C78 Not Connected D78 Not Connected
COMX-P2020 Module Installation and Use (6806800K97E)
45
Controls, LEDs, and Connectors
Table 3-1 COM Express Connector (continued)
Pin Signal Pin Signal Pin Signal Pin Signal
A79 LVDS_LDC3_N B79 G_LVDS_ENABKL C79 Not Connected D79 Not Connected
A80 GND B80 GND C80 GND D80 GND
A81 LVDS_LCC_P B81 Not Connected C81 GPIO11 D81 LA<26>
A82 LVDS_LCC_N B82 Not Connected C82 LCLK1 D82 LA<27>
A83 LVDS_IIC_SCL B83 LVDS_PWM C83 IRQ1 D83 LA<24>
A84 LVDS_IIC_SDA B84 V5SB_COME C84 GND D84 GND
A85 MUX_SHDC_D3 B85 V5SB_COME C85 IRQ2 D85 LA<25>
A86 Not Connected B86 V5SB_COME C86 LA<23> D86 LCS6#
A87 Not Connected B87 V5SB_COME C87 GND D87 GND
A88 CLK_PCIE1_P B88 SPI_CS1# C88 LA<29> D88 DMA2_DDONE#
A89 CLK_PCIE1_N B89 G_VGA_R C89 LA<30> D89 LA<31>
A90 GND B90 GND C90 GND D90 GND
A91 SPI_CS0# B91 G_VGA_G C91 LCS7# D91 GPO2
A92 SPI_MISO B92 G_VGA_B C92 LCK0 D92 GPO1
A93 MUX_SHDC_CLK B93 G_VGA_HSYNC C93 GND D93 GND
A94 COME_SPI_CLK B94 G_VGA_VSYNC C94 GPO3 D94 GPIO10
A95 SPI_MOSI B95 VGA_IIC_SCL C95 LSYNC_IN D95 LWE1#
A96 GND B96 VGA_IIC_SDA C96 GND D96 GND
A97 V12 B97 GPIO14 C97 LSYNC_OUT D97 QE_PB21
A98 V12 B98 LCS4# C98 SPI_CS2# D98 QE_PB22
A99 V12 B99 LCS5# C99 SPI_CS3# D99 MSRCID0
A100 GND B100 GND C100 GND D100 GND
A101 V12 B101 V12 C101 CLK_PCIE2_P D101 GPIO12
A102 V12 B102 V12 C102 CLK_PCIE2_N D102 GPIO13
A103 V12 B103 V12 C103 GND D103 GND
A104 V12 B104 V12 C104 V12 D104 V12
A105 V12 B105 V12 C105 V12 D105 V12
46
COMX-P2020 Module Installation and Use (6806800K97E)
Controls, LEDs, and Connectors
Table 3-1 COM Express Connector (continued)
Pin Signal Pin Signal Pin Signal Pin Signal
A106 V12 B106 V12 C106 V12 D106 V12
A107 V12 B107 V12 C107 V12 D107 V12
A108 V12 B108 V12 C108 V12 D108 V12
A109 V12 B109 V12 C109 V12 D109 V12
A110 GND B110 GND C110 GND D110 GND

3.2.2 Default Switch Settings

3.2.2.1 DIP Switch Setting
Table 3-2 DIP Switch Setting
s2_23 s2_14 s1_23 s1_14 Description
ON ON ON ON Boot from PCI-E 1
ON ON ON OFF Boot from PCI-E 2
ON ON OFF ON Boot from SRIO 1
ON ON OFF OFF Boot from SRIO 2
ON OFF ON ON Boot from DDR
ON OFF ON OFF Boot from PCI-E 3
ON OFF OFF ON Boot from SPI
ON OFF OFF OFF Boot from SDHC (Default)
OFF ON ON ON Boot from 8-bit NADFLASH small page
OFFONONOFFReserved
OFF ON OFF ON Boot from 8-bit NADFLASH large page
OFF ON OFF OFF Reserved
OFF OFF ON ON Reserved
OFF OFF ON OFF Boot from 8-bit NOR Flash
COMX-P2020 Module Installation and Use (6806800K97E)
47
Controls, LEDs, and Connectors
Table 3-2 DIP Switch Setting (continued)
s2_23 s2_14 s1_23 s1_14 Description
OFF OFF OFF ON Boot from 16-bit NOR Flash
OFF OFF OFF OFF Boot from 16-bit NOR Flash
Table 3-3 s3_23 Settings
s3_23 Description
OFF SPI Flash on the module disabled(Default)
ON SPI Flash on the module enabled
Table 3-4 s3_14 Settings
s3_14 Description
OFF SerDes #2 switch to COM Express PCI-E #2 (Default)
ON SerDes #2 switch to GEPHY
To load Linux in the MicroSD, the following switches (s7_14 and s7_23) must be switched on. Otherwise, Linux boot up will fail.
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown­block(179,2) Rebooting in 180 seconds..
Table 3-5 s7_23 Settings
s7_23 Description
OFF SD card write-disabled on the module (Default)
ON SD card write-enabled on the module
48
COMX-P2020 Module Installation and Use (6806800K97E)
Table 3-6 s7_14 Settings
s7_14 Description
OFF SD card write-disabled on the carrier board (Default)
ON SD card write-enabled on the carrier board
3.2.2.2 PHY Address Settings
Table 3-7 PHY Address Settings
PHY Description
P2020 Internal TBI PHY 0X1F
GEPHY #1 (U14) 0X00 0X01
Controls, LEDs, and Connectors
GEPHY #2 (U15) 0X02
3.2.2.3 I2C Bus #1 Address setting
Table 3-8 I2C Bus #1 Address setting
IIC1 Address
IIC EEPROM (U7) 0XA0 (Strapping)
IIC MUX (U45) 0XE0
IIC EEPROM (U53) 0XA8 (Module type)
USB HUB2 (U37) 0X58 (NC)
COMX-P2020 Module Installation and Use (6806800K97E)
49
Controls, LEDs, and Connectors
3.2.2.4 I2C Bus #2 Address setting
Table 3-9 I2C Bus #2 Address setting
IIC2 Address
LM75 (U17) 0X90
DDR3 (XJ1) 0XA6 0X66 0X36
RTC (U30) 0XD0
USB HUB1 (U12) 0X58 (NC)
3.2.2.5 Other Pin Strap Settings
Signal name LA[29:31]
Function CCB Clock PLL Ratio
(cfg_sys_pll[0:2])
Select Option PU / PD Resistors
Default value No Default
Supported configuration 000 4 : 1
001 5 : 1
010 6 : 1
011 8 : 1
Others Reserved
Signal name LBCTL, LALE,
LGPL2/LOE/LFRE_B
Function e500 Core0 PLL Ratio
(cfg_core0_pll[0:2])
Select Option PU / PD Resistors
Default value No Default
50
COMX-P2020 Module Installation and Use (6806800K97E)
Supported configuration 000 4 : 1
001 9 : 2 (4.5 : 1)
010 1 : 1
011 3 : 2 (1.5 : 1)
100 2 : 1
101 5 : 2 (2.5 : 1)
110 3 : 1
111 7 : 2 (3.5 : 1)
Signal name LWE0,UART_SOUT1,
READY_P1
Function e500 Core1 PLL Ratio
(cfg_core1_pll[0:2])
Controls, LEDs, and Connectors
Select Option PU / PD Resistors
Default value No Default
Supported configuration 000 4 : 1
001 9 : 2 (4.5 : 1)
010 1 : 1
011 3 : 2 (1.5 : 1)
100 2 : 1
101 5 : 2 (2.5 : 1)
110 3 : 1
111 7 : 2 (3.5 : 1)
Signal name TSEC_1588_CLK_OUT,
TSEC_1588_PULSE_OUT1,
TSEC_1588_PULSE_OUT2,
Function DDR Controller Clock PLL Ratio
(cfg_ddr_pll[0:2])
Select Option PU / PD Resistors
Default value No Default
COMX-P2020 Module Installation and Use (6806800K97E)
51
Controls, LEDs, and Connectors
Supported configuration 000 Reserved
Signal name TSEC3_TXD[2:0],
001 4 : 1
010 6 : 1
011 8 : 1
100 10 : 1
101 12 : 1
110 Reserved
111 Synchronous
Mode
TSEC1_TX_ER
Can be user programmed by S1 and S2
Function Boot ROM Location
(cfg_rom_loc[0:3])
Select Option PU / PD Resistors
Default value 1111
52
COMX-P2020 Module Installation and Use (6806800K97E)
Supported configuration 0000 PCI Express 1
0001 PCI Express 2
0010 Serial RapidIO 1
0011 Serial RapidIO 2
0100 DDR Controller
0101 PCI Express 3
0110 On-chip boot ROM; SPI
0111 On-chip boot ROM; eSDHC
1000 Local bus FCM; 8-bit NAND Flash, Small
Page
1001 Reserved
1010 Local bus FCM; 8-bit NAND Flash, Large
Page
Controls, LEDs, and Connectors
1011 Reserved
1100 Reserved
1101 Local bus GPCM; 8-bit ROM
1110 Local bus GPCM; 16-bit ROM
1111 Local bus GPCM; 16-bit ROM
Signal name LWE1/LBS1,LA[18:19]
Function Host/Agent
(cfg_host_agent[0:2])
Select Option PU / PD Resistors
Default value 111
COMX-P2020 Module Installation and Use (6806800K97E)
53
Controls, LEDs, and Connectors
Supported configuration 000 Device acts as an agent on all PCI Express
interfaces and SRIO interfaces.
001 Device acts as an agent on PCI Express 1 or
host on Serial RapidIO 2.
Device acts as a host on PCI Express2/Serial RapidIO 1
Device acts as a host on PCI Express 3
010 Device acts as a host on PCI Express 1 or
agent on Serial RapidIO 2.
Device acts as an agent on PCI Express2/Serial RapidIO 1
Device acts as a host on PCI Express 3
011 Device acts as a host on PCI Express 1/Serial
RapidIO 2
Device acts as a host on PCI Express2/Serial RapidIO 1
Device acts as an agent on PCI Express 3
54
100 Device acts as an agent on PCI Express
1/Serial RapidIO 2.
Device acts as an agent on PCI Express2/Serial RapidIO 1
Device acts as a host on PCI Express 3
101 Device acts as an agent on PCI Express 1 or
host on Serial RapidIO 2.
Device acts as a host on PCI Express2/Serial RapidIO 1
Device acts as an agent on PCI Express 3
110 Device acts as a host on PCI Express 1 or
agent on Serial RapidIO 2.
Device acts as agent on PCI Express2/Serial RapidIO 1
Device acts as an agent on PCI Express 3
111 Device acts as a host on all PCI Express/Serial
RapidIO interfaces.
COMX-P2020 Module Installation and Use (6806800K97E)
Controls, LEDs, and Connectors
Signal name TSEC1_TXD[3:1],
CFG_IO_PORTS3
Function I/O Port Selection
(cfg_io_ports[0:3])
Select Option PU / PD Resistors
Default value 1111
Supported configuration 0000 PCI Express 1 (x1) on SerDes lane 0;
SerDes lanes 1-3 powered down.
0001 SerDes 0-3 powered down.
0010 PCI Express 1 (x1) on SerDes lane 0;
PCI Express 2 (x1) on SerDes lane 1;
PCI Express 3 (x1) on SerDes lane 2-3;
0100 PCI Express 1 (x2) on SerDes lane 0;
PCI Express 3 (x2) on SerDes lane 2-3;
0110 PCI Express 1 (x4) on SerDes lanes 0-3.
0111 SRIO2 (1x) on SerDes lane 0
SRIO1 (1x) on SerDes lane 1
SerDes
1000 SRIO2 (4x) on SerDes lane 0-3 (1.25Gbps)
1001 SRIO2 (4x) on SerDes lane 0-3 (2.5Gbps)
1010 SRIO2 (4x) on SerDes lane 0-3 (3.125Gbps)
1011 SRIO2 (1x) on SerDes lane 0 (1.25Gbps)
SRIO1 (1x) on SerDes lane 1 (1.25Gbps)
SGMII eTSEC2 (x1) on SerDes lane 2
SGMII eTSEC3(x1) on SerDes lane 3
COMX-P2020 Module Installation and Use (6806800K97E)
55
Controls, LEDs, and Connectors
1100 SRIO2 (1x) on SerDes lane 0 (2.5Gbps)
SRIO1 (1x) on SerDes lane 1 (2.5Gbps)
SGMII eTSEC2 (x1) on SerDes lane 2
SGMII eTSEC3(x1) on SerDes lane 3
1101 PCI Express 1 (x1) on SerDes lane 0
SRIO1 (1x) on SerDes lane 1
SGMII eTSEC2 (x1) on SerDes lane 2
SGMII eTSEC3(x1) on SerDes lane 3
1110 PCI Express 1 (x1) on SerDes lane 0;
PCI Express 2 (x1) on SerDes lane 1;
SGMII eTSEC2 (x1) on SerDes lane 2;
SGMII eTSEC3 (x1) on SerDes lane 3.
1111 PCI Express 1 (x2) on SerDes lanes 0-1;
SGMII eTSEC2 (x1) on SerDes lane 2;
SGMII eTSEC3 (x1) on SerDes lane 3.
56
Signal name LA27, LA16
Function CPU Boot Configuration
(cfg_cpu0_boot, cfg_cpu1_boot)
Select Option PU / PD Resistors
Default value 11
COMX-P2020 Module Installation and Use (6806800K97E)
Controls, LEDs, and Connectors
Supported configuration 00 CPU boot holdoff mode for both cores. The
cores are prevented from booting until configured by an external master.
01 Core 1 is allowed to boot without waiting for
configuration by an external master, while core 0 is prevented from booting until configured by an external master or the other core.
10 Core 0 is allowed to boot without waiting for
configuration by an external master, while core 1 is prevented from booting until configured by an external master or the other core.
11 Both cores are allowed to boot without
waiting for configuration by an external master.
Signal name LGPL3/LFWP, LGPL5
Function Boot Sequencer
(cfg_boot_seq[0:1])
Select Option PU / PD Resistors
Default value 11
Supported configuration 00 Reserved
01 Normal I2C addressing mode is used. Boot
sequencer is enabled and loads configuration information from a ROM on the I2C 1 interface. A valid ROM must be present.
10 Extended I2C addressing mode Is used. Boot
sequencer is enabled and loads configuration information from a ROM on the I2C 1 interface. A valid ROM must be present.
11 Boot sequencer is disabled. No I2C ROM is
accessed.
COMX-P2020 Module Installation and Use (6806800K97E)
57
Controls, LEDs, and Connectors
Signal name TSEC2_TXD1
Function DDR SDRAM Type
Select Option PU / PD Resistors
Default value 1
Supported configuration 0 DDR2; 1.8v
Signal name LGPL1
Function eTSEC2 SGMII Mode
Select Option PU / PD Resistors
Default value 1
(cfg_dram_type)
1 DDR3; 1.5v
(cfg_sgmii2)
Supported configuration 0 The eTSEC2 Ethernet interface operates in
SGMII mode and uses SGMII SerDes lane 2 pins.
1 The eTSEC2 Ethernet interface operates in
parallel mode and uses the eTSEC2_* pins.
Signal name TSEC_1588_ALARM_OUT2
Function eTSEC3 SGMII Mode
(cfg_sgmii3)
Select Option PU / PD Resistors
Default value 1
Supported configuration 0 The eTSEC3 Ethernet interface operates in
SGMII mode and uses SGMII SerDes lane 3 pins.
1 The eTSEC3 Ethernet interface operates in
parallel mode and uses the eTSEC3_* pins.
58
COMX-P2020 Module Installation and Use (6806800K97E)
Controls, LEDs, and Connectors
Signal name EC_MDC
Function eTSEC1 Width
(cfg_tsec_reduce)
Select Option PU / PD Resistors
Default value No Default
Supported configuration 0 The eTSEC1 and eTSEC2 Ethernet
interface operates in reduced pin mode (either RGMII or RMII mode).
1 The eTSEC1 and eTSEC2 Ethernet
interface operates in standard width MII mode.
Signal name TSEC1_TXD0,
TSEC3_TXD3
Function eTSEC1 Protocol
(cfg_tsec1_prtcl)
Select Option PU / PD Resistors
Default value 11
Supported configuration 01 The eTSEC1 controller operated using
10 The eTSEC1 controller operated using
11 The eTSEC1 controller operated using
Signal name TSEC2_TXD0,
TSEC2_TXD7
Function eTSEC2 Protocol
(cfg_tsec2_prtcl)
Select Option PU / PD Resistors
COMX-P2020 Module Installation and Use (6806800K97E)
the MII protocol (or RMII).
the GMII protocol (or RGMII).
the TBI protocol (or RTBI).
59
Controls, LEDs, and Connectors
Default value 11
Supported configuration 01 The eTSEC2 controller operated using
Signal name UART_RTS0_B,
Function eTSEC3 Protocol
Select Option PU / PD Resistors
Default value 11
the MII protocol (or RMII).
10 The eTSEC2 controller operated using
the GMII protocol (or RGMII).
11 The eTSEC2 controller operated using
the TBI protocol (or RTBI).
UART_RTS1_B
(cfg_tsec3_prtcl[0:1])
Supported configuration 01 The eTSEC3 controller operated using
the RMII protocol.
10 The eTSEC3 controller operated using
the RGMII protocol.
Others The eTSEC3 controller operated using
the RTBI protocol.
Signal name TSEC_1588_ALARM_OUT1
Function SerDes Reference Clock
(cfg_srds_refclk)
Select Option PU / PD Resistors
Default value 1
Supported configuration 0 125 MHz
1 100 MHz
60
COMX-P2020 Module Installation and Use (6806800K97E)
Controls, LEDs, and Connectors
Signal name LA[26]
Function DDR Speed
(cfg_ddr_speed)
Select Option PU / PD Resistors
Default value 1
Supported configuration 0 DDR data rate is less than
500 MHz.
1 DDR data rate is greater
than or equal to 500 MHz.
Signal name TRIG_OUT
Function SerDes PLL
(cfg_srds_pll_toe)
Select Option PU / PD Resistors
Default value 1
Supported configuration 0 Enable PLL lock time-out
counter.
1 Disable PLL lock time-out
counter
Signal name TSEC3_TX_EN
Function cfg_sdhc_cd_pol_sel
Select Option PU / PD Resistors
Default value 1
Supported configuration 0 Polarity is inverted
1 Polarity is not inverted
Signal name LA[24]
Function Core 0 Speed
(cfg_core0_speed)
COMX-P2020 Module Installation and Use (6806800K97E)
61
Controls, LEDs, and Connectors
Select Option PU / PD Resistors
Default value 1
Supported configuration 0 Core 0 clock frequency
Signal name LA[25]
Function Core 1 Speed
Select Option PU / PD Resistors
Default value 1
is less than or equal to 1000 MHz
1 Core 0 clock frequency
is greater than 1000 MHz
(cfg_core1_speed)
Supported configuration 0 Core 1 clock frequency is
less than equal to 1000 MHz
1 Core 1 clock frequency is
greater than 1000 MHz
Signal name LA[23]
Function Platform Speed
(cfg_plt_speed)
Select Option PU / PD Resistors
Default value 1
Supported configuration 0 Platform clock frequency
is below 333 Mhz.
1 Platform clock is at or
above 333 MHz
62
COMX-P2020 Module Installation and Use (6806800K97E)
Signal name LA28
Function System Speed
(cfg_sys_speed)
Select Option PU / PD Resistors
Default value 1
Supported configuration 0 Reserved
1 SYSCLK is at or
above 66 MHz
Signal name MSRCID0
Function eLBC ECC
(cfg_elbc_ecc)
Select Option PU / PD Resistors
Default value 1
Controls, LEDs, and Connectors
Supported configuration 0 eLBC ECC checking is
1 eLBC ECC checking is
Signal name LA[20:22], UART_SOUT[0],
MSRCID1, MSRCID4, DMA1_DDONE_B
Function Engineering Use POR
(cfg_eng_use[0:3], cfg_eng_use[5:7])
Select Option PU / PD Resistors
Default value 1111111
Supported configuration 00000000-
11111110
11111111 Default
COMX-P2020 Module Installation and Use (6806800K97E)
disabled.
enabled.
Reser ved
operation.
63
Controls, LEDs, and Connectors
Signal name LGPL0
Function RapidIO Size
Select Option PU / PD Resistors
Default value 1
Supported configuration 0 Large system size
Signal name DMA2_DACK0_B
Function Memory Debug
Select Option PU / PD Resistors
Default value 1
(cfg_rio_sys_size)
1 Small system size
(cfg_mem_debug)
Supported configuration 0 Debug information from the enhanced local bus
controller is driven on the MSRCID and MDVAL signals.
1 Debug information from the DDR SDRAM
controller is driven on the MSRCID and MDVAL signals.
Signal name DMA2_DDONE0_B
Function DDR Debug
(cfg_ddr_debug)
Select Option PU / PD Resistors
Default value 1
Supported configuration 0 Debug information is driven on the ECC pins
instead of normal ECC I/O. ECC signals from memory devices must be disconnected.
1 Debug information is not driven on ECC pins. ECC
pins function in their normal mode.
64
COMX-P2020 Module Installation and Use (6806800K97E)
Controls, LEDs, and Connectors
Signal name LAD[0:15]
Function General Purpose POR
(cfg_gpinput[0:15])
Select Option PU / PD Resistors
Default value No default
Supported configuration - General-purpose POR configuration
vector to be places in GPPORCR.
Signal name LVDD_VSEL
Function eTSEC1,2,3; Ethernet
Management; 1588 interfaces
Select Option PU / PD Resistors
Default value No default
Supported configuration 0 3.3V
1 2.5V
Signal name BVDD_VSEL[0:1]
Function Local Bus, GPIO[8:15]
Select Option PU / PD Resistors
Default value No default
Supported configuration 00 3.3V
01 2.5V
10 1.8V
11 3.3V
Signal name CVDD VSEL[0:1]
Function USB, eSDHC, eSPI
Select Option PU / PD Resistors
Default value No default
COMX-P2020 Module Installation and Use (6806800K97E)
65
Controls, LEDs, and Connectors
Supported configuration 00 3.3V
01 2.5V
10 1.8V
11 3.3V
66
COMX-P2020 Module Installation and Use (6806800K97E)
Controls, LEDs, and Connectors
COMX-P2020 Module Installation and Use (6806800K97E)
67
Controls, LEDs, and Connectors
68
COMX-P2020 Module Installation and Use (6806800K97E)
Controls, LEDs, and Connectors
COMX-P2020 Module Installation and Use (6806800K97E)
69
Controls, LEDs, and Connectors
70
COMX-P2020 Module Installation and Use (6806800K97E)
Controls, LEDs, and Connectors
COMX-P2020 Module Installation and Use (6806800K97E)
71
Controls, LEDs, and Connectors

3.2.3 Debug Ports

3.2.3.1 P1 JTAG
The 16-PIN JTAG header support standard JTAG signals: TCK, TMS, TDO, TDI, TRST(COP_TRST#). JTAG also supports these extra signals: CKSTP_IN to stop processor core and CKSTP_OUT# to get CORE status.
Table 3-10 CPU Debug (P1)
Pin Signal Pin Signal
1 JTAG_TDO 2 NC
3 JTAG_TDI 4 COP_TRST#
5 COP_RUNSTOP 6 COP_VSENSE
7 JTAG_TCK 8 P_CKSTP_IN#
9 JTAG_TMS 10 NC
11 COP_SRST# 12 GND
13 COP_HRST# 14 NC
15 P_CKSTP_OUT# 16 GND
Table 3-11 GE PHY Debug (Test Point14-19)
Test Point Signal
TP14 JTAG_GE1_TDO_GE2_TDI
TP15 JTAG_GE1_TDI
TP16 JTAG_GE2_TDO
TP17 JTAG_GE_TCK
TP18 JTAG_GE_TMS
TP19 JTAG_GE_TRST#
72
COMX-P2020 Module Installation and Use (6806800K97E)

3.2.4 Switches and LEDs for Debug Use

Programmers can use the switch and LEDs for debugging.
Table 3-12 Debug Switches
S3_23 Description
OFF Debug Method 1
ON Debug Method 2
S3_23 is connected to GPIO15 of the processor. S3_23 appears as a SW detectable setting that the firmware can read.
Note: GPIO15 is also connected to the COM Express connector J2-D45.
Controls, LEDs, and Connectors
Table 3-13 Debug Leds
LED Description
D9 Connected to GPIO11
D11 Connected to GPIO14
COMX-P2020 Module Installation and Use (6806800K97E)
73
Controls, LEDs, and Connectors

3.3 LEDs

There are seven green LEDs mounted on the secondary side of the printed wiring board. (D1,2,3,4,6,7,12)
Table 3-14 LEDs
LED Description
D1 CPU Core Power OK (1.05 V)
D2 DDR3 Power OK (1.5 V)
D3 3.3. V Power OK
D4 2.5 V Power OK
D6 1.2 V Power OK
D7 CPU in Sleep state
D12 1.8 V Power OK
Figure 3-3 Location of LEDs
74
COMX-P2020 Module Installation and Use (6806800K97E)

Functional Description

4.1 Block Diagram

Figure 4-1 Block Diagram
Chapter 4
COMX-P2020 Module Installation and Use (6806800K97E)
75
Functional Description

4.2 Processor

COMX-P2020 COM Express Module supports the Freescale P2020 processor. The module is also compatible with the P2010/P1020/P1011/P1021/P1012 processors. P2020 includes the following features:
Dual e500v2 Core, 800MHz to 1.2 GHz clock frequency
Power consumption of less than 8 W at 1.2 GHz
32 KB instruction and 32 KB data first-level cache (L1) for each core
512 KB second-level cache (L2) with ECC
64 bit DDR2/DDR3 controller with ECC supports data rate of up to 800 Mbps per pin
31x31 mm 689-pin wirebond power-BGA
45 nm SOI process technology
Each e500 core complex contains a separate 32-KB, eight-way set associative level 1 (L1) instruction and data caches to provide the execution units and registers rapid access to instructions and data. The 32 KB cache is divided into eight ways and 128 sets, so there is a total of 1024 blocks. The size of each block is eight words (32 bytes).
76
COMX-P2020 Module Installation and Use (6806800K97E)
Functional Description
The integrated L2 Cache/SRAM can be configured as Cache or SRAM. For COMX-P2020, it is configured as 512 KB L2 cache that is organized as 2048 eight way sets of 32 byte cache lines based on 36 bit physical addresses.
Figure 4-2 P2020 Processor Block Diagram

4.3 Memory

The U-boot will configure the memory controller with the fixed parameter instead of SPD information on the SOUDIMM.

4.3.1 SDRAM

COMX-P2020 COM Express Module only supports 2 GB DDR3 667 MT/s DDR3+ECC arranged in two ranks in one slot.
COMX-P2020 Module Installation and Use (6806800K97E)
77
Functional Description

4.3.2 SD Card

COMX-P2020 COM Express Module has a microSD card slot on-module with a 2 GB SD card installed. The SD card stores the Bootloader and the Operating System.
The eSDHC acts as a bridge, passing host bus transactions to SD/MMC cards by sending commands and performing data accesses to or from the cards. It handles the SD/MMC protocol at the transmission level.

4.3.3 SPI Flash

COMX-P2020 COM Express Module has an SPI socket on-module with a 4 MB SPI Flash installed. The U-Boot is installed in the SPI flash on module.
The flash was divided into 3 areas: configure data, U-boot, and Environment argument area.
Figure 4-3 SPI Area for U-boot
78
COMX-P2020 Module Installation and Use (6806800K97E)

4.3.4 EEPROM

The COMX-P2020 COM Express Module uses two 256x8(2Kbit) I2C EEPROMs. One for boot up configuration and another for storing module type information.

4.4 Video

COMX-P2020 COM Express Module has an on-board GPU Z11M which supports the following:
VGA
LVDS (requires an external DVO to LVDS transmitter)
GPU Z11M integrates a PCI-E 1x controller and a 64-bit 2D graphics engine. It also has a 4Mx16bit DDR memory.
Functional Description

4.5 I2C

4.5.1 I2C Bus

There are two inter-IC (IIC or I2C) bus interfaces implemented on this device. All of the interfaces will operate at the master mode.

4.5.2 I2C EEPROM

There are two I2C EEPROMs AT24C02B which are located on I2C#1. One is for ID EEPROM (storing board serial number, MAC address etc.) and the other is for Processor EEPROM (storing processor ID etc). Their I2C addresses are 0xA0 and 0xA8 separately. To access Processor EEPROM, the I2C switch must connect MUX_I2C#0.

4.5.3 PCA9545

The PCA9545 is a quad bi-directional translating switch controlled using the I2C bus.The I2C addressof PCA9545 is E0. The SCL/SDA upstream pair fans out to four downstream pairs or channels. Any individual SCx/SDx channel or combination of channels can be selected, determined by the contents of the programmable control register.
COMX-P2020 Module Installation and Use (6806800K97E)
79
Functional Description

4.5.4 DDR3 SPD

The DDR3 SOUDIMM connects I2C#2 with the address: 0xA6h, 0x66h, 0x36h. For COMX­P2020 just support booting from MicroSD Card or SPI Flash, the memory controller must be initialized before COMX-P2020 copies the U-boot image from the media to memory and jump to the U-boot start entry.

4.5.5 RTC and Watchdog Timer

The M41ST85WMX6TR has an internal quartz-controlled oscillator with a frequency of 32.768 kHz and error not exceeding +/-35 ppm, which equates to +/-1.53 minutes per month. The internal circuit can be set to get a precision of +/-2ppm (please refer to datasheet for details), which equates to +/-5.25 seconds per month.
M41ST85WMX6TR contains the century, year, month, date, day, hour, minutes, second, and tenths/hundredths of a second in a 24-hour BCD format.
M41ST85WMX6TR contains an internal watchdog. The watchdog can be fed through the I2C or WDI pin. The watchdog is turned off by default.

4.6 Reset Logic

M41ST85WMX6TR will pull H_RESET# low when the VCC is below Vpfd=2.6V, thus realizing the power fail reset function and power-on reset.
80
COMX-P2020 Module Installation and Use (6806800K97E)
Functional Description
P_HRESET_REQ# is sent to M41ST85WMX6TR's RSTIN2_N, which needs a minimum 100ms of low voltage level to trigger reset. This is critical because the software programmer may neglect this and fail in resetting the circuit.
Figure 4-4 Reset Logic

4.7 LM75CIM-3

The LM75 is a temperature sensor which can assert interrupt through IRQ5. There are four data registers in the LM75 which are selected by the Pointer register.
COMX-P2020 Module Installation and Use (6806800K97E)
81
Functional Description

4.8 Interrupt Logic

P2020 has a programmable interrupt controller, which conforms to OpenPIC architecture.
Figure 4-5 Interrupt Logic

4.9 JTAG

COMX-P2020 supports JTAG for CPU and GE PHY debugging. See Debug Ports on page 72 for the debug ports pinout.
82
COMX-P2020 Module Installation and Use (6806800K97E)

4.10 GPIO

There are total 14 GPIO PIN used at COMX-P2020; GPIO8 and GPIO9 are used for SDHC function.
Table 4-1 GPIO Description
Name Intput/ Output Reset Value Description
GPIO 0 Input connected to the COM Express carrier board
GPIO 1 Input connected to the COM Express carrier board
GPIO 2 Input connected to the COM Express carrier board
GPIO 3 Input connected to the COM Express carrier board
GPIO 4 Output 0 connected to the COM Express carrier board
GPIO 5 Output 0 connected to the COM Express carrier board
GPIO 6 Output 0 connected to the COM Express carrier board
Functional Description
GPIO 7 Output 0 connected to the COM Express carrier board
GPIO 8 Multiplex as SDHC_CD: which is used to check if
GPIO 9 Multiplex as SDHC_WP: which is used to check
GPIO 10 Output 0 can be used to clear WDT timer.
GPIO 11 Input connected to the COM Express carrier board
GPIO 12 Output 1 If this pin is set to 1, and s3[14] is set to OFF, then
GPIO 13 Input connected to the COM Express carrier board
GPIO 14 Input connected to the COM Express carrier board
GPIO 15 Input connected to the COM Express carrier board
COMX-P2020 Module Installation and Use (6806800K97E)
the SD insert or not.
the SD is write protect or not.
If the pin is set to 1, the WDT timer will be cleared.
Serdes#2 is switch to COMe PCI #2; If this pin is set to 0, or s3[14] is set to ON, then Serdes#2 is switch to GEPHY2. For COMX-P2020, GPIO[12] must be set to 1 and s3[14] must be set to OFF.
83
Functional Description

4.11 UART

The COMX-P2020 Module consists of two universal asynchronous receiver/transmitters (UARTs). The UARTs act independently. Each UART is clocked by the platform clock (600MHz). The DUART programming model is compatible with the PC16552D.
U-boot will use the following parameters to initialize the UARTs:
Table 4-2 Initialization Parameters
Parameter Value
Baud rate 115200
Data bit 8
Parity None
Stop bit 1
CCB Clock 400 MHz
Divisor most and least significant byte registers CCB Clock / Baud rate / 16 = 326
Internal interrupt number 26

4.12 USB

P2020 implements a dual-role (DR) USB module. This module is connected to USB2514i which can provide 4 downstream ports. The DR module can act as a device or host controller, while in this case, it is configured as a host controller, and it can support at most six bidirectional USB endpoints.

4.13 PCI Express

There are three PCI Express on COMX-P2020 . The PCI Express are configured as:
PCI Express 1 x1 (2.5 Gbps) SerDes lane 0
84
COMX-P2020 Module Installation and Use (6806800K97E)
PCI Express 2 x1 (2.5 Gbps) > SerDes lane 1
PCI Express 3 x2 (2.5 Gbps) SerDes lanes 2-3
PCI Express 1 is connected to GPU Z11M. The other two are connected to the carrier board

4.14 Ethernet (eTSEC)

COMX-P2020 provides three enhanced three-speed Ethernet controllers (eTSECs) which interface to 10 Mbps, 100 Mbps, and 1 Gbps Ethernet/IEEE 802.3 networks. The Ethernet controllers are connected to 2 BCM5482.Each BCM5482 can provide two Ethernet transceivers designed for 1000 Mbps, 100Mbps and 10 Mbps applications. All of the PHYs are configured with: Auto-Negotiations Enable, Full-duplex modes by default.
Functional Description
COMX-P2020 Module Installation and Use (6806800K97E)
85
Functional Description
86
COMX-P2020 Module Installation and Use (6806800K97E)

Maps and Registers

5.1 Memory Map

The U-boot uses a 32-bit effective address and a 32-bit physical address. The memory map is listed below:.
Table 5-1 Memory Map
Chapter 5
Effective
Address#
1. 0000 0000 0000 0000 8000 0000 - 2GB DDR3 Memory
2. 8000 0000 8000 0000 2000 0000 - 512MB PCIE3 MEM
3. A000 0000 A000 0000 2000 0000 - 512MB PCIE2 MEM
4. C000 0000 C000 0000 2000 0000 - 512MB PCIE1 MEM
5. FFC0 0000 FFC0 0000 0001 0000 - 64K PCIE3 I/O
6. FFC1 0000 FFC1 0000 0001 0000 - 64K PCIE2 I/O
7. FFC2 0000 FFC2 0000 0001 0000 - 64K PCIE1 I/O
8. FFD0 0000 FFD0 0000 0000 4000 - 16K L1 Cache(Initial
9. FFE0 0000 FFE0 0000 0010 0000 - 1MB CCSR
10. FFFF F000 FFFF F000 0000 1000 - 4KB BOOT PAGE
Base Address
Physical Base Address Size Description

5.2 IRQ Distribution

Table 5-2 IRQ Distribution
RAM)
IRQ# Description
CPU_IRQ6 to COM Express connectors
CPU_IRQ5 LM75 IRQ output
CPU_IRQ4 SO-UDIMM_EVENT
CPU_IRQ3 RTC IRQ output
CPU_IRQ2 to COM Express connectors
COMX-P2020 Module Installation and Use (6806800K97E)
87
Maps and Registers
Table 5-2 IRQ Distribution (continued)
IRQ# Description
CPU_IRQ1 to COM Express connectors
CPU_IRQ0 to COM Express connectors

5.3 Registers

For more information about registers of the devices refer References.
88
COMX-P2020 Module Installation and Use (6806800K97E)

Firmware Upgrade

6.1 Upgrade Procedure

6.1.1 Host Setup

Host setup is very critical in upgrading the firmware. The following instructions are generic, and have been tested at RHEL 4.6 and RHEL 5.3 - 32 bit. Your system may be different and the commands should be adjusted accordingly.
1. Turn off the firewall for tftp to work. Type iptables -F or setup at the command line.
2. All the operators on the host side should be ordinary users which have "sudo"
privilege with NO password. To obtain "sudo" privilege, the operator should login as root, and run "visudo" and add the below line at the end. Example:
ec7987 ALL=(ALL) NOPASSWD: ALL
Chapter 6
3. Setting up the tftp service:
1. Create the /local/tftpboot/COMX-P2020/current directory at host, and copy the release file: COMX-P2020.bsp.tar.gz to the directory: /local/tftpboot/COMX-P2020/current
[percy@localhost current]$ sudo chmod 777 /local/tftpboot/COMX­P2020/current
[percy@localhost current]$ ls -al COMX-P2020.bsp.tar.gz
-rwxr--r-- 1 percy percy 462501957 Dec 9 14:57 COMX-P2020.bsp.tar.gz [percy@localhost current]$
2. Extract all the BSP targets from the COMX-P2020.bsp.tar.gz:
[percy@localhost current]$ tar zxvf COMX-P2020.bsp.tar.gz [percy@localhost current]$ ls -al
total 910224 drwxr-xr-x 2 percy percy 4096 Dec 10 09:37 . drwxrwxr-x 8 percy percy 4096 Dec 9 18:07 ..
-rw-r--r-- 1 percy percy 9824 Dec 9 14:51 comx.dtb
COMX-P2020 Module Installation and Use (6806800K97E)
89
Firmware Upgrade
-rwxr--r-- 1 percy percy 462501957 Dec 9 14:57 COMX-P2020.bsp.tar.gz
-r-xr-xr-x 1 percy percy 5771 Dec 9 12:57 make_sd.sh
-rw-r--r-- 1 percy percy 110443332 Dec 9 14:53 rootfs-dev.ext2.img
-rw-r--r-- 1 percy percy 107400408 Dec 9 14:54 rootfs-LRFS.tar.gz
-rw-r--r-- 1 percy percy 3872536 Dec 9 14:51 rootfs-min.ext2.img
-rw-r--r-- 1 percy percy 200253398 Dec 9 14:55 rootfs-nfs.tar.gz
-rw-r--r-- 1 percy percy 42137827 Dec 9 14:51 rootfs-usr.ext2.img
-rwxr-xr-x 1 percy percy 524288 Dec 9 14:40 u-boot-sd.bin
-rw-r--r-- 1 percy percy 525312 Dec 9 14:39 u-boot-spi.bin
-rw-r--r-- 1 percy percy 3416506 Dec 9 14:51 uImage [percy@localhost current]$
3. Edit /etc/xinetd.d/tftp to enable tftp, here we set the tftp directory to /local/tftpboot:
service tftp {
socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -s /local/tftpboot disable = no per_source = 11 cps = 100 2 flags = IPv4
}
90
4. Start the tftp servers at the host:
[percy@localhost COMX-P2020]$sudo /sbin/service xinetd start Stopping xinetd: [ OK ] Starting xinetd: [ OK ]
COMX-P2020 Module Installation and Use (6806800K97E)

6.1.2 Upgrade MicroSD Card

This device should be pre-programmed with a USB reader at Linux host.
1. Insert the MicroSD card to a USB reader.
2. Connect the USB reader to the host.
3. Check the device name for the USB reader. The following command shows that the device name for USB reader is /dev/sdb.
[percy@localhost current]$ ls -al /dev/sd* brw-r----- 1 root disk 8, 0 Dec 2 17:16 /dev/sda
brw-r----- 1 root disk 8, 1 Dec 2 17:17 /dev/sda1 brw-r----- 1 root disk 8, 2 Dec 2 17:16 /dev/sda2 brw-r----- 1 root disk 8, 16 Dec 2 18:43 /dev/sdb [percy@localhost current]$ sudo fdisk -l /dev/sdb
Firmware Upgrade
Disk /dev/sdb: 2002 MB, 2002780160 bytes 62 heads, 62 sectors/track, 1017 cylinders Units = cylinders of 3844 * 512 = 1968128 bytes
Device Boot Start End Blocks Id System
4. Run the script make_sd.sh to program the SD card with the BSP targets as below:
[percy@localhost COMX-P2020]$ sudo ./make_sd.sh /dev/sdb
Normally, the program process will last for 3-5 minutes. If the SD card is upgraded successfully, the following information should be shown as below:
COMX-P2020 Module Installation and Use (6806800K97E)
91
Firmware Upgrade
Program SD successfully, first partition size = 300 MByte, cost time: 198 seconds
Otherwise, the SD card has failed to be programmed.
5. The second parameter of the script: make_sd.sh can be used to change the size of first partition. To change the size of the first partition to 250M, you can run the script as below:
[percy@localhost COMX-P2020]$ sudo ./make_sd.sh /dev/sdb 250 …… Program SD successfully, first partition size = 250 MByte, cost time: 171 seconds
The size of the first partition should be greater than 160M, and less than 2000M, or the script will show input parameter error.

6.1.3 Upgrade SPI Flash

1. Attach the board's first Ethernet port (eTSEC1) to the host using a network cable. Assuming that the IP address of the host is 192.168.0.197, and IP Address for board is 192.168.0.253.
2. Attach the board's first serial port (UART0) to the host using a serial port cable. The serial port of the host can be set with the following parameters:
Baud rate= 115200; Data bits = 8; Parity = None; Stop bits = 1; Flow Control = None
3. Power on the board. Normally, the following information can be seen at the terminal of the host:
U-Boot 2009.11-V100B09 (Sep 24 2010 - 17:19:44)
CPU0: P2020E, Version: 2.0, (0x80ea0020) Core: E500, Version: 5.0, (0x80211050) Clock Configuration:
92
COMX-P2020 Module Installation and Use (6806800K97E)
Firmware Upgrade
CPU0:1200 MHz, CPU1:1200 MHz, CCB:400 MHz, DDR:400 MHz (800 MT/s data rate) (Asynchronous), LBC:25 MHz L1: D-cache 32 kB enabled I-cache 32 kB enabled I2C: ready SPI: ready DRAM: 2 GB L2: 512 KB enabled MMC: FSL_ESDHC: 0 *** Warning - bad CRC, using default environment
EEPROM: NXID v0
PCIE3 connected to Slot0 as Root Complex (base addr ffe08000) PCIE3 on bus 00 - 00
PCIE2 connected to Slot 1 as Root Complex (base addr ffe09000) PCIE2 on bus 01 - 01
PCIE1 connected to Slot 2 as Root Complex (base addr ffe0a000) Current Status: LSR-11, LTSSM-16, PEX width-x1, Clock-2.5GT/s Scanning PCI bus 03 03 00 18ca 0027 0300 00 PCIE1 on bus 02 - 03
In: serial Out: serial Err: serial Net: eTSEC1, eTSEC2, eTSEC3 Hit any key to stop autoboot: 0
=>
4. Set the u-Boot environment variables for the network settings through the terminal:
=> setenv ethaddr 00:01:af:12:23:01 => setenv ipaddr 192.168.0.253
=> setenv netmask 255.255.255.0 => setenv gatewayip 192.168.0.1 => setenv serverip 192.168.0.197 => setenv ethact eTSEC1 => ping 192.168.0.197 Enet starting in 100BT/FD
COMX-P2020 Module Installation and Use (6806800K97E)
93
Firmware Upgrade
Speed: 100, full duplex Using eTSEC1 device
host 192.168.0.197 is alive
5. Set the U-Boot environment variables for upgrade files and upgrade the SPI Flash. This step may take up to 1 minute.
=> setenv tftppath COMX-P2020/current => setenv uboot_spi u-boot-spi.bin
=> run upgradespi 4096 KiB S25FL032A(P) at 0:0 is now current device Enet starting in 100BT/FD Speed: 100, full duplex Using eTSEC1 device TFTP from server 192.168.0.197; our IP address is 192.168.0.250 Filename 'COMX-P2020/current/u-boot-spi.bin'. Load address: 0x1000000 Loading: #################################### done Bytes transferred = 525312 (80400 hex)
=>
94
COMX-P2020 Module Installation and Use (6806800K97E)

Operating System and Driver Support

7.1 Supported Operating Systems

This module supports the following operating systems:
Linux (published by Artesyn)
Publicly available Linux with Artesyn's patches. Includes the following:
U-boot (Based on public version: u-boot-2009.11 [Dec 15 2009] )
Linux Kernel (Based on public version: 2.6.32)
File system

7.2 Supported Drivers

Chapter 7
Table 7-1 Driver Controller Table
Linux (published by Artesyn)
Chipset Yes
Graphic Yes
LAN Yes
COMX-P2020 Module Installation and Use (6806800K97E)
95
Operating System and Driver Support
96
COMX-P2020 Module Installation and Use (6806800K97E)
Appendix A

A Related Documentation

A.1 Artesyn Embedded Technologies - Embedded
Computing Documentation
The publications listed below are referenced in this manual. You can obtain electronic copies of Artesyn Embedded Technologies - Embedded Computing publications by contacting your local Artesyn sales office. For released products, you can also visit our Web site for the latest copies of our product documentation.
1. Go to www.artesyn.com/computing/support/product/technical-documentation.php.
2. Under FILTER OPTIONS, click the Document types drop-down list box to select the type of
document you are looking for.
3. In the Search text box, type the product name and click GO.
Table A-1 Artesyn Embedded Technologies - Embedded Computing Publications
Document Title Publication Number
COMX-P2020 BSP User Guide 6806800L84
COMX-P2020 Quick Start Guide 6806800K98
COMX-P2020 Safety Notes 6806800K99
COMX-P2020 Module Installation and Use (6806800K97E)
97
Related Documentation

A.2 References

The following table lists references documentations of the devices used on COMX-P2020 module.
Table A-2 References
Document Title Source
http://www.st.com/web/en/resource/technical/document /datasheet/CD00002304.pdf Datasheet
http://ww1.microchip.com/downloads/en/DeviceDoc/US B251xB_xBi%20DS%20Rev.%202.3%20(06-11-13).pdf Datasheet
http://www.micron.com/~/media/documents/products/d ata-sheet/nor-flash/serial-nor/m25p/m25p10a.pdf
http://www.ti.com/lit/ds/symlink/lm75a.pdf Texas Instruments
https://support.broadcom.com/docSAFE Broadcom BCM 5482
Volari Z11M GPU XGI™ Technology Inc
Freescale P2020 Refrence Manual Freescale™ Semiconductor
STMicroelectronics
Standard Microsystems Corporation (SMSC)
Micron Technology, Inc
Incorporated
98
COMX-P2020 Module Installation and Use (6806800K97E)
Artesyn Embedded Technologies, Artesyn and the Artesyn Embedded Technologies logo are trademarks and service marks of Artesyn Embedded Technologies, Inc. All other product or service names are the property of their respective owners.
©
2015 Artesyn Embedded Technologies, Inc.
Loading...