Processor Expert软件知识库

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Processor Expert Software Knowledge Base

讨论

排序依据:
Hey everyone! If you are looking for concise steps to create and apply a patch in a yocto build, this article will serve you well. The reference taken in this article is of iMX93EVK yocto build. For this exercise, we are modifying a lpspi dts file in the BSP and creating a patch file but you may apply the same steps to other files in the BSP as well. Step-1 Make changes to the dts file in your directory example - arch/arm64/boot/dts/freescale/imx93-11x11-evk-lpspi.dts Step-2 In your yocto build, go to the git folder  cd imx-yocto-bsp-home/build_11x11/tmp/work/imx93_11x11_lpddr4x_evk-poky-linux/linux-imx/6.1.36+gitAUTOINC+04b05c5527-r0/git Step-3 Execute 'git diff' to check the difference between your changes and the default ones    Check the status by executing 'git status'     Step-4 Execute 'git add <file>'  , 'git commit -m <message>', and 'git format-patch -1' to add a file and create a git format patch file for your changes.   copy the generated patch file to a location which yocto build look for the patches Example- My yocto build looks for the patch in various locations, one of them is this one :- sources/meta-imx/meta-bsp/recipes-kernel/linux/files, so after creating the directory 'files', we can move the patch file to this folder    Step-5 Edit the .bb file for linux recipes-kernel for example - Open  /home/nxg06361/imx-yocto-bsp-home/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_6.1.bb  for editing Append the patch file name to the SRC_URI variable     You can also verify that your patch has been successfully applied or not by doing 'git log'   Voila ! that's all you need to do in order to create and apply a git patch for your yocto build.
查看全文
This document describes the manual conversion of a (CodeWarrior MCU 10.6) Processor Expert project by creating of a new project in KDS 3.0.0 for the same target MCU and copying of Processor Expert project and user source code. This options of the CodeWarrior (or Driver Suite) project conversion provide an easy way how to convert the project but all customized settings of compiler, linker and libraries must be set manually in the new KDS 3.0.0 project again (this configuration will not be migrated). The migration of the whole CodeWarrior project is described in the document CW MCU 10.6 Processor Expert projects migration into KDS 3.0.0 Steps: 1. Create a new Kinetis project for the same target MCU (navigate to menu File > New > Kinetis Project). Write a new project name (you can write the same name of the original project). Select the same target MCU (or a target board that use the same target MCU). Kinetis SDK – select None Check Processor Expert Select the compiler that is available (installed) in your KDS 3.0.0 installation (GNU C Compiler is available by default). 2. Remove all Processor Expert components from the project (delete all CPUs and components if included). All components will be imported from the original project. 3. In the Components windows, navigate to the View Menu > Import > Import Processor Expert Component Settings 4. In the Import Processor Expert Component Settings windows, click on Browse button 5. In the dialog, select *.pe file extension and select the ProcessorExpert.pe from the original CodeWarrior Processor Expert project. Click on the Open button. 6. In the Import Processor Expert Component Settings windows select the target project (the new project). 7. The window contain list of all components that can be imported (added). You can select components that can be omitted (all will be imported by default). 8. Click on the Finish button. All selected components are imported and no warnings and errors should be reported. 9. Open the folder with the original CodeWarrior project and drag-and-drop source code files (copy files) from the  CodeWarrior project into the new project created in KDS (select Copy files).   Please note, that CodeWarrior projects have the main() function in the ProcessorExpert.c file but the Kinetis Project uses the main.c (copy the content or you can rename the copied ProcessorExpert.c file) . 10. If necessary you can customize the project settings of the project by using Properties (in the Project Explorer window open the context menu of the project and select Properties). You can select the settings that are required by your application (optimization level, adding path to external libraries and so on). 11. Generate the Processor Expert code and Build the application. When all source code is copied (and customized settings and paths are properly set) the application is compiled without any errors and warnings. Debugger connection are pre-configured in the new Kinetis Project in KDS 3.0.0 by default.
查看全文
Trigger Description Module implementing mini threads using timer based callbacks (triggers) Component Trigger.PEupd Dependencies LowPower License License : Open Source (LGPL) Copyright : (c) Copyright Erich Styger, 2011, all rights reserved. This an open source software implementing triggers 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.
查看全文
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. */ /*****************************************************************************/
查看全文
Remember Processor Expert? Just to refresh your mind, is a development system to create, configure, optimize, migrate, and deliver software components that generate source code for Freescale silicon, supporting S08/RS08, S12(X), Coldfire, Coldfire+, Kinetis, DSC 56800/E, QorIQ and some other Power Architecture processors. And well, what's the such new great thing in it? Take a look: Microcontroller Driver Suite v10.0 is a software management system to perform Processor Expert's tasks and provide a low-cost, efficient solution for your designs. Just recently a great update has been made into it: the driver suite is delivered and installed as a comprehensive product with the Eclipse 3.7 (Indigo) IDE. It is also available as an Eclipse 3.7 plug-in. This extends Processor Expert software functionality to non-CodeWarrior IDE users for the supported platforms. The cool, useful part of all this is that Processor Expert technology packaged in the driver suite makes it much easier to optimize the low-level intricacies of a hardware platform. It also eliminates the necessity for one-size-fits-all drivers, therefore the driver suite allows you to design custom peripheral drivers ideally suited to your needs, without the need for extensive hardware knowledge! And just as aesy as that, you get a whole new set of possibilities to empower your design! You can try the software by just clicking here Microcontrollers Driver Suite v10.0 And you can also get the Driver Suite for Eclipse by clicking on here Microcontroller Driver Suite v10.0, for Eclipse 3.7 (Indigo)
查看全文
FSShell Description File System Shell Component FSShell.PEupd Dependencies Utility, FAT_FileSystem, FreeRTOS, RTC_I2C_DS1307, FSL_USB_Stack, RingBufferUInt8 License License : Open Source (LGPL) Copyright : (c) Copyright Erich Styger, 2012, all rights reserved. This an open source software implementing a shell using Processor Expert. Main purpose is for a file system, but useful as well without one. 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.
查看全文
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.
查看全文
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.
查看全文
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. */
查看全文
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.
查看全文
Using Microcontroller Driver Suite, learn how to add, configure, and remove a component, and how to generate code.
查看全文
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.
查看全文
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.
查看全文
GenericSWI2C Description Implements a software I2C driver using general purpose I/O pins (bit banging). The driver has been re-implemented using an existing Processor Expert component for the Freescale HCS08. Component GenericSWI2C.PEupd Dependencies Wait License (c) Copyright Freescale Semiconductor, 2010 http : www.freescale.com
查看全文
Tacho Description Driver for a Tachometer. Component Tacho.PEupd Dependencies QuadCounter 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.
查看全文
SPHY Description Simple PHY implementation for SMAC. Component SPHY.PEupd Dependencies MC13192, SSEC License (c) Copyright Freescale Semiconductor, 2012 Adoption as an Processor Expert component: Erich Styger
查看全文
GFont Description Compnent providing multiple different graphical fonts (Helvetica style, Courier style) in different shapes (bold, normal). Component GFont.PEupd Dependencies none 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.
查看全文
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
查看全文
Wait Description Generic busy waiting. Component Wait.PEupd Dependencies uCOS_II, Watchdog License License : Open Source (LGPL) Copyright : (c) Copyright Erich Styger, 2012, all rights reserved. This an open source software implementing waiting routines 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.
查看全文
PercepioTrace Description Implements a wrapper to the Percepio SE FreeRTOS+Trace library. See this blog post. Component PercepioTrace.PEupd Dependencies FreeRTOSTrace, FreeRTOS v1.095 or later License (c) Copyright Percepio AB, 2012 http : www.percepio.se mail : info@percepio.com Processor Expert port: Erich Styger, 2012 * Terms of Use * This software is copyright Percepio AB. The recorder library is free for * use together with Percepio products. You may distribute the recorder library * in its original form, including modifications in trcPort.c and trcPort.h * given that these modification are clearly marked as your own modifications * and documented in the initial comment section of these source files. * This software is the intellectual property of Percepio AB and may not be * sold or in other ways commercially redistributed without explicit written * permission by Percepio AB.
查看全文