Home

phyCORE-MCF548x, QS - Phytec Messtechnik GmbH

image

Contents

1. Pa Ww Wel QuickStart Instructions PowerPC Kit phyCORE MPC5554 Using iSYSTEM winIDEA for PowerPC Development Tool Chain Note The PHYTEC Tool CD includes the electronic version of the phyCORE MPC5554 English Hardware Manual Edition October 2009 A product of a PHYTEC Technology Holding company phyCORE MPC5554 QuickStart Instructions In this manual are descriptions for copyrighted products that are not explicitly indicated as such The absence of the trademark TV and copyright symbols does not imply that a product is not protected Additionally registered patents and trademarks are similarly not expressly indicated in this manual The information in this document has been carefully checked and is believed to be entirely reliable However PHYTEC Messtechnik GmbH assumes no responsibility for any inaccuracies 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 Additionally PHYTEC Messtechnik GmbH offers no guarantee nor accepts any liability for damages arising from the improper usage or improper installation of the hardware or software PHYTEC Messtechnik GmbH further reserves the right to alter the layou
2. 84 x 57 mm according to phyCORE specifications e all applicable controller and other logic signals extend to two high density 200 pin Molex connectors e processor Freescale embedded PowerPC MPC5554 up to 132 MHz clock Internal Features of the MPC5554 e 32 bit PowerPC core up to 132 MHz CPU speed e 32 kByte Cache Memory e SPE Signal Processing Extention FPU MAC Unit e MMU Memory Management Unit e DMA Direct Memroy Access Controller e Interrupt Latency lt 70ns 132MHz e 64 kByte SRAM 32kByte capable of battery buffering e 2 MByte Flash read while write functionality e two UART s eSCT LIN support e four SPI interfaces DSPI e three CAN 2 0B interfaces e two TPU Time Processing Units with 32 channels pins each e 24channels pins Timer system eMIOS for PWM etc e dual 12 bit ADC with 40 65 channels ext MUX e multi purpose I O signals e JTAG ONCE NEXUS Nexus test debug port PHYTEC Me technik GmbH 2009 L 695e 1 phyCORE MPC5554 QuickStart Instructions Memory Configuration e SRAM 1 MByte to 16 MByte flow through synchronous burst RAM 32 bit access 0 wait states 2 1 1 1 burst mode e Hlash ROM 2 MByte to 8 MByte asynchronous standard Flash EEPROM 32 bit access e I C Memory 4 kByte EEPROM up to 32 kByte alternatively IC FRAM IC SRAM Other Board Level Features e UART two RS 232 transceivers for channel A and B RxD TxD also configurable as TTL e CAN two CAN t
3. x Mn in my printf execution address of main is Ox VT100 COMI 3600 8 None A 21000124 A009 1hz while 1 t if emiosChOCtr 1000 1 SIU GPDO 179 R SIU GPDQL my printf runtime amp dWn Gec_tick return 0 1000150 302021i5 21000154 73869012 21000158 3020211s 2100015C 3889 11a H r P r 1 emioschoctr 0 beers t r r r WY 00tb1 m print exec r nn Ress gt IN Buld Find Im Files Tooke Segt Dump Ln 16 Col 1 In the Terminal window you can see some status messages and the output of a second counter Also see the User LED D6 located on the baseboard between the Ethernet plug and the Expansion Bus Connector The LED changes once a second The watch window shows some pre defined Real time Watches The debugger communicates via the JTAG OnCE module of the Processor and reads the content of these variables in back ground without stopping the processor See the sec tick variable This variable is incremented in the demo once a second dependent on the emiosCh0Ctr counter variable that is incremented by an interrupt service routine once a millisecond PHYTEC Messtechnik GmbH 2009 L 695e 1 Getting Started 2 4 Running the Hello Demo Project in MPC5554 On Chip Flash In this section you will download and program the Hello Demo to the MPC5554 on chip Flash memory e Make sure Jumper JP1 on the phyCORE MPC5554 Development
4. KByte is available for storing operating parameters I C Real Time Clock with a calendar and alarm function serves as a real time reference The phyCORE MPC5554 is especially suited for applications requiring processing of calculation intensive algorithms in addition for handling of numerous complex and time critical external signals The MPC5554 s integrated Signal Processing Extension SPE provides DSP like hardware level execution of elementary operations with single precision floating point numbers FPU and supports Multiply and Accumulate operations with its MAC unit The two Enhanced Time Processing Units eTPU with its 32 channels signals each provides flexible co processing to meet hard real time requirements In addition of the processors processing units the SBC integrates a very high density FPGA device that enables a very flexible way to generate the application specific interface needs Interfaces like PCI bus normal address data bus GPIO LVDS ports etc can be implemented by software This FPGA can accommodate additional co processing and periphery units like I2C Master Controller 1 Wire Bus Controller etc Other controller features supported by the SBC module include three on chip CAN 2 0B controllers two UARTs SPI Interface PWM Ports and 40 channel Dual ADC PHYTEC Messtechnik GmbH 2009 L 695e 1 Introduction phyCORE MPC5554 Technical Highlights e Single Board Computer in subminiature form factor
5. MPC5554 QuickStart Instructions oul NVOXe11 lend cecsu lend jesoy sng uoisuedx3 sng uoisuedx3 ee ka Lat a3 o y use 4 eue z Es um am e USe J 2u19 x Z a uo oaj g ow n 100g ME e e Laf e o ere e e ic e 9 9 zr 91 es ee e e e el EER mi e e e ee i i e FLL SU E 2 70 9 E e ut eut eum iun e e0e0e0000 mo e e e9 e 9 td rarsar 9dr ord e e oe OLX e e e blvd 9x Me a e e Q wmm Te e e e ie Zd ee 5 e D om eo 170 X A 6d Sd Lu e zar i es Y V BH c E m 0 see T gg mmm eu 0 0000 2 san Q 000e 0000606e l I Sx o OV1r vOdA YX 39uO OV f vSSSOdIN ex 0 LrZL O31AHd perein amp ei Ast OVI VOdd SnxeN 39UO OV 1f ySSSoOdW Wan 001 01 eue AS indu JOMOd View of Development Board and Jumper Settings Figure 2 PHYTEC Messtechnik GmbH 2009 L 695e 1 Getting Started e Connect the included iONE E to any USB Port of your host PC Windows will recognize it and ask for Drivers Don t try the Windows search use individual search If you installed winIDEA first as recommended drivers are located in directory c winIDEA 2010 USBDrv in addition in the root directory of the winIDEA CD Of course the drivers are NOT Microsoft verified but it work and are compatible to any actual updated Windows 2000 and XP version in ca
6. case if active reached and then continued execution The iSYSTEM winIDEA iONE E supports the following debug options of the phyCORE MPC5554 target e There exists no iSYSTEM MCU Simulator for that architecture at all so you need always your PHYTEC or other target for on chip debugging PHYTEC Me technik GmbH 2009 L 695e 1 phyCORE MPC5554 QuickStart Instructions e A hardware level debugging is provided via a USB 1 1 PC to iONE E and from that to target connection using the MPC5554 JTAG OnCE port OnCE on chip emulation The OnCE itself is a kind of hardware debug module integrated on the processor from Freescale To the iSYSTEM winIDEA the following debug parts could be connected iONE E This is the small blue box you got with the package It is a medium level debug tool with following characteristics Run up to 90 days AFTER FIRST DOWNLOAD without restriction with any common compiler output So you are able to try different commercial compilers mostly 30 day versions are usual if you want compare it the delivered standard GNU solution results against it The Nexus Trace Port feature and Multi Core Debugging i e eTPU debugging isn t supported with iONE E solution iONE E has a USB 1 1 connection and the device is powered over the USB line from the Host PC After that 90 day trial period it is download code size limited to 32 Kbyte It is license upgradeable for a fee ask iSYSTEM AG please for current pr
7. panes for your project internal editor disassembly and CPU main registers global watches and real time refreshed watches local variables and context build manager and search output memory contents and special function registers and toolbars for the main functionality PHYTEC Me technik GmbH 2009 L 695e 1 phyCORE MPC5554 QuickStart Instructions All IDE commands and functions are accessible via pull down menus most of it with short cuts too The integrated Editor is a powerful tool to compose and later debug the source code It includes a context sensitive coloring of keywords for easy navigation and recognition All colors and custom key sets for the whole winIDEA of course can be user defined Pop up menus provide an overview of all available functions and a navigation to the start of a desired function or its corresponding header file The right mouse key at different locations give you different context sensitive selection possibilities The search engine enables location of a specified text string within file or within project scope selectable and implements find and replace operations At the left selection margin you will find rectangle blocks after download your application code into the target via winIDEA debug hardware If the compiler has build MCU executable code from that line there exist the rectangle there So you easy can control your compiler and source constructs and partly the optimizing of your compil
8. powerful debug control center with target download and flash programming possibilities together with the iSYSTEM Emulator hardware For On Chip debugging this could be a unlimited 1ONE 1C3000 universal Base unit or a limited iONE E connected The iSYSTEM winIDEA Integrated Development Environment IDE is quite similar to the PC market leader Microsoft Visual Studio with extensions and changes for embedded developing and debugging That IDE is intuitive easy to use and work in a cohesive manner regardless of compiler or target architecture This means you can reach more markets and solve more problems faster without invest time and money for learning how new different tools work or work together iSYSTEM winIDEA IDE graphical interface includes an editor project manager class browser universal command line based compiler interface source level and assembly level debugger In addition to keeping all your development tools a mouse click away the IDE stores compiler project window and debug settings and tracks all the dependencies for your project simplifying even the most complex development build The software debugging in winIDEA are state of the art and features syntax highlighting of sources and the power to evaluate structures complex expressions and such things in the debugger You may correct change add source code within the build in Editor while debugging your application With 1C3000 based systems your are able to perform Mult
9. resulting in functional problems e Install the iSYSTEM winIDEA 2010 tool chain for PowerPC from the enclosed iSYSTEM CD following the steps indicated in the install procedure We explicitly encourage you to choose winIDEA 2010 even in case you will be prompted to prefer winIDEA 2009 The default destination location is C WinIDEA 2010 All path and file statements within this QuickStart Instruction are based on the assumption that you accept the default install paths and drives If you choose different paths and or drives you must consider this for all further file and path statements We recommend that you accept the default destination location For installing you need Administrator rights PHYTEC Me technik GmbH 2009 L 695e 1 phyCORE MPC5554 QuickStart Instructions 2 2 Installing Rapid Development Kit Software e Insert the PHYTEC phyCORE MPC5554 Tool CD into the CD ROM drive of your host PC The CD should automatically launch a setup program that installs the required demos documentation and other support documents Otherwise the setup program setup exe can be manually executed from the root folder of the PHYTEC Tool CD The default destination location is C PHYTEC All path and file statements within this QuickStart Instruction are based on the as sumption that you choose the default install paths and drives If you decide to choose different paths and or drives you must consider this for all further file and p
10. Board is closed at position 2 3 refer to Figure 2 e Open the Hello IntFLASH jrf and build the output file hello elf as described in section 2 4 1 e To program the hello elf to the internal processor Flash perform a normal download by selecting the icon or press Ctrl F3 Progress c phyBASIC phyCORE MPC55544D emos Hello IntFLASH D ebug hello elf POD OnCE 55xx CPU MPC5554 CPU MPC5554 rev A DOWNLOAD 62212 bytes PROGRAMMING DETECTED CPU MPC5554 rev A LOADING INITIALIZING DETECTED M Close when finished winIDEA automatically first erase and then burns the binary to the internal CPU Flash during download process Verify is performed on the fly while flashing but you may use a extra verify procedure by selecting Debug Verify Download from the main menu bar This feature of winIDEA compares the Download File with its target address area in the memory Download Verify Results Verifying Physical area Verifying F304h locations from 0000h Verify OK BERRRRRRRRRRR RE Note some verify errors can occur when downloading code to memory which the CPU can not access after reset like custom banks non default chip select devices etc It is independent of the memory type and will work for ROM or RAM PHYTEC Me technik GmbH 2009 L 695e 1 phyCORE MPC5554 QuickStart Instructions You have now successfully downloaded and burned the Hello example program to the MPC5554 on chi
11. DE from within the winIDEA program group e Open the Hello ExtRAMjrf project file by selecting File Workspace from the winIDEA menu bar and navigating to C PHYTEC PCM 028 phyCORE MPC5554 PowerPC Kit iSystem Quickstart Demos Hello ExtRAM e The Hello ExtRAM jrf project will open with a predefined window arrangement ZI hello ExtRam winIDEA C phyBASIC phyCORE MPC5554 Demos Hello ExtRAM main c LJ Edt View Project Hardware Debug FLASH Took Window Help 8X Da id saan Cm Ras mw Shims 2 Ou SHH 6B qi Files hello ExtRAM mane x zr MM 8j s di xd sserrbler Hes n 2 EL TIT meme Vah dB include service h oa Cue i finclude mpc5500 xcptn h Q Processer Corisel W include mpc5554 h Debug D Ceceghen Hinding Reguter extern int emiosChOCtr D Genel unsigned int sec tick 0 D Memory Management D Sina Proc 4884 Ma p am 444 D Tener D Pengheral Bindge 3 3 3 E amp Frequency Modulsted PhaseLocked Loop int main void Friens Bus Intediace QY Flach Module and Flash Bus interface Uni unsigned short partNum l Q Synem Integration Uri unsigned short maskNum QQ Enhanced Mods Inpt Dutpt Subsystem Q Enhanced T me Processng Unt tialize CP cube Sw e sa Comecton Status Module M nithoard s E Q Enhanced Direct Memory Access E Q Inieesupt Cortroles nitialize exception handling EO ot Nad And ha AD Parent xcptn xmpl DOLI E 8 2 ni x lize RT A Address
12. Data D Registers InitUART kBaud9600 my_print n Hello phyCORE MPCS5544 464 nn partNum SIU MIDR B PARTNUM maskNum SIU MIDR B MASKNUM my printf MPC PartNum x MaskNum x n n partNum maskNum my_printf execution address of main is Ox 08x n n smain while 1 if emioschOctr gt 1000 t emiosChOCtr 0 x Name Ln 13 Col 31 PHYTEC Messtechnik GmbH 2009 L 695e 1 Getting Started e Alternatively you can open the demo by browsing to the Hello ExtRAM jrf file with the Windows Explorer or an other File Manager tool and double click to invoke the winIDEA with the demo project bar or select Project Make from the winIDEA pull down menu or press F7 key in standard setting e The Make process generates if no error occurs an actual output binary hello elf in subdirectory DEBUG of the project workspace directory The OUTPUT build search status window will appear within winIDEA while the project is being compiled and linked You should may close it if no error occurs otherwise you can navigate right mouse key gt Error in local menu or simply press function key F4 to your source file errors Note that linker errors and any build message appears in the output window pane Tools e Start the download process by clicking on the download icon at the tool bar or press key combination Ctrl F3 If this will rise an error Error 40 Communication port not fou
13. ONCE Nexus header connector e the PHYTEC phyCORE MPC5554 Tool CD ROM e the iSYSTEM winIDEA standard CD ROM with lot of information about winIDEA products generally e computer with 800 MHz Pentium compatible microprocessor 512 MB RAM CD ROM drive USB port serial and Ethernet ports running Windows XP 2000 350 MB free hard disk space plus project space PHYTEC Messtechnik GmbH 2009 L 695e 1 Introduction For more information and example updates please refer to the following sources PAN WEG http www phytec com or http www phytec de support phytec com or support phytec de WE http www isystem com sales isystem com support isystem com Al freescale semiconductor http www freescale com PHYTEC Me technik GmbH 2009 L 695e 1 phyCORE MPC5554 QuickStart Instructions 1 4 The PHYTEC phyCORE MPC5554 The phyCORE MPC5554 module integrates the 32 bit Freescale MPC5554 PowerPC microcontroller on an advanced PCB layout All applicable controller signals extend to two 200 pin high density Molex connectors In addition to the on chip memory 2 MByte high speed Flash 64 kByte SRAM 32 kByte Cache the phyCORE MPC5554 can be populated with 2 MByte to 8 MByte Standatd Flash memory 29LV800 320 and 1MByte to 16 MByte of Sync BurstSRAM The external Flash supports direct on board programming without additional programming voltages A serial EEPROM 4 Kbyte up to 32
14. alone e Running the Hello with the Debugger First click to the Download Icon to initialize the project for debugging Then run the code by clicking on the Run Icon P or press F5 This will execute the startup code crt0 s and the processor is running until the first breakpoint is reached near the InitBoard function in main c Press again F5 to go ahead with code execution Now you can see the output in the terminal window and the blinking LED as in the previous sections For development process it is more easy to invoke the flash programming prior the debugger Initialize Download procedure automatically Open Flash Setup from the main menu bar PHYTEC Messtechnik GmbH 2009 L 695e 1 Getting Started FLASH Programming Setup Target Device Scope Download Files Target Options Extemal FLASH device Auto program FLASH a EET v M Use Debug download files Device organization Verify on the fly 2 devices m Hardware Setup Abbrechen Hilfe Change under Option Auto program FLASH from never to before download and confirm with OK Now try again the download function by clicking Download Icon or pressing F5 e Stand alone running Check that jumper JP1 on the baseboard is configured to 1 2 refer to Figure 2 and press the reset button S2 near the double DB9 serial connector The system will re start out of the external Flash memory Or re connect the power supply cable to X5 The t
15. arget performs automatically an power on reset and starts the hello application out of the external Flash PHYTEC Me technik GmbH 2009 L 695e 1 phyCORE MPC5554 QuickStart Instructions Document phyCORE MPC5554 QuickStart Instructions Document number L 695e_1 October 2009 How would you improve this manual Did you find any mistakes in this manual page Submitted by Customer number Name Company Address Return to PHYTEC Technologie Holding AG Postfach 100403 D 55135 Mainz Germany Fax 49 6131 9221 26 PHYTEC Messtechnik GmbH 2009 L 695e Suggestions for Improvement PHYTEC Me technik GmbH 2009 L 695e 1
16. ath statements We recommend that you accept the default destination location e Follow the instructions in the setup window PHYTEC Messtechnik GmbH 2009 L 695e 1 Getting Started 2 3 Interfacing the phyCORE MPC5554 to a Host PC Connecting the phyCORE MPC5554 partt PCM 028 xxxx mounted on the PHYTEC Development Board part PCM 979 to your computer is simple e Ifthe phyCORE module is not already pre installed mount it pins down onto the Development Board s receptacle footprint X1 as shown in the Figure 2 below Ensure that pin 1 of module matches pin 1 of the receptacle on the Development Board Ensure that there is a solid connection between the module s pins and the Development Board receptacle If the phyCORE module is removed from the Development Board take precautions to properly mount the module when it is reattached to the Development Board Pin 1 on the phyCORE module denoted by the hash stencil mark on the PCB should be matched to the footprint receptacle on the Development Board marked by X1 on the PCB Also take precautions not to damage the connectors when the phyCORE is removed from and inserted onto the Development Board e Configure the jumpers on the phyCORE Development Board as indicated in Figure 2 This correctly routes the CAN interface signals Please see the phy CORE MPC5554 Hardware Manual for further information on jumper settings PHYTEC Me technik GmbH 2009 L 695e 1 phyCORE
17. djust the Baud Rate to 9600 PHYTEC Messtechnik GmbH 2009 L 695e 1 Getting Started lll Serial Port Options Flow Control DTR DSR PLU I RTS CTS Baud Rate Parity had XON XOFF Stop Bits Close the Configure window and Options window by confirming with the OK button To establish the serial port communication press the Connect button 8 within the Terminal window icon bar With a successful opened port the Connect Icon disappears and the status in the right corner changes to CONNECTED 1 1 VT100 COM1 3600 8 None 1 CONNECTED e Run the code by clicking on the P iconor press F5 This will re start the code execution beginning with the InitBoard function with full processor speed The status of the processor is shown in the lower right corner of the winIDEA window It is now changed from STOP to RUN PHYTEC Me technik GmbH 2009 L 695e 1 phyCORE MPC5554 QuickStart Instructions Si hello ExtRam winIDEA C phyBASIC phyCORE MPC5554 Demos Hello ExtRAM main c BE Fie Ven Project Hardware Debug FLASH Tods Window Help os LI EN OA PEEB qi Fies helio ExRAN 2 main CM Arsembler fie a Ga Y int main void unsigned short partNum unsigned short maskNum InitBoard xcptn xmpl InitUART kBaud9600 my printf An Hello phyCORE MPC5554 partNum SIU MIDR B PARTNUM maskNum SIU MIDR B MASKNUM my printf MPC PartNum x MaskNum
18. embler code due to the entry point of the project is located in a startup file that is written in assembler code The next step will run the code to the main function global _start global otm 0x00 no watchdog x5A Boot identifier start of program on address 0x00000008 it _L2RAM 21900010 3000 1 in r11 0x4000 base address of the L2SRAM 64 bit word a mtetr ri 11 0 not needed for this address but could be z1seata i7eentntctr 128 re cop counter to get all of 64k 4 bytes 32 GPRs 512 mtctr r12 init 12ram loop staw EN Olr in amp write all 32 GPRs to L2SRAM addi r11 11 128 inc the ram ptr 32 GPRe 4 bytes 12 bdnz init l2ram loop loop for 64k of L2SRAM ri A EILILEIEHH PELE 2222 FELES n E ya ae address of Lconst table we refi get current address 2100002 8 INL 2revemseri7caszade eer i lwz r5 G Lref2 Lrefl r4 r5 offset to first constan enar nn r5 r5 r4 rS address of first consrant 2 Li r address of Lrefi init stack lwz sp Lstack end Lconst table r5 iwz sp Lstack end Lconst table r5 clear sbss lwz r6 res re Lconst table rS calculate beginn lt gt Value fenicaChOCtr 67438087 fSVirgiCtr 66051 sec tick 67430087 a o f puts Fin Fins Tout Sgt Dung 7 Ready int Cat e Run the code by clicking on the P icon or press F5 This will execute the startup code and the processor
19. ent Environment housing the following tools in one IDE PHYTEC Me technik GmbH 2009 L 695e 1 phyCORE MPC5554 QuickStart Instructions e Project amp Build Manager e Editor e Ccompiler e Debugger it shows the collection of groups its files and support files necessary and used to build a target loadable output file invokes the assembler compiler and linker pass error messages to the build in Editor It interfaces to external make utilities too with lot of possibilities double clicking on a file in the Project Manager window opens that file in the Editor GNU Standard compiler package included Fully active source level and assembly level Windows based debugger for iSYSTEM Debug hardware You can adapt own GNU or other common compilers You may edit your sources with your favorite editor outside of winIDEA too winIDEA then automatically reload the changed sources Upon installation of winIDEA please select full installation the executables are located in the C winIDEA 2010 folder selectable The GNU CC tools are then located at gcc ppc There you will find the GNU Documentation too doc All tool commands are easily accessible via intuitive pull down menus with prompted selections The winIDEA handling itself has mostly self describing user Interface You have three ways for dealing with it e Hot Keys re attachable under Tools gt Customize e Icons Buttons for mou
20. er But you can do even more You can select right mouse key in editor options which function your left mouse key has when it is above selection margin Line select set reset break or run until In addition the margin display you Break status active not active in the source and with the iSY STEM Trace tools or Emulators you get Execution coverage Info s there Of course it is a multi file multi window editor and every window within winIDEA can arranged as docked or MDE or Mini Frame With that we support i E a very useful second screen on your windows PC Of course there is a interface to common Source Control Systems Anyway Please refer the manuals for details If you prefer a other Editor G E Context as powerful freeware winIDEA Editor will load and synchronize automatically the results of your work The Build System controls the Project dependencies automatically and invokes the different C C compilers assemblers linkers code converters and many other tools for perfect build After download your results to the target winIDEA automatically recognize any of your changes in a project file source headers and will ask you whether you want to make new version or continue 1 E if only PHYTEC Messtechnik GmbH 2009 L 695e 1 Introduction comment changed the debugging If you agree winIDEA can do all the necessary things compile link download flash to the target run until automaticall
21. evelopment Board is closed at position 142 refer to Figure 2 e Open the Hello ExtFLASH jrf and build the output file hello elf as described in section 2 4 1 e To program the hello elf to the external Flash open the Flash Programmer window by selecting Flash Program from the main menu bar of the winIDEA FLASH Program Device organization Multiple devices 2 x 16 bit Program devices individually Load Files Program Verify v Erase v M v v Abort operation on error Setup Close CONNECTED e To perform Flash programming click to the Start button This will do the selected operations Load Files Erase Program and Verify PHYTEC Me technik GmbH 2009 L 695e 1 phyCORE MPC5554 QuickStart Instructions FLASH Program Device organization Configuring Both AMD 29LY800BT Word OK Multiple devices 2 x 16 bit Configuring Sector 0 20000000 OK Erasing OK Configuring Sector 0 20000000 OK Program devices individually Programming Programmed EASEh of EASEh Verifying OO00F304h locations from 20000000h Load Files v Haine completed uus m Erase M Program KW Verify Iv EN M Abort operation on error Setup o NENNENENEENEEE MCE e Close the Flash Program window You have now successfully downloaded and burned the Hello example program to the external Flash memory The next steps are to start the Hello application with the debugger or use it stand
22. i Core i E eTPU C Source PHYTEC Messtechnik GmbH 2009 L 695e Introduction Level debugging and trace and you can adapt other controllers easy through changing the iCard s Now you get a brief overview please refer the details in the following documents stored in the winIDEA program directory after installing winIDEA Of course they are available as on line help too Please use at first the Demo Workspaces to get familiar with the system You shouldn t use the workspace new key it would generate a complete blank project without any necessary settings Better way is always copying the essential files from one directory to the a new directory Essential files are the extensions JRF QRF TRD INI IND or whatever for the linker control template IND and INI Files are simple text format the other are binaries You can see export import your project settings as XML Files too this are the xjrf and xqrf file extensions that winIDEA write in parallel The important documents for you regarding winIDEA are e winIDEA pdf This is the universal reference and user manual e OCD MPCS5500 pdf This is the special manual for MPC55xx e IONEI23 10 pdf This is the description of your iONE this should be attached to you iONE E in printed form iSYSTEM winIDEA consists of the IDE with interfaces to other tools and the Debugger which are structured as follows IDE Windows based Integrated Developm
23. icing to a unlimited 1ONE but you should think about the faster solutions after that trial period The support for this tool is limited to usual warranty and technical function together with the package In case of questions beside that please ask for we will find a agreement For the Demo workspaces PHYTEC is your primary support partner iONE This is the same as iONE E but without any time or download size limit and full iSYSTEM support including free software update for one year later extendable for a fee PHYTEC Messtechnik GmbH 2009 L 695e 1 Introduction C3000HS Base Unit This is the latest base unit for unlimited high speed and high end debugging You can connect different Emulators iCard s for on Chip Debugging and iTRACE solutions for On Chip Trace Ports It contain a powerful Freescale MPC CPU and connects to the PC via very fast up to ten times faster that iONE s USB 2 0 and or Ethernet 100 line In case of trouble there exists still a serial connection but no one use need that today The following units can be connected to that iC3000HS base for the 55xx family iCard 55xx This small PCMCIA format card fit in the 1C3000 and is connected to the JTAG ONCE Connector like iONE but it can debug the eTPU s multi core debug possible iTRACE PRO This is a second blue box is connected at one side with a interface iCARD to the 1C3000 and with a flex cable to a small NEXUS Probe This probe fit into the NEXUS Po
24. is running until the first breakpoint is reached PHYTEC Messtechnik GmbH 2009 L 695e 1 Getting Started RER 3 He TRE LE CEOE eed e a 2 2 21000078 800 b1 Now the processor has stopped at the breakpoint before the InitBoard function Breakpoints can be placed by setting the focus to a code line and pressing F9 The grey shaded area left the code line will then filled brown Pressing F9 again remove the breakpoint e Before running the complete demo we need a terminal window to show the output that will send over the serial port A connector P2A at the development board refer to section 2 3 Open and configure the Terminal Window of the winIDEA by selecting ViewlTerminal over the menu bar or click to the icon PHYTEC Me technik GmbH 2009 L 695e 1 phyCORE MPC5554 QuickStart Instructions M Terminal E E d cs dl VT100 COM1 9600 8 None 1 DISCONNECTED For configuration open the Options Icon within the terminal window and select the corresponding Host PC serial port number Format Terminal COMI Emulation VT100 v Rows D4 Local Echo Columns 80 Append LF on Input Stream Histo ry Buffer 500 Append LF on ENTER key Send ASCII files Ovenide shortcuts ta M Ctd SPACEBAR A M Ctri A X V Ctri B Line timeout after CR or LF 0 ms vV Ctrl C Save to disk El OK Abbrechen Hilfe Press the Configure button a
25. nd then please select Hardware Hardware from the winlDEA menu bar navigate to Communication and clear content of field Device Reason is that the blue 1ONE box will hard connect to its USB port If you change the USB port later you will get this error Clicking on Button Test should show a working USB connection now Click close and ok to return to winIDEA main window and click the download icon again It should work now In this example the download is performed to the external RAM The appropriated target initialization for the debugger to reach the RAM are in the ini file contained in the project folder The following status window will appear during the download PHYTEC Me technik GmbH 2009 L 695e 1 phyCORE MPC5554 QuickStart Instructions Progress LOADING C E AT MPC5554 D emos Hello ExtRAM D ebug hello elf INITIALIZING POD OnCE SE PU MPC5554 DETECTED CPU MPC5554 re DOWNLOAD O bytes PROGRAMMING DETECTED CPU MPC5554 rev A LOADING C phyBASIC phyCORE MPC5554 D emos Hello ExtRAM D ebug hello elf BEHBHIEESEZBESBHEHHHEEERHEEEEBEHHHERE Close when finished Close e Once download is complete the source code window will show the actual location of the program counter from where to start the software execution In the high level language window this location is marked with a green arrow and in the Disassembly Window the code line is highlighted The high level language window shows at the moment also ass
26. p Flash memory The next steps are to start the Hello application with the debugger or use it stand alone e Running the Hello with the Debugger After download burn procedure the processor is stopped at the first code instruction Prior executing the hello demo code the processor runs its internal BAM Boot Assist Module code This code starts at address OXFFFFFFFC pre initializes the processor and reads the first 32 bit word see crtO s file from flash address 0x00000000 This 32 bit word code contains a boot identifier and the start address 0x00000008 of the hello demo After finishing the BAM processor branches to that address and run the hello demo code until the first breakpoint To start the execution click on the gt icon or press F5 This is the same procedure as in the previous section e Stand alone running Check that jumper JP1 on the baseboard is configured to 2 3 refer to Figure 2 and press the reset button S2 near the double DB9 serial connector The system will re start out of the on chip Flash memory Or re connect the power supply cable to X5 The target performs automatically an power on reset and starts the hello application out of the on chip internal Flash PHYTEC Messtechnik GmbH 2009 L 695e 1 Getting Started 2 4 3 Running the Hello Demo Project in external Flash In this section you will download program the Hello Demo to external Flash memory e Make sure Jumper JP2 on the phyCORE MPC5554 D
27. ransceivers 82C250 compatible for channels A and B also configurable as TTL e Ethernet 10 100 Mbit s LAN9IC111 e FPGA Lattice XP FPGA XP6 10 15 or XP20 device for IP cores e g I2C Master 1 Wire Master UART SPI etc Programmable bus bridge simple address data bus PCI Bus DDR RAM etc 84 external GPIO with programmable characteristics TTL CMOS differential logic LVDS etc Application specific control logic and clock generation PLL Embedded memory Single Dualport SRAM FIFO etc In system programmable over JTAG Emulation e IC Real Time Clock with calendar and alarm function e JTAG JTAG ONCE NEXUS Nexus test debug port e industrial temperature range 40 85 C l Please contact PHYTEC for more information about additional module configurations PHYTEC Messtechnik GmbH 2009 L 695e 1 Introduction phyCORE MPC5554 Development Board The phyCORE MPC5554 Development Board is fully equipped with all mechanical and electrical components necessary for the speedy and secure insertion and subsequent programming of the phyCORE MPC5554 module with high density 0 635 mm pitch pin header connectors RS 232 and CAN interface signals extend from the module to dual stacked DB 9 connectors on the Development Board while the Ethernet signals extend to a RJ 45 connector Two debugging connectors are provided A reduced 14 pin JTAG OnCE and a full 38 pin JTAG OnCE Nexus connector Development Board Technical Highligh
28. rt of the PHYTEC board Than you can do the same as with iCard 55xx but in addition you get a real time trace with triggering and filtering for code and data information s time stamp profiler and code execution coverage It have megabytes or in latest version gigabyte of memory for storing the traceport information s PHYTEC Me technik GmbH 2009 L 695e 1 phyCORE MPC5554 QuickStart Instructions 2 Getting Started What you will learn with this Getting Started example installing iSYSTEM winIDEA too chain installing the Rapid Development Kit software interfacing the phy CORE MPC5554 mounted on the Development Board to a host PC downloading example user code to the phyCORE MPC5554 external memory programming example user code to the MPC5554 On Chip Flash memory external SRAM or external Flash memory PHYTEC Messtechnik GmbH 2009 L 695e 1 Getting Started 2 1 Installing the iSYSTEM winIDEA Tool Chain When you insert the iSY STEM winIDEA CD into the CD ROM drive of your host PC the iSYSTEM WinIDEA CD should automatically launch a setup HTML screen Than you can install the required software Otherwise the setup program setup exe can be manually executed from the install folder of the Standard iSYSTEM WinIDEA CD The applicable WinIDEA tool chain must be installed to ensure successful completion of this QuickStart Instruction Failure to install the proper software could lead to possible version conflicts
29. saseasen 20 2 Installing the iSYSTEM winIDEA Tool Chain 21 2 2 Installing Rapid Development Kit Software 22 2 3 Interfacing the phyCORE MPC5554 to a Host PC 23 2 4 Downloading Example Code with winIDEA IDE 21 2 4 4 Running the Hello Demo Project in external RAM 28 2 4 Running the Hello Demo Project in MPC5554 On Cp las Ret mane CU SN Ne es 35 2 4 3 Running the Hello Demo Project in external Flash 37 Index of Figures Figure 1 iSYSTEM winIDEA IDE Architecture eesses 15 Figure 2 View of Development Board and Jumper Settings 24 Figure 3 Connecting the Supply Voltage at X5 ssssss 25 PHYTEC Me technik GmbH 2009 L 695e 1 phyCORE MPC5554 QuickStart Instructions PHYTEC Messtechnik GmbH 2009 L 695e 1 Introduction 1 Introduction to the phyCORE MPC5554 Rapid Development Kit This QuickStart provides general information on the PHYTEC phyCORE MPC5554 Single Board Computer an overview of iSYSTEM AG winIDEA GNU development tool chain instructions on how to run example programs on the phyCORE MPC5554 mounted on the PHYTEC Development Board in conjunction with iSYSTEM winIDEA tools Please refer to the phyCORE MPC5554 Hardware Manual for specific information on such board level features as jumper configuration memory mapping and pin la
30. se simply place mouse over it and wait for function explanation e Use right mouse key for context sensitive local menus It makes a difference whether you do it in the middle of a window or at the margin for example simply try it out PHYTEC Messtechnik GmbH 2009 L 695e 1 Introduction As depicted on Figure 1 winIDEA s editor Project Build manager with connected C C compiler and linker and winIDEA debugger with flash programming possibilities comprise the complete tool chain You have configurable windows and window panes for your project internal editor disassembly and CPU main registers global watches and real time refreshed watches local variables and context build manager and search output memory contents and special function registers and toolbars for the main functionality Multi file C C Source Editor wi n D EA TM Disassembly amp Register Special Function Register Locale Variables iple Targets IFTTT Fired tow erg Smiti 5 Watches Global Variables Mernory Durnp Code Coverage 1 SYSTEM www isystem com Figure 1 iSYSTEM winIDEA IDE Architecture As depicted on Figure 1 winIDEA s editor Project Build manager with connected C C compiler and linker and winIDEA debugger with flash programming possibilities comprise the complete tool chain You have configurable windows and window
31. se Windows ask for you should answer use it anyway or so Please note that you have unfortunately repeat this procedure for every USB port connection of your PC if you connect 10ONE E or any other 10NE 1C3000 etc first to that port This is a Windows request and we cannot change that behavior e Connect the iONE E JTAG OnCE interface cable to the 14 pin JTAG OnCE header on the Development Board at X3 This connection is used for the communication between the iONE E and the phyCORE MPC5554 target hardware e Connect the included serial cable to the lower socket P2A of the double DB 9 connector on the Development Board and to a free serial port of your host PC This will enable you to monitor board host communication via the terminal emulation window included in the winIDA surface or a terminal emulation program such as Windows HyperTerminal e Using the included 5VDC power adapter to connect the power socket X5 on the board refer to Figure 3 for the correct polarity The phyCORE module Development Board combination requires a 5 VDC IA 5 regulated supply Polarity 5VDC15 Genter Hole gt 1000 mA 5 5 mm 7 GND Figure 3 Connecting the Supply Voltage at X5 PHYTEC Me technik GmbH 2009 L 695e 1 phyCORE MPC5554 QuickStart Instructions The LED s D9 and D10 two green LED s should light indicating that all voltages are supplied to the phyCORE module D9 indicates the 5V supplied by the at
32. t and or design of the hardware without prior notification and accepts no liability for doing so Copyright 2009 PHYTEC Messtechnik GmbH D 55129 Mainz Rights including those of translation reprint broadcast photomechanical or similar reproduction and storage or processing in computer systems in whole or in part are reserved No reproduction may occur without the express written consent from PHYTEC Messtechnik GmbH EUROPE NORTH AMERICA Address PHYTEC Technologie Holding AG PHYTEC America LLC Robert Koch Str 39 203 Parfitt Way SW Suite G100 D 55129 Mainz Bainbridge Island WA 98110 GERMANY USA Ordering 49 800 0749832 1 800 278 9913 Information order phytec de sales phytec com Technical 49 6131 9221 31 1 800 278 9913 Support support phytec de support phytec com Fax 49 6131 9221 33 1 206 780 9135 Web Site http www phytec de http www phytec com 1 Edition October 2009 PHYTEC Messtechnik GmbH 2009 L 695e 1 Table of Contents 1 Introduction to the phy CORE MPC5554 Rapid Development Kits 1 1 Rapid Development Kit Documentation 5 1 2 Overview of this QuickStart Instruction eeeesessss 6 1 5 System Requirements eee RU eo ero ta cota pp uv abr etes 6 1 4 The PHYTEC phyCORE MPCS5534 eee 8 1 5 TheiSYSTEM winIDEA Development Tool Chain 12 2 Getting Sr o iir rr rie pEM ERVEKF eR PEDE AUR ERAN TRMER FrVE sev
33. tached power supply and D10 monitors the on board regulated 3V3 The phyCORE MPC5554 should now be properly connected via the Development Board to a host PC and power supply and you are now ready to use the iSYSTEM winIDEA tool chain to establish commu nication This phyCORE module Development Board combination shall also be referred to as target hardware PHYTEC Messtechnik GmbH 2009 L 695e 1 Getting Started 2 4 Downloading Example Code with winIDEA IDE The Hello example sends a program to the target hardware that when executed sends a character string from the RDK back to the host PC The character string can be viewed with the terminal emulation window in the winIDEA or with a terminal emulation program The program also controls the user LED D6 red LED with equal on and off ratio To show how to load and run software the Hello Demo exists in three different versions e Hello ExtRAM jrf Running the Hello Demo Project in external RAM e Hello IntFLASH jrf Running the Hello Demo Project in MPC5554 on chip Flash e Hello ExtFLASH jrf Running the Hello Demo Project in external Flash memory PHYTEC Me technik GmbH 2009 L 695e 1 phyCORE MPC5554 QuickStart Instructions 2 4 4 Running the Hello Demo Project in external RAM In this section you will download the Hello Demo to the external Sync Burst Mode SRAM e Launch the iSYSTEM winIDEA by double clicking on the winIDEA icon or by selecting winIDEA I
34. ts e Development Board 160 x 100 mm e high density 0 635 pitch Molex connector for speedy and secure insertion and subsequent programming of the phyCORE MPC5554 Single Board Computer module e socket for 5 VDC power supply connectivity e 2x RS 232 at DB 9 sockets e 2x CAN interfaces at DB 9 plugs e RJ 45 Ethernet interfaces e 10 pin JTAG header to the FPGA device e 14 pin OnCE JTAG Nexus interface e 38 pin OnCE JTAG Nexus interface e two power LEDs for monitoring the supply voltages e RESET and IRQ push buttons e Expansion Bus all signals routed from implemented phyCORE module to 2 x 200 pin Molex connectors enabling connectivity to PHYTEC Add On hardware PHYTEC Me technik GmbH 2009 L 695e 1 phyCORE MPC5554 QuickStart Instructions 1 5 The iSYSTEM winIDEA Development Tool Chain The iSYSTEM winIDEA itself is a highly functional Integrated Development Environment IDE tool for developers to create compile assemble and link optimized embedded systems code for the PowerPC and many other architectures The winIDEA works together with included or your own GNU CC package or any common third party Compiler like i E DIAB Data Cosmic Freescale etc and other useful tools like i E EasyCode Tessy LDRA Suite National Instruments LabView etc There are interfaces via isystem connect to any Windows based application includes your own PC applications Excel and others After building the code winIDEA has a
35. y WITHOUT closing the debug session This depends from your settings For syntax check winIDEA provides pre processing of single source files or for the complete project It will update dependencies too The compiler and linker support e f and via converter or direct Freescale S record output file formats The winIDEA can download and handle all usual Output formats You need normally neither different files for debug and flashing nor other tools for flashing it is all in one For PPC is this the preset compare the examples and GNU Documentation ELF Format The WinIDEA Debugger provides C C and ADA for some CPU s source level assembly level and mixed mode debugging For code exploration absolute or conditional breakpoints can be accessed or single step operation can be performed Step over step into and step out of code function capabilities are provided The contents of usual HLL constructs i E arrays enums pointers structs can be displayed in different kinds monitored and contents and kind of presentation manually modified There exist different global watches global real time watches and local variables display windows including context Call Stack For internal flash it provides unlimited flash breaks but be careful this can worn your number of possible flashing for that Chip check Freescale manual for information A Flash Break flashes up to 3 times the smallest possible flash sector for every break worst
36. yout Selecting the links on the electronic version of this document links to the applicable section of the phyCORE MPC5554 Hardware Manual 1 1 Rapid Development Kit Documentation This Rapid Development Kit includes the following electronic documentation on the enclosed PHYTEC Tool CD ROM PHYTEC phyCORE MPC5554 Hardware Manual PHYTEC phyCORE MPC5554 QuickStart Instructions MPC5554 controller User s Manuals and Data Sheets PHYTEC Me technik GmbH 2009 L 695e 1 phyCORE MPC5554 QuickStart Instructions 1 2 Overview of this QuickStart Instruction This QuickStart Instruction provides a general Rapid Development Kit description as well as software installation hints and example programs enabling quick out of the box start up of the phyCORE MPC5554 in conjunction with iSYSTEM winIDEA tools It is structured as follows 1 The Getting Started section uses the example program Hello to demonstrate the download of user code to the phyCORE MPC5554 external RAM and Flash memory using iSYSTEM winIDEA Debugger 1 3 System Requirements Use of this QuickStart requires e the PHYTEC phyCORE MPC5554 e the PHYTEC Development Board with the included DB 9 serial cable and AC adapter supplying 5 VDC min 1000 mA e the iSYSTEM iONE E Emulator unit or other iSYSTEM 1C3000 iONE based Emulator unit you own iONE E is the hardware interface between a standard PC USB 1 1 port and the standard 2 54 mm 14 pin MPC55xx JTAG

Download Pdf Manuals

image

Related Search

Related Contents

2012年5月 - カワムラサイクル  title Quattro - Astro Packaging, Inc.  Chart Navigator User Manual  Samsung 삼성 스마트카메라  Samsung NP600B5C User Manual (Windows 7)  【 取 扱 説 明 書 】 瞬時・積算指示計 MODEL:SP-243シリーズ (アナロ  ALCATEL Mobile Phones Temporis Mini User's Manual  Canon T 90 User's Manual  Studer Innotec HPC 2800-12 User's Manual  Crysis 3  

Copyright © All rights reserved.
Failed to retrieve file