Processor Expert Software Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

Processor Expert Software Knowledge Base

Knowledge Base Articles

Note: the full USB 4.0 stack can be downloaded from the FSL website and contains Processor Expert components for many classes, not just the CDC class. So think of this as a useful tutorial. You can find it here: USB Stack Product Summary Page. Once installed, the default location for the components is C:\Freescale\Freescale USB Stack v4.0.1\ProcessorExpert. FSL_USB_Stack Description Wrapper for the Freescale USB Stack using the USB Stack v4.0.0. This wrapper currently only supports the CDC class and has been tested with the Kinetis K40/K60, TWR-MCF52259 , TWR-S08MM128, TWR-MCF51MM256, plus the MCF51JM128 and S08JM60 on the DEMOJM board. An article on this can be found here. Component FSL_USB_Stack.PEupd Dependencies RingBufferUInt8 License (c) Copyright Freescale, all rights reserved, 2012 Ported as Processor Expert component: Erich Styger http: www.freescale.com Copyright notice from Freescale: /****************************************************************************** * * Freescale Semiconductor Inc. * (c) Copyright 2004-2010 Freescale Semiconductor, Inc. * ALL RIGHTS RESERVED. * ****************************************************************************** * * THIS SOFTWARE IS PROVIDED BY FREESCALE "AS IS" AND ANY EXPRESSED OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL FREESCALE OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************//*!
View full article
FreeRTOSTrace Description Implements FreeRTOS hook API for tracing. See this blog post. Component FreeRTOSTrace.PEupd Dependencies FreeRTOS, PercepioTrace License License : Open Source (LGPL) Copyright : (c) Copyright Erich Styger/Martin Bucher, 2012, all rights reserved. This an open source software implementation with 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
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
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
FatFsMemSDHC Description SD Card low level driver for FatFs using SDHC_LDD. Component FatFsMemSDHC.PEupd Dependencies Timeout License License : Open Source (LGPL) Copyright : (c) Copyright Erich Styger, 2012, all rights reserved. This an open source software implementing an SD card low level driver useful for the the ChaN FatFS, 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
FAT_FileSystem Description Implements a wrapper for the FAT FS File System implemented by ChaN (see: http://elm-chan.org/fsw/ff/00index_e.html) Component FAT_FileSystem.PEupd Dependencies FreeRTOS, SD_Card License License : Open Source (LGPL) Copyright : (c) Copyright Erich Styger, 2012, all rights reserved. FatFS: Copyright (C) 2011, ChaN, all right reserved. (see copyright notice and license in the FatFS implementation). This an open source software implementing an interface to the ChaN FatFS 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
BootLoaderUSB Description Bootloader over USB Component BootLoaderUSB.PEupd Dependencies Wait, BootLoaderUSB, S19 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 China Ltd. 2008 * ALL RIGHTS RESERVED * * File Name: SCSI_Process.C * * Description: This file is to handle SCSI command * * Assembler: Codewarrior for HC(S)08 V6.2 * * Version: 2.3 * * Author: Patrick Yang * * Location: Shanghai, P.R.China * * * UPDATED HISTORY: * * REV YYYY.MM.DD AUTHOR DESCRIPTION OF CHANGE * --- ---------- ------ --------------------- * 1.0 2008.01.02 Patrick Yang Initial version * 2.0 2008.06.10 Derek Snell Modified to work with USB MSD bootloader * 2.1 2008.08.15 Derek Snell Fixed SCSI issue to work with non-XP OSs * 2.2 2008.08.25 Derek Snell Renamed SCSI Inquiry to "Freescale USB Bootloader" * Stopped accepting write data from host after successful S19 transfer * ******************************************************************************/ /* 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
BootLoaderDisk Description File System for Bootloader Component BootLoaderDisk.PEupd Dependencies S19 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: FAT16.c * * Purpose: This file is for a USB Mass-Storage Device bootloader. This file * mimics a FAT16 drive in order to enumerate as a disk drive * * 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
Step by step instructions for how to use Processor Expert inside CodeWarrior to create a bare board (no RTOS) application to use GPIO and Timers to blink LEDs on the TWR-K60N512 board, from scratch.
View full article