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:
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
Frequently Asked Questions (FAQ) How to quickly start using Processor Expert in CodeWarrior? Where can I find Processor Expert examples and tutorials in CodeWarrior? How to configure the processor component to match my hardware? Product Information on Freescale.com Product Summary Page Documentation Downloads Trainings and Support Other Resources Processor Expert Tools in CodeWarrior 10.3 - Training Videos
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
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
Maxon Description Driver implementing a driver for a DC Motor. Component Maxon.PEupd Dependencies none License License : Open Source (LGPL) Copyright : (c) Copyright Erich Styger, 2012, all rights reserved. This an open source software 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
An update is availale for Processor Expert for i.MX which updates i.MX6D and i.MX6Q support. Download PEx_i.MX_6DQ_ServicePack_Eclipse_Update_b150828.zip from the Downloads section on Processor Expert for i.MX|Freescale After the download, use the menu Help > Install New Software and point to the downloaded archive file: Press 'Next' and go through the installation process. This updates support for i.MX Dual and Quad support. Release Note Information Incremental update of Processor Expert Software for i.MX Processors v1.x i.MX 6Dual/Quad Service Pack Update Product Content * CPUs  iMX 6Dual, 6Quad - iMX6D processor in a single SoC component - iMX6Q processor in a single SoC component * Boards supported - Sabre AI Rev.A based on the i.MX 6Quad or 6Dual processors - Sabre AI Rev.B based on the i.MX 6Quad or 6Dual processors - Sabre Lite Rev.A based on the i.MX 6Quad or 6Dual processors - Smart Device SDB Rev.A based on the i.MX 6Quad or 6Dual processors - Smart Device SDB Rev.B based on the i.MX 6Quad or 6Dual processors - EVB Rev.X3 based on the i.MX 6Quad or 6Dual processors * PinMux configuration data for a PinSettings component based on the following sources - IMX6DQRM.pdf            Rev 3, 07/2015 - IMX6DQCEC.pdf        Rev 4, 07/2014 * Known problems and limitations - None. * Revision history Changes in device support since the PEx for i.MX v1.1.0, May 4th 2015 - Updated 6Dual/Quad device registers and functional properties configuration options according to the latest RM Rev.3, 07/2015. - Updated information and package ball names according to the latest datasheet Rev.4, 07/2015 http://www.freescale.com/peximx http://www.freescale.com Freescale Support Department: support@freescale.com
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
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
RingBufferUInt8 Description Ringbuffer for unsigned 8bit entities Component RingBufferUInt8.PEupd Dependencies none License License : Open Source (LGPL) Copyright : (c) Copyright Erich Styger, 2012, all rights reserved. This an open source software of an embedded component for 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
The C project that doesn't use Processor Expert can be converted to Processor Expert. This is useful when the user finds out that he/she would like to use additional features of Processor Expert. WARNING! Note that in most cases this conversion involves necessary manual changes in the application code, because for example the register interrupt vectors table definitions created by the user often conflicts with Processor Expert definitions. Don't forget to backup the whole project before the conversion. Some files will have to be removed from the project. The conversion to Processor Expert is recommended to experienced users only. Steps: Select the command in the main menu File > New > Other and in the New Project Wizard select Processor Expert / Enable Processor Expert for Existing C Project Select the project you want to update. Select the derivative that will be included in PEx project (you should use the same derivative with the _4SDK suffix that has been selected when the project was created without PEx). Select the target compiler (select for example the IAR ARM C Compiler if the C project has been created as IAR ARM C project) Confirm changes (renaming of main.c module and any other changes you want to apply) and click on the Finish button. The project with PEx is created but there need to be done following changes: Go to project Properties to the Procesor Expert > Kinetis SDK Specific and fill the SDK path. Use browse button and select a path to the Kinetis SDK folder or fill the ${KSDK_PATH} which is default system variable. This variable points to the default Kinetis SDK folder. After this project still shows some errors. Remove the PinSettings component from project and add new PinSettings component from Components Library. This process adds missing fsl_clock_manager component to the project too. Press the button Generate Processor Expert Code and project should be generated without errors. Remove the duplicate main.c module – the main_backup.c file (copy content of the old main.c module into the new one created by PEx) and delete the old version of the file (main_backup.c) Processor Expert includes all IO maps and startup files. Therefore all IO maps and startup files from the original C project must be removed (e.g. content of the Static_Code folder). Processor Expert generate linker file ProcessorExpert.xxx (e.g. file ProcessorExpert.icf for IAR ARM C Compiler). Therefore all linker command files from the original C project must be removed.
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
MC13192 Description Driver for the Freescale MC13192 2.4 GHz Transciver Component MC13192.PEupd Dependencies Wait License License : Open Source (LGPL) Copyright : (c) Copyright Erich Styger, 2012, all rights reserved. This an open source software implementing a driver 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
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
FontDisplay Description Component to draw text on a display using the GFont component. Component FontDisplay.PEupd Dependencies GFont, GDisplay, Watchdog License License : Open Source (LGPL) Copyright : (c) Copyright Erich Styger, 2011, all rights reserved. This an open source software in the form of a Processor Expert Embedded Component. 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
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 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
PID_Int Description Driver implementing an integer PID controller. Component PID_Int.PEupd Dependencies Tacho, MaxonF2140 License License : Open Source (LGPL) Copyright : (c) Copyright Erich Styger, 2012, all rights reserved. This an open source software 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
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
This article describe procedure how to properly install KSDK 1.1.0 support in KDS 2.0.0 (Kinetis Design Studio) and also additional steps to update GCC compiler and debug firmware on the FRDM-KL03Z board. KDS 2.0.0 installation If you don’t have KDS 2.0.0, please get the installation package (for Windows and Linux) on Freescale website. Go to the page Kinetis Design Studio Integrated Development Environment (IDE), select the build and install it. Kinetis SDK installation The KL03Z derivative support is distributed as a part of KSDK 1.1.0 release.  Download the Freescale Kinetis SDK 1.1.0 Windows or Linux installer and install it. After the KSDK 1.1.0 is installed you need also install the KSDK_1.1.0_Eclipse_Update. In the KDS main menu select Help > Install new software… , click on Add.. button, click on Archive and select KSDK_1.1.0_Eclipse_Update.zip in the KSDK subfolder (e.g. c:\Freescale\KSDK_1.1.0\tools\eclipse_update\KSDK_1.1.0_Eclipse_Update.zip): Additional Steps for Kinetis L family Next step is to install the updated GCC compiler. This is due to C standard library footprint issue in the GCC version that is distributed in KDS 2.0.0. For example, the KL03Z derivatives contain small amount of RAM memory and therefore this step is also strongly recommended. Download the latest GNU GCC ARM as a zip file from https://launchpad.net/gcc-arm-embedded, and install the file. Navigate to the KDS 2.0.0  install directory, locate the <install_dir>/ KDS_2.0.0/toolchain folder, and copy all files from the folder “<install dir>/GNU Tools ARM Embedded/4.8 2014q3” (e.g. c:\Program Files\GNU Tools ARM Embedded\4.8 2014q3) to this folder of KDS 2.0.0. Please note that when you update the GCC you must change the linker flags for every new project with GCC to “-specs=nano.specs -specs=nosys.specs” as described in the document. (otherwise the default setting of linker flags will cause an error of GCC linker). If you haven’t done that yet, update firmware of the FRDM-KL03Z board to allow application flashing and debugging (see https://segger.com/opensda.html).  For detailed instructions see OpenSDA User's guide and FRDM-KL03Z User’s Guide.   For example, you can start creating a new application for the KL03 according to instructions in document  Low power demo application on FRDM-KL03Z board with KSDK 1.1.0
View full article