Page 1
QuickStart Instructions phyCORE-MPC565 Using Freescale CodeWarrior Development Tool Chain Note: The PHYTEC Spectrum CD includes the electronic version of the phyCORE-MPC565 English Hardware Manual Edition: September 2009 A product of a PHYTEC Technology Holding company...
Page 2
PHYTEC Meßtechnik 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 Meßtechnik GmbH reserves the right to alter the information contained herein without prior notification and accepts no responsibility for any damages which might result.
Getting Started .................. 13 2.1 Installing the Metrowerks CodeWarrior Tool Chain ....13 2.2 Installing Rapid Development Kit Software ......15 2.3 Interfacing the phyCORE-MPC565 to a Host-PC ..... 15 2.4 Launching the CodeWarrior IDE ..........19 2.4.1 Setting up a New Remote Connection ......19 2.5 Downloading Example Code with CodeWarrior IDE ....
Introduction to the phyCORE-MPC565 1 Introduction to the phyCORE-MPC565 Rapid Development Kit This QuickStart provides: • general information on the PHYTEC phyCORE-MPC565 Single Board Computer • an overview of Freescale's CodeWarrior software development tool chain, and • instructions on how to run example programs on the phyCORE-MPC565, mounted on the PHYTEC Development Board, in conjunction with Freescale' CodeWarrior tools.
1.3 System Requirements Use of this "Rapid Development Kit" requires: • the PHYTEC phyCORE-MPC565, • the PHYTEC Development Board with the included DB-9 serial cable, DB-25 printer port cable and AC-to-DC adapter supplying 5 V DC/min. 1.5 A, • the PHYTEC Spectrum CD, •...
200-pin, high-density Molex connectors. In addition to the on-chip Flash (1 MByte), the phyCORE-MPC565 can be populated with up to 8 MByte of asynchronous standard Flash and up to 16 MByte of synchronous Burst-SRAM, addressable without wait states. Both memory device...
Page 10
C Real-Time Clock with calendar and alarm function • power-down/wake-up support via RTC or external signal • JTAG/BDM/Nexus test/debug port • industrial temperature range (-40…+85°C) The phyCORE-MPC565 Development Board is fully equipped with all mechanical and electrical components necessary for the speedy and secure insertion...
Introduction to the phyCORE-MPC565 Freescale CodeWarrior consists of the IDE and Debugger core tools, which are structured as follows: IDE: Windows-based Integrated Development Environment housing the following tools: • Project Manager: shows the collection of files used to build an output file •...
Page 15
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 Freescale CodeWarrior for PowerPC Embedded Systems • installing the Rapid Development Kit software • interfacing the phyCORE-MPC565, mounted on the Development Board, to a host-PC • downloading example user code from a host-PC to the phyCORE-MPC565 on-board memory 2.1 Installing the Freescale CodeWarrior Tool Chain...
Page 18
Program Files for CodeWarrior on your host-PC. These files enable initialization of and communication to the PHYTEC phyCORE-MPC565 target hardware from within the CodeWarrior IDE. You need to enter the path ftp://ftp.phytec.de/pub/Products/ phyCORE-MPC565/CW8.7/ into your browser and then...
Getting Started 2.2 Installing Rapid Development Kit Software The current version of the PHYTEC Tool-CD does not provide a setup program for automatic installation. You will need to manually copy the demos, manuals, and other support documents for this Rapid Development Kit to your local hard drive.
Getting Started • Configure the jumpers on the phyCORE Development Board as indicated in the figure below. This correctly routes the interface signals to applicable connectors and establishes signal connection between on-board peripherals and the phyCORE-MPC565 module. JP29 JP28 JP12...
MPC565 processor is waiting in debug mode. The phyCORE-MPC565 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.
Example ftp://ftp.phytec.de/pub/ Products/phyCORE-MPC565/CW8.7/Hello_FL.zip to your hard disc. Navigate to C:\PHYBasic\phyCORE-MPC565\Demos, create the folder CW8.7 and decompress the example into this folder. • Launch the Freescale CodeWarrior IDE by double-clicking on the CodeWarrior icon or by selecting CodeWarrior from within the Programs\Freescale CodeWarrior\PowerPC 5xx V8.7\...
QuickStart Instructions 2.5.3 Downloading Hello_Fl to the MPC565 On-Chip Flash • Make sure Jumper JP17 on the phyCORE-MPC565 Development Board is closed at default position 1+2 (refer to Figure 3). • From the pull-down menu, at the top of the Hello_Fl.mcp project window, select the software target "rom".
2.5.4 Downloading Hello_Fl to the External Standard Flash (PCM-019-1010E Only) This example demonstrates burning code to the external standard Flash on the phyCORE-MPC565. The example program will be downloaded to the standard Flash devices at U5/U6 (AM29LV type). Note: This example only applies to phyCORE-MPC565 modules with part number PCM-019-1010E and the latest EPLD firmware.
2.5.5 Downloading Hello_Fl to the External Burst Flash (PCM-019-3230 Only) This example demonstrates burning code to the external burst Flash on the phyCORE-MPC565. The example program will be downloaded to the burst Flash devices at U3 (AM29BDD type). Note: This example only applies to phyCORE-MPC565 modules with part number PCM-019-3230.
Page 56
• Click No when you are prompted to save these new settings. You have now successfully downloaded the Hello_Fl example program to the external burst Flash on the phyCORE-MPC565. • Disconnect the power adapter from Development Board. • Disconnect the DB-25 parallel cable.
QuickStart Instructions 2.6 Creating a New Project For ease of creating a new project for the phyCORE-MPC565 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-MPC565 and is the answer not in the manual?
Questions and answers