Processor Expert Software Knowledge Base

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Processor Expert Software Knowledge Base

Discussions

Sort by:
FreeRTOS Description FreeRTOS (www.freertos.org) implementation as component. Support for all S08 and all S12(X), ColdFire V1 (CN, JM, QE, JE, and MM families), ColdFire V2 (5225x) and all Kinetis (tested with K40, K60, K70/M4F, KL20Z Freedom Board). Component FreeRTOS.PEupd Dependencies Utility, FreeRTOSTrace, PercepioTrace A tutorial how to use the FreeRTOS Embedded Processor Expert component is used can be found here: Tutorial: FreeRTOS on DEMOJM Attention Classic (non-eclipse) Users! The component has been tested with CodeWarrior for S12(X) V5.1, which is not eclipse based. The eclipse based CodeWarrior (MCU10.x) is using the concept of an RTOS adapter. The FreeRTOS component has now a setting to disable this. You need to set the setting 'Classic CodeWarrior' to 'yes' in order to have it working in a non-eclipse CodeWarrior environment. Otherwise you will see internal errors during code generation. Additionally at least the PE 3.09 Service pack needs to be installed. The update is available on http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_UPDATES_MCU_63, direct link:CodeWarrior for MCU V6.3 Processor Expert V3.09 Update License License : Open Source (LGPL) FreeRTOS (c) Copyright 2003-2012 Richard Barry, http: www.FreeRTOS.org FreeRTOS Processor Expert Component: (c) Copyright Erich Styger, 2012 Processor Expert and CodeWarrior (c) Copyright Freescale Semiconductor, 2012, all rights reserved This is a free software and is opened for education, research and commercial developments under license policy of following terms: * This is a free software and there is NO WARRANTY. * No restriction on use. You can use, modify and redistribute it for personal, non-profit or commercial product UNDER YOUR RESPONSIBILITY. * Redistributions of source code must retain the above copyright notice.
View full article
Importing Example Projects Select File > Import from CodeWarrior menu. The Import dialog appears. Select General / Existing Projects into Workspace and click Next. Select the Select root directory option and click Browse. Browse to the following location of CodeWarrior installation directory:        <PExDrv 10_0_2>\eclipse\ProcessorExpert\Projects Select the folder containing the example projects if you want to import multiple projects, or the specific example project. Click OK. If you have selected the folder, the list of the example projects available in the folder appears in the Projects area. Check the checkbox adjacent to the project(s) you want to import. Select the Copy projects into workspace checkbox to create an independent copy of the project into the workspace. Click Finish. Typical Component Usage Examples of using generated code can be found on Typical usage page of the components. This page is provided within a component help. To get this help use the component’s pop-up menu command Help on component or browse the component in the Components User Guide within the Eclipse help system at Processor Expert Software - Microcontrollers Driver Suite > Manuals. The Typical usage page is available as a part of documentation for every LDD or high level component.
View full article
Learn how to add, configure, and remove a component, and how to generate code in CodeWarrior Development Studio.
View full article
It has finally been released the BETA version for the Double Data Rate RAM Memory Validation Tool (DDRv) for Processor Expert applications! What is this software all about? Well, it mainly helps you with the challenging tasks of tuning and cetering your settings when working with double data rate, so it enables your settings to work with multiple clock cycles. Explaining it furtherly, in the world of DDR, there are many settings for which the DDR will pass all tests and work on the test bench. However, a setting that worked on the test bench may be only 1/8 (or less) clock cycle from not working in your application, for example. This is what most of us would call a “skinny margin”. The DDRv tool will help you find all the settings that work, display them on a visual map allowing you to then select a setting that provides as much margin between working settings and non-working settings in your application. This process can be extremely difficult to do and generally requires specialized software running large exhaustive tests on very large memories. As you run these tests, you need to vary each setting against other varying settings – basically setting up a geometric progression that is very time consuming, complex and fraught with problems. Furthermore, you must track what worked, what didn’t work, and then have some way to make sense from all that data. But guess what? The DDRv tool does this for you! Of course this means saving time and efforts, making it all easier and quicklier! The features: Works seamlessly with Freescale QorIQ Configuration Suite Help you set the following VERY sensitive and VERY critical settings: Active termination values (Read and Write) Clock Adjust Value Clock Delay Value Select DDR tests to utilize Control ordering of testing Drill-down on errors Eclipse Plug-in ( Eclipse 3.6 and newer ) Wanna give it a try already? Follow this link and download the DDRV BETA!
View full article
This file can be used on the MC56F8322 device to output clock signals to pins for checking the ROSC frequency as trimed by the factory trim values. The code was generated by processor expert with GUI selections made in Code Warrior IDE.
View full article
Using CodeWarrior Development Studio, learn the answers to the questions, What code does Processor Expert generate? Where does it put the code? And how do I use it?
View full article
Using CodeWarrior Development Studio, learn how to create an MQX Lite component from scratch. You'll also learn where Processor Expert puts the task functions and the RTOS code itself.
View full article
Product Information on Freescale.com Product Summary Page Documentation Downloads Training Buy/Specifications Frequently Asked Questions (FAQ) Coming soon. Other Resources TBD
View full article
Learn how to export and import a file that can completely configure and generate the code required for an arbitrarily complex hardware and software system.
View full article
Since I want to use some settings of the provious project, I find there are two ways which both don't work. I select the "The LCD"  example project which locals in"\\\Freescale\CW MCU v10.3\MCU\CodeWarrior_Examples\Processor_Expert\Kinetis\TWR-K40X256\LCD". First gererate code,  build and run the project with success. Then I save the processor setting as template and add  it in a empty PE project from the "Component Library", Generate Processor Export code with error "Incorrect Tool Chain Select", I check the new project propeties and change the "Current toolchain" as "ARM  toolchain"  in correpondence with the previous project.  Regenerate the code , there still exit 9 errors in the _arm_start.cfile . Description Resource Path Location Type Undefined : "exit" __arm_start.c /PE_use_template/Project_Settings/Startup_Code line 287 C/C++ Problem Link failed. PE_use_template C/C++ Problem mingw32-make: *** [PE_use_template.elf] Error 1 PE_use_template C/C++ Problem Undefined : "__aeabi_unwind_cpp_pr1" PE_use_template line 0, external location: E:\CW_workspace\PE_use_template\RAM\Cpu_c.obj C/C++ Problem Undefined : "__call_static_initializers" __arm_start.c /PE_use_template/Project_Settings/Startup_Code line 251 C/C++ Problem Undefined : "__copy_rom_sections_to_ram" __arm_start.c /PE_use_template/Project_Settings/Startup_Code line 231 C/C++ Problem Undefined : "__init_registers" __arm_start.c /PE_use_template/Project_Settings/Startup_Code line 179 C/C++ Problem Undefined : "__init_user" __arm_start.c /PE_use_template/Project_Settings/Startup_Code line 257 C/C++ Problem Undefined : "memset" __arm_start.c /PE_use_template/Project_Settings/Startup_Code line 229 C/C++ Problem Second, when I use export "Component Setting"  there still exist the same problems. Can anyone give some hints or advice to this problem?:D
View full article
If you are a CodeWarrior user and yet you don't own a License, this post will be of great use for you and your designs! You might be using Processor Expert and Power Architecture within the QorIQ processors. If I'm just about right, I'll let myself introduce you to the new Optimization Suite for the QorIQ processors. The whole QorIQ Optimization Suite helps optimize your application by utilizing on-chip hardware from the QorIQ processor to provide enhanced levels of visibility of hundreds and hundreds of on chip hardware events, and the first included tool that you'll find in here will be the Scenarios Tool, which includes the following new interesting features: Extract measurement information with either : Freescale TAP TCP/IP if running Freescale SDK with TCF connector enabled. See data as an average or as a time series Select subsets of data to plot or average Save sample data to review later Multiple windows to display multiple measurements Sampling Time Base Determined by Host computer Now that you know that it provides visibility by utilizing “measurement scenarios”, you'll no longer design "blindly" and you'll be able to test the potential of your creations right away. These measurement scenarios include CPU scenarios, memory and traffic scenarios, and DPAA and peripheral scenarios. The requirements: Host computer system requirements Microsoft® Windows® 7 Microsoft Windows Vista (SP2) (32-bit) Home Basic, Home Premium, Business, Enterprise, Ultimate Edition Microsoft Windows XP Professional (SP3) 32 and 64 Red Hat Enterprise Linux 5.4, 32 and 64 Ubuntu 8.0.4, 32-bit, 9.10, 32 and 10.04, 64 SuSE 11, 32-bit (tested with 11.1) Target system requirements Compatible QorIQ Device (See “Supported Devices”) Connection Method ( you only need one of these ) Linux system running Freescale’s TCF connector. (Included in Freescale SDK for Supported Devices) Freescale USB TAP or Gigabit TAP Get more info within the Overview or get it started at once and download the Scenario Tools for Linux! Rather Windows version?
View full article
Using Microcontroller Driver Suite, learn how to add, configure, and remove a component, and how to generate code.
View full article
See how a full MQX Lite application works, how the tasks are implemented, and how they interact with other components in Microcontroller Driver Suite.
View full article
If you are a CodeWarrior user and yet you don't own a License, this post will be of great use for you and your designs! You might be using Power Architecture technology and the QorIQ processors as well. If I'm just about right, I'll let myself introduce you to the new Optimization Suite for the QorIQ processors. The whole QorIQ Optimization Suite helps optimize your application by utilizing on-chip hardware from the QorIQ processor to provide enhanced levels of visibility of hundreds and hundreds of on chip hardware events, and the first included tool that you'll find in here will be the Scenarios Tool, which includes the following new interesting features: Extract measurement information with either :        Freescale TAP TCP/IP if running Freescale SDK with TCF connector enabled. See data as an average or as a time series Select subsets of data to plot or average Save sample data to review later Multiple windows to display multiple measurements Sampling Time Base Determined by Host computer Now that you know that it provides visibility by utilizing “measurement scenarios”, you'll no longer design "blindly" and you'll be able to test the potential of your creations right away. These measurement scenarios include CPU scenarios, memory and traffic scenarios, and DPAA and peripheral scenarios. The requirements: Host computer system requirements Microsoft® Windows® 7 Microsoft Windows Vista (SP2) (32-bit) Home Basic, Home Premium, Business, Enterprise, Ultimate Edition Microsoft Windows XP Professional (SP3) 32 and 64 Red Hat Enterprise Linux 5.4, 32 and 64 Ubuntu 8.0.4, 32-bit, 9.10, 32 and 10.04, 64 SuSE 11, 32-bit (tested with 11.1) Target system requirements Compatible QorIQ Device (See “Supported Devices”) Connection Method ( you only need one of these ) Linux system running Freescale’s TCF connector. (Included in Freescale SDK for Supported Devices) Freescale USB TAP or Gigabit TAP Get more info within the Overview or get it started at once and download the Scenario tools for Windows! Rather Linux version?
View full article
Utility Description Different utility methods, mainly around strings Component Utility.PEupd Dependencies none License License : Open Source (LGPL) Copyright : (c) Copyright Erich Styger, 2012, all rights reserved. xatoi(): Copyright (C) 2010, ChaN, all right reserved. (see copyright notice and license at the function implementation). This an open source software implementing utility functions using Processor Expert. This is a free software and is opened for education, research and commercial developments under license policy of following terms: * This is a free software and there is NO WARRANTY. * No restriction on use. You can use, modify and redistribute it for personal, non-profit or commercial product UNDER YOUR RESPONSIBILITY. * Redistributions of source code must retain the above copyright notice.
View full article
Learn how to export and import a file that can completely configure and generate the code required for an arbitrarily complex hardware and software system with Microcontroller Driver Suite.
View full article
Using Microcontroller Driver Suite, learn how to create an MQX Lite component from scratch. You'll also learn where Processor Expert puts the task functions and the RTOS code itself.
View full article
Using Microcontroller Driver Suite, learn the answers to the questions: What code does Processor Expert generate? Where does it put the code? And how do I use it?
View full article
S19 Description S19 File Parser Component S19.PEupd Dependencies none License This component is based on the Freescale Application Note AN3748. The copyright notice of the original file is provided below: /****************************************************************************** * * (c) copyright Freescale Semiconductor 2008 * ALL RIGHTS RESERVED * * File Name: ParseS19.c * * Purpose: This file is for a USB Mass-Storage Device bootloader. This file * has functions to read S19 file sent over USB, and parse s-records * to program to flash. * * Assembler: Codewarrior for Microcontrollers V6.2 * * Version: 1.0 * * * Author: Derek Snell * * Location: Indianapolis, IN. USA * * UPDATED HISTORY: * * REV YYYY.MM.DD AUTHOR DESCRIPTION OF CHANGE * --- ---------- ------ --------------------- * 1.0 2008.06.10 Derek Snell Initial version * * ******************************************************************************/ /* Freescale is not obligated to provide any support, upgrades or new */ /* releases of the Software. Freescale may make changes to the Software at */ /* any time, without any obligation to notify or provide updated versions of */ /* the Software to you. Freescale expressly disclaims any warranty for the */ /* Software. The Software is provided as is, without warranty of any kind, */ /* either express or implied, including, without limitation, the implied */ /* warranties of merchantability, fitness for a particular purpose, or */ /* non-infringement. You assume the entire risk arising out of the use or */ /* performance of the Software, or any systems you design using the software */ /* (if any). Nothing may be construed as a warranty or representation by */ /* Freescale that the Software or any derivative work developed with or */ /* incorporating the Software will be free from infringement of the */ /* intellectual property rights of third parties. In no event will Freescale */ /* be liable, whether in contract, tort, or otherwise, for any incidental, */ /* special, indirect, consequential or punitive damages, including, but not */ /* limited to, damages for any loss of use, loss of time, inconvenience, */ /* commercial loss, or lost profits, savings, or revenues to the full extent */ /* such may be disclaimed by law. The Software is not fault tolerant and is */ /* not designed, manufactured or intended by Freescale for incorporation */ /* into products intended for use or resale in on-line control equipment in */ /* hazardous, dangerous to life or potentially life-threatening environments */ /* requiring fail-safe performance, such as in the operation of nuclear */ /* facilities, aircraft navigation or communication systems, air traffic */ /* control, direct life support machines or weapons systems, in which the */ /* failure of products could lead directly to death, personal injury or */ /* severe physical or environmental damage (High Risk Activities). You */ /* specifically represent and warrant that you will not use the Software or */ /* any derivative work of the Software for High Risk Activities. */ /* Freescale and the Freescale logos are registered trademarks of Freescale */ /* Semiconductor Inc. */ /*****************************************************************************/
View full article
The whole idea of a community is sharing, and the component exchange is the focus for that. Processor Expert Software is all about reusable components. You can use the Component Development Environment to create complete components, typically as .upd files. You may package these up with documentation or other ancillary files in a zip file. You can use the PEx tools to export components or sets of components configured for particular hardware or use cases. Some components have dozens if not hundreds of properties, and preconfiguring them for particular situations can be extraordinarily useful, save a lot of work, and help someone avoid a lot of pain. You can export these as .pef files. You can save entire board configurations this way as .peb files. All of these - .upd, .pef, and .peb files are excellent contributions to the Component Exchange. We have created a category within the community for this purpose, and this purpose only. When you upload a component, categorize it as belonging in the Component Exchange category. Please limit items categorized this way to actual Processor Expert components (.upd, .pef, .peb files packaged up as you see fit). It's as easy as 1, 2, 3. 1: Upload a file 2: Describe, categorize, and tag it In the description, provide useful information - if there are architectural or distribution limitations for example. Remember, we reserve this category for the sole purpose of identifying components we share in the exchange. You can set tags to assist others who are searching. Other members can narrow their search by simply picking the Component Exchange category, and then search based on tags. It's that easy. 3: Publish it Click the publish button at the bottom, and you're done. Your contribution to the community is greatly appreciated. Note that all of the components can be rated and reviewed. PLEASE DO! The more we tell each other what's good, the better off we all are. THANKS!
View full article