Page 1
QuickStart Instructions Using Freescale CodeWarrior Development Tool Chain Note: The PHYTEC Spectrum CD includes the electronic version of the phyCORE-MPC555 English Hardware Manual Edition: August 2009 A product of a PHYTEC Technology Holding company...
Page 2
PHYTEC Messtechnik GmbH neither gives any guarantee nor accepts any liability whatsoever for consequential damages resulting from the use of this manual or its associated product. PHYTEC Messtechnik GmbH reserves the right to alter the information contained herein without prior notification and accepts no responsibility for any damages which might result.
1.5 The Freescale CodeWarrior Development Tool Chain....7 Getting Started................... 11 2.1 Installing the Freescale CodeWarrior Tool Chain ..... 11 2.2 Interfacing the phyCORE-MPC555 to a Host-PC ..... 13 2.3 Launching the CodeWarrior IDE ..........15 2.4 Downloading Example Code with CodeWarrior IDE ....17 2.4.1...
Introduction to the phyCORE-MPC555 1 Introduction to the phyCORE-MPC555 Rapid Development Kit This QuickStart provides: • general information on the PHYTEC phyCORE-MPC555 Single Board Computer • an overview of Freescale's CodeWarrior software development tool chain, and • instructions on how to run example programs on the phyCORE-MPC555, mounted on the PHYTEC Development Board, in conjunction with Freescale's CodeWarrior tools.
1.3 System Requirements Use of this "Rapid Development Kit" requires: • the PHYTEC phyCORE-MPC555, • the PHYTEC Development Board with the included DB-9 serial cable, DB-25 printer port cable and AC-to-DC adapter supplying 9 V DC/min. 1.5 A, • the PHYTEC Spectrum CD, •...
160-pin Molex SMT pin header connectors (pin width is 0.635 mm./25mil) lining the circuit board edges. This enables the phyCORE-MPC555 to be plugged like a “big chip” into target hardware. The standard memory configurations of the phyCORE-MPC555...
Page 9
Introduction to the phyCORE-MPC555 phyCORE-MPC555 Technical Highlights • phyCORE dimensions 72 x 57 mm with two high-density 160-pin Molex SMT pin header connectors • Processor: Freescale Embedded PowerPC MPC555, 40 MHz clock • Internal components of the MPC555: 32-bit PowerPC core...
Page 10
+5 V +3.3 V phyCORE-MPC555. Additional +5 V is created for the VG96-con- nector. • VG96 connector with all I/O signals of the MPC555 • two standard width pin header rows (3 x 54) which provide all phyCORE-MPC555 signals •...
Introduction to the phyCORE-MPC555 1.5 The Freescale CodeWarrior Development Tool Chain Freescale CodeWarrior is a cost-effective and highly functional Integrated Development Environment (IDE) containing a complete suite of development tools to create, compile, link, debug, and assemble fast, optimized embedded systems code for the PowerPC 5xx/6xx/8xx and other architectures.
Page 13
Introduction to the phyCORE-MPC555 All IDE commands and functions are accessible via pull-down menus or short cuts. An extensive Help utility is included. The Project Manager gathers all necessary source files, library and project information - such as various output files (called targets) with different memory maps for RAM-download or ROM-imaging - and stores it in a project file assigned the suffix *.mcp.
Page 14
Mode), a hardware debugger module integrated on the processor. The parallel printer port of the host-PC communicates to the phyCORE via a BDM interface, such as the Macraigor Wiggler or the BDM signal conversion logic integrated on the PHYTEC Development Board.
What you will learn with this Getting Started example: • installing the Rapid Development Kit software • installing Freescale CodeWarrior for PowerPC Embedded Systems • interfacing the phyCORE-MPC555, mounted on the Development Board, to a host-PC • downloading example user code from a host-PC to the phyCORE-MPC555 on-board memory 2.1 Installing the Freescale CodeWarrior Tool Chain...
Page 16
Program Files for CodeWarrior on your host-PC. These files enable initialization of and communication to the PHYTEC phyCORE-MPC555 target hardware from within the CodeWarrior IDE. • After installing the PHYTEC Spectrum CD, replace the files mpc555.elf and mpc555sh.elf located in: C:\ProgramFiles\Freescale\CodeWarrior EPPC 5xx V8.7\bin\ Plugins\Support\Flash_Programmer\EPPC with those out of the path: C:\phyBASIC\phyCORE- MPC555\Tools\CW8.1\bin\Plugins...
Getting Started 2.2 Interfacing the phyCORE-MPC555 to a Host-PC Connecting the phyCORE-MPC555 (part # PCM-001-xxxx, mounted on the PHYTEC Development Board (part # PCM-995), to your computer is simple: • If the phyCORE module is not already connected, mount it onto the Development Board's Molex connector (X1) as shown in the figure below.
This correctly routes the interface signals to applicable connectors and establishes signal connection between on-board peripherals and the phyCORE-MPC555 module. • Connect the DB-25 connector (P1) of the Development Board to the LPT1 port of your host-PC using the included DB-25 cable.
MPC555 processor is waiting in debug mode. The phyCORE-MPC555 should now be properly connected via the Development Board to a host-PC and power supply and you are now ready to use the Freescale CodeWarrior tool chain to establish communication.
SRAM. The external SRAM is available from address 0x10000000 to 0x1003FFFF (256 kByte). The end address depends on the actual SRAM capacity available on the phyCORE-MPC555. "rom" target The rom target is configured to generate an output that is linked for operation in ROM (either internal or external Flash memory).
/ Kill in the main tool bar). 2.4.3 Downloading Hello_Fl to the MPC555 on-chip Flash • Make sure Jumper JP15 on the phyCORE-MPC555 Development Board is closed at position 1+2 (refer to Figure 2). • From the pull-down menu, at the top of the Hello_Fl.mcp project window, select the software target "rom".
2.4.4 Downloading Hello_Fl to the External Flash This example demonstrates burning code to the external Flash on the phyCORE-MPC555. The example program will be downloaded to the Flash devices at U2/U3 (AM29LV type). • Disconnect the power adapter from Development Board.
Page 47
• Click No when you are prompted to save these new settings. You have now successfully downloaded the Hello_Fl example program to the external Flash on the phyCORE-MPC555. • Disconnect the power adapter from Development Board. • Important: Remove Jumper JP6.
QuickStart Instructions 2.5 Creating a New Project For ease of creating a new project for the phyCORE-MPC555 it is recommended that the given Hello_Fl project is used as a template. The Hello_Fl project already has the target, linker, compiler,...
Need help?
Do you have a question about the phyCORE-MPC555 and is the answer not in the manual?
Questions and answers