Home

Processor Expert and Device Initialization User Guide

image

Contents

1. implementation verification optimization of the embedded microcontroller applications This high productivity development platform allows efficient use of microcontrollers and their peripherals allows building of portable solutions and saves development time and cost For latest information about the Processor Expert and related tools for HC S 08 RS08 amp ColdFire V1 please visit the website http www processorexpert com HC08 Processor Expert has a built in knowledge internal definitions of the entire microcontrollers with all their integrated peripherals Functional elements are encapsulated using the concept of configurable components called Beans that provide methods and event subroutines An intuitive and powerful graphical UI allows users to define the desired behavior of the system by using bean components with their settings and drag amp drop selections The IDE simplifies the utilization of the generated code within the application code Notice For RSO8 derivatives only the Peripheral Initialization Beans are available TYPICAL DEVELOPMENT STEPS This chapter describes a typical development process step by step and contains recommendations tips for your first application 1 Create a new project select and configure a CPU Bean Start the CodeWarrior Click the button Create New Project A New project wizard appears Specify the name of the project and its location Check the C language Select
2. and Events of the selected Bean Properties define the Bean connection to the target CPU settings of allocated peripherals an initialization of the Bean and other run time Bean options Methods are functions generated by the Processor Expert and intended to be utilized by the user Methods are located in the generated code modules which should not be changed by the user Each bean has got its own module with the same name Events are the functions templates which are called from the Beans modules like an interrupt service routines Events are generated into the event module events c and should be implemented by the user Repeat previous two steps to insert all beans needed for the desired function If exclamation marks are displayed in Project Panel or Bean inspector the bean settings are wrong or conflict with each other Processor Expert provides powerful design time verifications which protects users from the run time problems and bugs Error messages are displayed in the third column of the Bean Inspector or in the Error Window Peripherals settings Processor Expert verifies if the selected peripheral meet the Bean requirements Peripheral allocation Processor Expert also provides a protection against usage of one peripheral by several Beans If the peripheral is used by one Bean its settings cannot be modified by any other Bean Timing The settings of all timed devices are checked If no error is detected it mea
3. the CPU derivative and connection target you would like to use Skip Add Additional Files step Select Processor Expert in Rapid Application Development options Don t change settings in C C options and PC lint configuration steps A new Processor Expert project is created and the target CPU Bean is displayed in the Processor Expert Project Panel it is a tab in the project panel of CodeWarrior Double click on the CPU Bean icon to select it and open Bean Inspector which allows customizing the Bean settings The default settings of the CPU Bean are suitable for most applications Find a Bean suitable for the desired function in the Bean Selector using the command Processor Expert View Bean selector Beans are sorted by category in folders Processor Expert project consists of building blocks called Embedded Beans Bean Each Bean represents encapsulation of functionality of any on chip peripheral external peripheral virtual peripheral or some software algorithm See section Supported beans for more information on supported beans and their functionality Double click on the Bean name in the Bean Selector and the Bean will be added to your Project Beans of the current project are visible in the Processor Expert Project Panel Configure the behavior of the bean by setting its properties and decide which methods and events will be contained in the generated bean modules Bean Inspector shows Properties Methods
4. Document Version PROCESSOR EXPERT FOR FREESCALE HC S 08 RSO8 amp ColdFire V1 UNIS Processor Expert and Device Initialization User Guide PROCESSOR EXPERT AND DEVICE INITIALIZATION FOR FREESCALE HC S 08 RSO8 amp COLDFIRE V1 FAMILY SOFTWARE DEVELOPMENT TOOLS FOR HC S 08 RS08 amp COLDFIRE V1 DESIGNERS Processor Expert and Device Initialization User Guide 2007 UNIS spol s r o CONTENTS 1 About the Product 1 1 Software Product Description 2 1 2 Benefits lt cacaanceweacewescadis sanesteeddeancnscacaeonraseaee 2 Installation 2 1 System Requirements __ 2 22222222 eee eee eee 2 2 Installation Step by step _ 2 2 2 0 e2 eee ee ee ee 3 Licensing 3 1 CodeWarrior Editions ee eee 4 Getting Started with Processor Expert 4 1 About the TOO 1 soccer oeiee dbz oe Oo At ee 4 2 Typical Development Steps 1 2 2 4 3 Supported BEANS cnc2 zoba l EEEE OLA 4 4 Additional Beans 2 eon heed a do ago YW L ee ee 4 5 Important Information for Beginners _ 4 6 Information for Advanced Users 7 Contacts EUNIS sit ts oan AOR Zo cea alee ala ANC cts 8 Revisions 1 ABOUT THE PRODUCT Chapter Software Product Decription and Benefits About the Product SOFTWARE PRODUCT DESCRIPTION This release package contains software tools to support de
5. alone peripherals virtual devices and pure software algorithms and provide the control of these devices via properties methods and events like objects in Object Oriented Programming Processor Expert generates modules for Freescale C Compiler from each Bean Each generated module contains initialization of the Bean and peripheral and optimized code of methods according to user settings of the Bean All beans are listed in the Bean Selector window A Bean can be added to the project by clicking on the icon or the Bean name It provides various ways of searching for bean When you want to use Beans you need license that is provided along with the CodeWarrior Please see the chapter Licensing for details on licensing information In the demo mode without any license the restricted group of beans generates code For more information see documentation of the CodeWarrior ADDITIONAL BEANS Many additional beans can be freely downloaded from our website http www processorexpert com download hc08 These beans are licensed under the Free beans license For more information follow the licensing link on the download page IMPORTANT INFORMATION FOR BEGINNERS You can find the following useful information in the documentation provided with the Processor Expert e Tutorial Courses step by step procedure how to build a simple application in Processor Expert Help Processor Expert Tutorial e Ready to use examples can be opened using
6. ated during every code generation so any user changes would be lost For information on advanced options allowing to disable overwriting of the bean modules by PE please see the Processor Expert help Build the application and correct errors found by compiler CodeWarior integrated development environment allows to build the application automatically Use command main menu Project Make to compile your application Build and make commands will invoke code generation if it is necessary If you need to add another beans to your project go back and continue with step 2 Bean Inspector can hide the advanced settings of the bean using the predefined view levels basic advanced and expert see the Bean Inspector Items Visibility menu Basic level is selected by default and you can get more options for the bean by selecting a higher level You can add also external user modules to your project These are listed in CodeWarrior Project Panel in the user modules folder of the files tab Use the commands Project Panel User Modules popup menu Add User Module or Project Panel User Modules popup menu New User Module popup menu is opened using the right mouse button click on the appropriate object SUPPORTED BEANS Embedded Bean is a component which can be used in Processor Expert Embedded Beans encapsulate functionality of basic elements of embedded systems like CPU core CPU on chip peripherals stand
7. ck 2 if you have Windows 2000 e 256MB RAM e 500MB free space on HDD e Color graphic display with resolution 800x600 with SMALL FONTS 1024x768 strongly recommended e Mouse or other compatible pointing device e Internet Explorer 5 or higher installed e Acrobat Reader 5 0 or higher e xpdf package installed in subdirectory xpdf included in the installation e CHM viewer installed e Administrator rights in Windows 2000 and Windows XP Please refer to README TXT for details INSTALLATION STEP BY STEP Please follow the CodeWarrior installation process see CodeWarrior User Guide 3 LICENSING Chapter CodeWarrior and Processor Expert Licensing Options Licensing CODEWARRIOR EDITIONS Processor Expert plugin and Device Initialization plugin are distributed exclusively as a part of the CodeWarrior Development Studio There are various CodeWarrior licensing options scaled from a simple free limited version to the fully equipped one Please see the CodeWarrior Development Studio editions information at http www processorexpert com hc08 editions visit the CodeWarrior home page http www freescale com codewarrior or contact your nearest Freescale distributor for details on availability and ordering 4 GETTING STARTED WITH PROCESSOR EXPERT Chapter First time Usage of the Processor Expert Getting Started with Processor Expert Processor Expert PE is an Integrated Development Environment IDE for design
8. ns Description Summary of Changes 2 0 April 2006 New layout and formatting Language corrections October 2006 Updated hardware requirements April 2007 Added ColdFire V1 information 23 p uly 2007 Updated RS08 support information
9. ns that you can work with the given settings without problem in runtime Generated modules are provided in such a way that they cannot influence each another it means that even if several Beans share one physical device changes in the Bean settings using the values given and checked by the Processor Expert is possible in run time without affecting any other Bean Initiate code generation using the command main menu Processor Expert Generate Code and check the error window If the code generation was successful no errors proceed with the next step All the Bean modules are generated during code generation process and the event and main modules are updated or created if does not exist See generated modules in the folder Generated code of the Files tab in the CodeWarrior s project panel The code generation finishes successfully only if the project is set up correctly Utilize Bean methods by placing their calls into the user modules the main module event functions or other user modules List of methods is available for each bean in the Project Panel window User written code should be only added into the main event and user modules The main function is located in the module with the name same as the project name and it is called immediately after initialization of the CPU and Beans Event handlers are located in the Events module events c Do not modify other generated bean modules These files are re gener
10. the button Load Example available in the startup screen e Quick Start recommendations how to learn the Processor Expert quickly 10 Help Processor Expert Quick start e List of Supported Beans list of supported Beans with link to more detailed description Help Processor Expert Embedded Beans Processor Expert View Installed Beans Overview Processor Expert main help Help Processor Expert Processor Expert Help For further information please see also the other documentation included in the CodeWarrior installation INFORMATION FOR ADVANCED USERS e Test projects With usage of these projects user can easily test functionality of Embedded beans and internal peripherals Each bean has one test project located in Projects Test projects subdirectory e Bean Wizard is a tool for a user bean construction The usage of the tool requires a deep knowledge of Processor Expert principles and skills 24404 5 GETTING STARTED WITH DEVICE INITIALIZATION Chapter First Steps With Device Initialization Getting Started with Device Initialization Device Initialization is a fast easy and user friendly way to configure and generate a CPU peripheral initialization code in assembly or C language The tool is intended for users that do not require C drivers for high level peripheral control provided by Processor Expert Notice Device Initialization support for the ColdFire V1 derivatives is limited to C language o
11. utput IMPORTANT INFORMATION FOR BEGINNERS You can find the following important information in the documentation provided with the CodeWarrior Device Initialization Plug in e Tutorial Courses step by step procedure how to build a simple application in Processor Expert Help Processor Expert Device Initialization Tutorial e Ready to use examples can be opened using the button Load Example available in the startup screen e Quick Start recommendations how to learn the Processor Expert quickly Help Processor Expert Device Initialization Help e List of supported Peripheral Initialization Beans and CPUs list of supported peripheral initialization beans with detailed description of the bean parameters Help Device Initialization List of all supported CPUs Support Services Support FREESCALE To obtain an assistance with Processor Expert or any related product for Freescale HC S 08 RS08 amp ColdFire V1 family please contact the Freescale Technical Support www http www codewarrior com support EMAILS cw_support freescale com 7 CONTACTS Contacts UNIS UNIS spol s r o Jundrovska 33 624 00 BRNO Czech Republic Tel 420 5 41 515 111 Fax 420 5 41 210 360 e mail info processorexpert com sales processorexpert com web http www processorexpert com HC08 http www unis cz EN Chapter Main Contacts 8 REVISIONS Chapter List of Revisions Revisio
12. velopment of applications for Freescale HC S 08 RSO8 amp ColdFire V1 series of microcontrollers PROCESSOR EXPERT PLUG IN is the Processor Expert environment integrated into the CodeWarrior IDE application DEVICE INITIALIZATION PLUG IN is a powerful and easy to learn tool for generating a CPU peripheral initialization code in C or assembler For ColdFire V1 the assembly initialization code generation is not available BEAN WIZARD OPTIONAL is a tool for creating user beans including examples and its on line documentation BENEFITS e Integrated development environment increases productivity and saves time and cost e Usage of the tool minimizes the time to learn the microcontroller e All tools have a user friendly time saving graphical user interface e Processor Expert allows rapid prototyping of entire application e Processor Expert provides modular reusable and fully tested functions e It s easy to modify and port the existing implementations using Processor Expert e Processor Expert and Device Initialization support all on chip peripherals and provide design time settings verifications e Device Initialization generates fully commented CPU initialization code in assembler or C language 2 INSTALLATION Chapter System Requirements Installation Process Step by Step Installation SYSTEM REQUIREMENTS e PC Compatible Machine with Pentium processor or higher e Microsoft Windows 98SE 2000 XP e Service Pa

Download Pdf Manuals

image

Related Search

Related Contents

  Invacare® Meteor  Philips DCB7005 User Guide Manual    Honeywell W8635A1006 User's Manual  MANUAL DE USUARIO  Electrolux EMS2685 User's Manual  T。SHーBA 東芝電球ベンダン ト取扱説明書  User manual Hob ZEV6332FBA  M68HC705J1A IN-CIRCUIT SIMULATOR USER'S MANUAL  

Copyright © All rights reserved.
Failed to retrieve file