Freescale Semiconductor TWR-MPC5125, TWR-MPC5125-KIT User guide

semiconductor
TWR-MPC5125
User Manual
TWR-MPC5125 User Manual
semiconductor
Table of Contents
1.0 General Description
Device Placement and Functions
1.1
Made by
.com
02 02
2.0 Hardware Design & Architecture
2.1 General Description
2.2 Physical Specifications
2.3 Debugger Interface
2.4 Physical Specifications
3.0 Control & Configuration
3.1 Switch Settings
3.2 Sw7 – Power On Reset
3.3 Sw1 – Boot Mode
3.4 Configuration Header Settings
4.0 Schematic
5.0
Operation
5.1 Central Processing Unit
5.2 Power supplies
5.3 Resets
5.4 Memory
6.0 U-boot, Linux setup
6.1 Host Computer Setup
6.2 Target Setup
6.3 Configuring U-Boot
6.4 NFS Root Development Deployment
6.5 How to boot from net_ramboot
7.0 How to build U-Boot, Kernel and device-tree
7.1 Cross-compilation settings
7.2 How to build
8.0 How to program NAND
8.1 Program Loader and U-boot
8.2 Program Device-tree and Kernel
8.3 Upgrade Filesystem from the U-Disk
Appendix A Appendix B
--Connector Pin Assignments
--Memory Map
07 07 07 07 08
09 09 09 09 10
11
12 12 12 12 13
14 14 15 16 19 19
21 21 21
23 23 26 26
28 29
TWR-MPC 5125
01
TWR-MPC5125 User Manual
semiconductor
Made by
www.
.com
1.0 General Description
The MPC5125 Tower System is based on Freescale's MPC5125 microprocessor. The board provides on-board DDR2 SDRAM, NAND FLASH,CAN ports, USB 2.0, 10/100 Ethernet, HDMI,USB Debug Port.All
powered from a 5 Volt wall mount power supply.
Freescale's Tower System. For information of Tower System, please go to
http://www.freescale.com/tower .
1.1 Device Placement and Functions
This section provides a description of the connectors, jumpers, switches and main components of the MPC5125 board. Refer to Figures 1 and 2 for location of the devices referenced below.
This board is compatible with
J2 JTAG Connector
1
CN1 RJ45 Ethernet Connector
2
J35 Serial Port Header
3
SW1 System
4
Config Switch
U13 USB PHY
5
Mini-AB USB Connector
6
CN3 HDMI Connector
7
U20 HMDI Transmitter
8
J27 Dual-Ethernet Jumper
9
J3 On-Board Microphone (MIC)
10
J1 Earphone Connector
11
U28 Audio CODEC
12
Secondary Elevator Connctor
13
TWR-MPC 5125
Figure 1
Primary Elevator connector
J4 Debug MCU Config Header
U14 Debug MCU
J19 USB Debug port
SW7 Reset Swich
SW8 Hibemate Swich
J33 Depopulated
SD Card Connector
J31 CAN Termination
S/ N: MPC 5 1 2 5 1 0 0 3 0 0 0 1
J34 CAN Connector
DC 5V
U6 DDR Memory
U7 DDR Memory
Battery Site
U1 MPC5125
Jumper
J20 DC In
02
14
15
16
17
18
19
20
21
22
23
24
25
26
27
semiconductor
U10 NAND Flash Memory
28
U4 Digital Accelerometer
29
TWR-MPC5125 User Manual
Made by
A
7
-
9
-4
0
0 8-
7
-
2
-2
0
0
: C
MA
.com
U2 Ethernet PHY
Figure 2
Additional descriptions of the functionality of switches and jumpers along with their recommended settings can be found in Section 3 of this manual.
1
J2- JTAG Connector
Connector J2 is a 16-pin header used for the COP/JTAG input. This port is made available to aid of debugging code running on the MPC5125.The pin­outs for the connector are listed in Appendix A
30
TWR-MPC 5125
03
TWR-MPC5125 User Manual
semiconductor
2
Cn1 RJ45 Ethernet Connector
Made by
Cn1 is a standard Ethernet input jack
3
J35 Serial Port Header
J35 is the serial port header with the following 2x2 header to MPC5125 pin assignments:
.com
PSC2_2 PSC2_3
4
SW1 System config switch
PSC2_0 PSC2_1
See switch settings. Section 3
5
U13 USB PHY
U13 is a Hi-Speed USB 2.0 ULPI transceiver
6
Mini-AB USB Connector
DOWN4 is a USB mini AB connector that is compatible with the USB 2.0 format.
7
CN3 HDMI Connector
CN3 is a HDMI interface
8
U20 HMDI Transmitter
U20 is a HDMI transmitter
9
J27 Dual-Ethernet Jumper
J27 is the dual-Ethernet jumper. Connecting a jumper across the terminals will enable a second Ethernet connection to be made over the Primary Elevator Connector in addition to the CN1 RJ45 Ethernet jack. Connecting this jumper will disable the Mini-AB USB Connector.
TWR-MPC 5125
04
TWR-MPC5125 User Manual
semiconductor
10
J3 On-Board Microphone (MIC)
Made by
Audio input
11
J1 Earphone Connector
Audio output
12
U28 Audio CODEC
U28 is Audio CODEC
13
Secondary Elevator Connctor
Secondary Elevator Edge Connector for the Freescale TOWER system
14
Primary Elevator connector
Primary Elevator Edge Connector for the Freescale TOWER system
15
J4 Debug MCU Config Header
See section 3.4 for configuration header settings. A BDM module can be connected as shown to debug code running on the Debug MCU.
.com
Pin 1 Pin 3
Pin 5
16
U14 Debug MCU
Pin 2 Pin 4
Pin 6
U14 is Debug MCU which performs the USB to MPC5125 debug bridge from the USB Debug Port.
17
J19 USB Debug port
J19 is the USB Debug port for the MPC5125. Power can be provided to the system over this USB port.
18
SW7 Reset switch
SW7 is a Hardware Reset switch. Push once causes a Power on reset.
TWR-MPC 5125
05
TWR-MPC5125 User Manual
semiconductor
19
SW8 Hibernate Switch
Made by
SW8 is hibernate switch Push it to wake up the system
20
J33 Depopulated Battery Site
Location to add a battery or capacitor for the Real Time Clock VBAT_RTC power domain.Recommended capacitor is EECEN0F204RT from Panasonic .
21
U1 MPC5125
U1 is Freescale's MPC5125 microprocessor
22
SD Card Connector
SD card interface
23
J31 CAN Termination Jumper
J31 is the CAN jumper location. Connecting a jumper across the terminals will add termination to the CAN interface which is normally not terminated.
24
J34 CAN Connector
J34 is a CAN connector
25
U6 DDR Memory
U6 is DDR2 Memory for system running
26
J20 DC IN
J20 is the 5V DC input to the board
27
U7 DDR Memory
DC 5V
U7 is DDR2 Memory for system running
28
U10 NAND Flash Memory
U10 is a NAND Flash for uboot, Linux kernel, file system and user data
29
U4 Digital Accelerometer
U4 is a digital accelerometer
30
U2 Ethernet PHY
U2 is the Ethernet PHY with MII/RMII interface.
.com
TWR-MPC 5125
06
TWR-MPC5125 User Manual
semiconductor
Made by
www.
.com
2.0 Hardware Design & Architecture
2.1 Memory
4GB MLC NAND flash storage 256MB DDR2 memory
2.2 Connectving & Features
Digital accelerometer
- HDMI(video/audio) port with HDMI to DVI--D adaptor
- RJ-45 10/100 Base T Ethernet port Mini-AB USB2.0 OTG
-
USB host to hub (keyboard, mouse, sound , card, WiFi,....)
USB device to external USB host system
On-board microphone and audio stereo out jack
­SD Card expansion port
­CAN2.0 A/B port
-
2.3 Debugger Interface
On-board debugger over Mini-B USB port
JTAG/COP header for external BDM
TWR-MPC 5125
07
TWR-MPC5125 User Manual
semiconductor
Made by
.com
Serial Header
JATG
USB Debug Port
EMB_AD[ 0:31]
BUS @20 0MHz, (DDR2 -400)
DDR CON TROLL ER AND DATA
12C/1
LAN PH Y
2.4 Physical Specifications
This section contains general information on the MPC5125's physical characteristics
Board Size: Freescale Tower specification(59mm x 90mm) Power Requirement: 5VDC
Operating Temperature: 0 to +70 Weight: 50g RoHS: Compliant FCC/CE: Compliant
TWR-MPC 5125
08
TWR-MPC5125 User Manual
semiconductor
Made by
www.
.com
3.0 Control & Configuration
This section contains general set-up information about the various jumpers, switches on the MPC5125 board.
3.1 Switch Settings
This section provides a brief description of the functionality and recommended settings for the switches located on the MPC5125
Refer to Figure 1 for the locations of these switches.
3.2 Sw7 – Power On Reset
Sw7 is a push button that provides a power on reset signal for the hardware on the MPC5125.
3.3 Sw1 – Boot Mode
The mode switch provides configure the different operation of the MPC5125.
SW1 Position Reset Configuration Signal Description Default
6 RST_CONF_ROMLOC0 Boot Device Select
0 = LPC Boot, 1 = NAND (NFC) boot 1
5 RST_CONF_BMS Boot Mode Select
0 = boot low, 1 = boot high 1
4 RST_CONF_LPC_DBW0 LPC Data Port Size
3 RST_CONF_LPC_DBW1 00 = 8-bit, 01 = 16-bit, 10 = reserved, 11 = 32-bit 00
2 RST_CONF_LPCWA LPC Word/Byte Address Mode
0 = word address mode, 1 = byte address mode 1
1 RST_CONF_LPCMX LPC Multiplex Mode
0 = non-multiplexed mode, 1 = multiplexed mode 0
TWR-MPC 5125
09
Loading...
+ 21 hidden pages