FREESCALE TWR

Quick Start Guide
TWR-MPC8309
PowerQUICC Processor with
Industrial Connectivity and
Protocol Off-Load Engine
T-P23345-TWR-MPC8309-o1v6.indd 1
TOWER SYSTEM
11/4/11 5:19 P
Quick Start Guide
Get to Know the TWR-MPC8309
Display
Header
Primary Tower Elevator Connector
Mounting Holes
RS232
Header
USB2
Full-Speed Port
(console, power)
SD Slot
(bottom)
Configuration
Switches
Reset
Button
Interrupt
Button
External
Mic Jack
Port 2
Stereo Out
Audio Jack
JTAG/COP
Header
USB2
High-Speed
Port (power)
Optional Power
Adaptor Jack
(
5V)
MCU BDM Port
Port 1
Dual RJ45
10/100
Ethernet Ports
RS485 Port 2
RS485 Port 1
Primary Tower Elevator Connector
Mini-PCI Socket
(bottom)
TWR-MPC8309
Freescale Tower System
The TWR-MPC8309 module is part of the Freescale Tower System
portfolio, a modular development platform that enables rapid
prototyping and tool re-use through reconfigurable hardware.
Elevate your design to the next level with this industrial power
house by building your Tower System today.
2
T-P23345-TWR-MPC8309-o1v6.indd 2
11/4/11 5:19 P
TWR-MPC8309
The TWR-MPC8309 processor module can be operated as a stand-alone
single board computer (SBC), a primary elevator connected systemon-module (SoM) or a Tower System rapid prototyping development
platform. Freescale’s MQX™ software support enables applications
to quickly migrate from Freescale microcontrollers up to the highperformance MPC8309 processor featuring industrial connectivity and
a protocol off-load engine which eliminates the need for an external
industrial protocol FPGA/ASIC in the system.
Pre-Loaded Software
• U-Boot bootloader
• Freescale Linux® OS with real-time patches
• Freescale MQX real-time OS
• MPC8309 MCU control interface API
• Diagnostic routines to validate board functionality
T-P23345-TWR-MPC8309-o1v6.indd 3
11/4/11 5:19 P
Quick Start Guide
Step-by-Step Installation Instructions
In this quick start guide, you will learn how to set up the TWR-MPC8309 module and
run the included demonstration software. For more detailed information, please see the
user manual found on the included DVD or at freescale.com/TWR-MPC8309.
1
Connect a Display
(optional)
Purchase the MPC830x-TLCD display
module to remove the need for a host
computer. The display is driven with a
16-bit big-endian parallel interface.
2
Powering
TWR-MPC8309
Connect the USB2 Full-Speed port to host
computer USB port(s) using the provided
USB cable to power the board, which also
establishes a console connection to the
host. Alternatively, power can be supplied
over the USB2 High-Speed port or the
TWR-ELEV connection. Finally, a power
adaptor (not included) can supply power
over the 5-volt (
) jack.
3
Configuring a
Terminal Application
for the Console
On-board circuitry has been provided to
support a host computer console window
over the USB2 Full-Speed port. Upon
power-up, the host computer should
recognize new hardware named TWRMPC8309_VirtualCOM, which should
be configured with the TWR-MPC8309_
VirtualCOM.INF driver included on the
DVD or available at freescale.com/TWRMPC8309. Once the virtual COM port is
configured, display the console using any
terminal emulation application attached
to the COM port with the following serial
protocol settings: Bits per Second:
115200, Data bits: 8, Parity: None, Stop
bits: 1, Flow control: None. See the user
manual for more details.
4
T-P23345-TWR-MPC8309-o1v6.indd 4
11/4/11 5:19 P
TOWER SYSTEM
4
View
Informational Demo
Upon power-up, the board automatically
boots the Freescale Linux OS running
an informational demo showing a JPEG
slideshow on a connected display or text
files in the host computer console window.
See the user manual for details on how to
modify the demo contents.
T-P23345-TWR-MPC8309-o1v6.indd 5
5
Entering the Boot
Configuration and
Diagnostic Menus
The booting behavior can be changed by
entering the boot configuration menus.
With a host computer connected to the
USB2 Full-Speed port (see step 3), hold
down any key on the host computer while
the board is booting. Select the desired
boot configuration using the menus in the
console window. Diagnostic routines have
been included to verify the functionality of
the board and can be run using the “diag”
command in U-Boot. See the user manual
for details.
5
11/4/11 5:19 P
Quick Start Guide
6
Connecting
Cables
Dual Ethernet and RS485 ports enable
point-to-point networking demos on
a single TWR-MPC8309 module. Any
Ethernet cable can be connected between
the Ethernet ports and the ports will
auto-configure for proper communication.
Auto-configure also enables a direct
connection from either Ethernet port to a
host computer Ethernet port. An RS485
loopback cable has been included which
can be connected between the two
RS485 headers. Line up pin 1 marked
with an arrow on the cable connector to
the header pin 1 on both RS485 ports.
All TWR-MPC8309 headers have pin
1 marked with a white dot printed on
the board and increasing pin numbers
proceeding top to bottom, right to left from
pin 1 while looking into the header pins.
7
Debugger Interface
Connections
Connect the desired debugger hardware
to the standard JTAG/COP header lining
up pin 1 with the OBSEL configure
switch setting in the OFF position. TWRMPC8309 includes on-board debugging
circuitry to support an OSJTAG debugger
library. To use OSJTAG connect the host
computer to the USB2 Full-Speed port
and set the OBSEL configure switch
setting to the ON position.
8
Configuration
Switch Settings
See configuration switch settings on the
following page.
6
T-P23345-TWR-MPC8309-o1v6.indd 6
11/4/11 5:19 P
TOWER SYSTEM
Configuration
Switch Settings
ON
Setting
Label
Switch
Position
Label
SW1
1,2
3
Signals2
UART_
SEL[0:1]
OBSEL
4
RS485_EN1
5
RS485_EN2
6, 7
8
SW[0:1]
OB_BOOT
Settings2
Switch3
00
ON, ON
RS232 header (console)
01
ON, OFF
Elevator UART1 (console) + elevator UART0
10
OFF, ON
USB2 Full-Speed port (console)
11
OFF, OFF
0
ON
USB2 Full-Speed port OSJTAG debugging
1
OFF
JTAG/COP header debugging
0
ON
Disable RS485 port 1
1
OFF
Enable RS485 port 1
0
ON
Disable RS485 port 2
1
OFF
Enable RS485 port 2
00
ON, ON
Any
Any
Specific settings for a given software application
0
ON
Boot from on-board NOR flash
1
OFF
Boot from elevator (see user manual)
Description
USB2 Full-Speed port (console) + elevator UART0
Software configuration bits (default software
behavior)
1) Switch positions as printed on the switch
2) Schematic signal settings readable from software from MSB (top-left as bit 0) to LSB (bottom-right as bit 7)
3) Switch settings as printed on the switch, factory settings highlighted red
T-P23345-TWR-MPC8309-o1v6.indd 7
7
11/4/11 5:19 P
T-P23345-TWR-MPC8309-o1v6.indd 8
Quick Start Guide
Visit freescale.com/TWR-MPC8309 for the latest
information on the TWR-MPC8309 module, including:
•
•
•
•
Board database: schematics, layout and BOM
User manual
Quick start guide
Software BSPs, industrial protocol evaluation stacks
and CodeWarrior
• Demos and tutorial
• Fact sheet
Support
Visit freescale.com/support for a list of phone
numbers within your region.
Warranty
Visit freescale.com/warranty for complete
warranty information.
For more information, visit freescale.com/Tower
Join the online Tower community at towergeeks.org
Freescale, the Freescale logo, CodeWarrior and PowerQUICC are trademarks
of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. The Power
Architecture and Power.org word marks and the Power and Power.org
logos and related marks are trademarks and service marks licensed by
Power.org. All other product or service names are the property of their
respective owners. © 2011 Freescale Semiconductor, Inc.
Document Number: TWRMPC8309QSG REV 0
Agile Number: 926-78652 REV B
11/4/11 5:19 P