CodeWarrior for MCU Knowledge Base

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

CodeWarrior for MCU Knowledge Base

Labels

Discussions

Sort by:
If I talk to you about Luis Garabito, Mexican engineer who works at the Freescale's CodeWarrior labs from a very close approach, you might not know what the main point is.   He has recently made a post regarding MQX applications and how is vital for us to understand how the environment in which we are working on works, specially if we're developing for the first time in it.   He also made a really useful application note (attached within the document) for us to get closer and deeper into the development on Freescale MQXLite RTOS, providing the knowledge necessary to start developing in an easy, quick way. So, I personally thank Luis very much and encourage all of you to check out the attached preview of how awesome can a RTOS turn out when used into our particular design.   This Application Note is based on the Kinetis KL2 USB MCUs Family, specifically, the KL25Z128VLK4 micro controller. The Freescale Freedom development platform board (FRDM–KL25Z) is also used for this example.   Start it up already, and follow DebuggerGuys for more cool info!
View full article
The CodeWarrior linker for MPC56xx does not support CRC generation. In case that user needs CRC vale for his firmware,  he can make use of CRCgen.exe utility included in CodeWarrior v10.6.4.   The attached document listed the detailed steps for  generating CRC value by CRCgen.exe, the example project is also attached.
View full article
There have been some questions regarding the Development Studio for MCUs and RS08 tools. Hopefully this reference manual will clear up all the questions that come along!   As a little preview of the document, I'll explain that the RS08 Build Tools Reference Manual describes the ANSI-C/C++ Compiler used for the Freescale 8-bit MCU (Microcontroller Unit) chip series. In addition, this document contains the following subjects for you, CodeWarrior user: • Using Compiler. It obviously describes how to run the Compiler, which consists of a Frontend, (a language-dependent) and a Backend, (a hardware-dependent), and generates object code specific to RS08. The main objective of the compiler, as you may already know, is to translate source code, such as C source code files into object code files for further processing by a linker. (All of the concepts are widely described within the manual)   • ANSI-C Library Reference. Describes how the Compiler uses the ANSI-C library, it helps you understanding and generating a brand new Library and guides you step by step with the process of building all the tools you need to get the work done!   • Appendices. Contains wide and variate lists of FAQs, Troubleshooting, and Technical Notes for any inconvenience presented along the way.   Follow DebuggerGuys if any concern!
View full article
Hi, my name is Yayra and I have just completed an internship at Freescale semiconductors for 8 weeks. I am currently a student at the University of Sheffield. During my time, I worked on Element 14 triple sensor board and managed to write drivers for the accelerometer (MMA8491), magnetometer (MAG3110) and pressure and temperature sensor (MPL3115A2) using processor expert and code warrior. The code warrior project attached works with a command interface to poll data from the various sensors. Once you have this shield and plug it into you FRDM_KL25 board, you should be able to run the project and using a terminal emulator like Teraterm, and be able to get data from the sensors. More information is included in the attched file with a PDF document called "The triple sensor project" which gives a "tutorial-like" information about the code I have written and integration with processor expert. I have uploaded a further file which deals with working with the sensor and freemaster
View full article
2014年4月2日,Freescale发布了CodeWarrior for MCU v10.6(简称CW10.6) 。 www.freescale.com/cwmcu10. CW10.6平台集成了Freescale ColdFire®, ColdFire+, DSC, Kinetis, Qorivva, RS08, S08 和S12Z开发工具 。 和以往CW10的其它老版本一样,CW10.6有两个可供下载的版本: 在线安装版本(432M): 下载的安装包包含CW MCU v10.6的核心工具,其他的安装包需要边安装边下载。这要求你安装的电脑能上网,而且网速足够快。鉴于中国大陆地区的一般网络条件,我并不建议使用。 离线安装版本(1.37GB):下载的安装包包括CW MCU v10.6的所有安装文件。既使安装的电脑不能上网,也能正常安装使用。 注意:CW10.6是一个独立的完整的版本,在已经装有老版本的电脑上可以独立安装CW10.6. 但不支持从老版本到新版本的直接升级。   和CW10.5 比较,CW10.6新增了对以下产品的支持: Kinetis E 系列: MKE04Z8, MKE04Z64, MKE04Z128, MKE06Z64, MKE06Z128 Kinetis KEA 系列: SKEAZN16, SKEAZN32, SKEAZN64, SKEAZ128 Kinetis K 系列: MK24FN1M0, MK63FN1M0, MK64FX512, MK64FN1M0 Kinetis V 系列: MKV10Z16, MKV10Z32 S08: HCS908RN8, HCS908RN16, HCS908RN32, HCS908RN48, HCS908RN60, HCS908RNA2, HCS908RNA4, HCS908RNA8, HCS908RNA16, HCS908RNA32, HCS908RNA48, HCS908RNA60 S12Z: MC9S12ZVC64, MC9S12ZVC128, MC9S12ZVC192, MC9S12ZVHY32     CW10.6对以下芯片的支持进行了升级: DSC: MC56F844xx, MC56F845xx, MC56F847xx Kinetis E 系列: MKE02Z16, MKE02Z32, MKE02Z64 (40MHz) S12Z: MC9S12ZVFP64, MC9S12ZVHY64   新特性: 对于S12Z系列芯片,新增了64bit  'long long' 类型和浮点的支持 对于Kinetis V系列,支持平方根运算和硬件除法指令 增加了对P&E Cyclone Universal [FX]的支持     CW10.6 license的使用和升级: CW10.5的license可用于CW10.6.  但更老版本的license(i.e. 10.0, 10.1,10.2, 10.3,10.4)不能用于CW10.6. 需要从Freescale购买升级后可以将license升级     MQX与CW10的兼容性问题: 1. MQX3.8支持CW10.1,不支持CW10.6. 2. MQX3.8.1支持CW10.2,不支持CW10.6. 3. MQX 4.0 是为CW10.2和CW10.3 而设计,在CW10.6上已通过测试。 4. MQX 4.0.1 是为CW10.4而设计, 在CW10.6上已通过测试。 5. MQX 4.0.2是为CW10.4和CW10.5而设计,在CW10.6上已通过测试。 6. MQX 4.1 是为CW10.5而设计, 在CW10.6上已通过测试。 7. CW10.6 集成了MQX Lite RTOS.支持Kinetis L 和Kinetis K系列 8. CW10.6 集成了MQX Task Aware 调试器, 支持对MQX和MQX Lite的调试
View full article
There are two situations happened when using CodeWarrior V10.3 for 84xxx. 1. It is failure when you try to add 56F84763 bean in 56F84789 project. 2. Try to open an example project “Init_eFlexPWM” but not successful in CW V10.3. This file illustrates how to solve these two use cases.
View full article
Multilink Rev C is not running after MCU V10.6 Update3 Multilink Rev C is not running under CW for MCF V7.2                                       A- Description   Problem occurs with Mulitilink Universal Rev C only. The MCU V10.6 Update 3 is running fine for Mulilink Universal Rev B.   With default MCU v10.6 the Multilink Universal Rev C on S12Z board is running fine. After to have installed the MCU V10.6 Update 3 (+ latest patches/updates - end of May), the first time the debugger is launched, CodeWarrior detects a new firmware is available for Multilink Universal interface. The firmware is updated automatically.   However there is a problem with the new firmware: Usbmlfsufbdmens.0930 In some case it’s not possible to debug an application on board.       B- Solution   MCU 10.6 update 3 includes the firmware Usbmlfsufbdmens.0930 However there are some problems with this firmware. P&E addressed a number of S12 related issues between 9.30 and 9.35. We recommended users to update to the latest version (Usbmlfsufbdmens.0935) when targeting devices with this debug module.   The last version can be download on P&E web site:                 http://www.pemicro.com/downloads/download_file.cfm?download_id=346   Attached you will find the update too.   The Problem is solved in CodeWarrior MCU V10.6.4      New CodeWarrior for MCU v10.6.4 available     C- Other cases – Classic IDE MCF V7.2   Configuration: CW for Coldfire V7.2 with Multilink Universal Rev C for ColdFire 54452 Ext FLASH. Trying to load an application on board, you get an error saying: "Getting flash ID failed” After to have installed the last P&E firmware, the problem was solved too.   To avoid problem – following P&E feedback – we recommend always to install the last P&E update which could be downloaded on P&E web site:                 http://www.pemicro.com/downloads/download_file.cfm?download_id=346
View full article
Processor Expert (PE) is an Integrated Development Environment (IDE) for design, 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.   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 Peripheral Initialization Components) that provide a peripheral initialization code. An intuitive and powerful graphical UI allows users to define the desired behavior of the system by using components with their settings and drag & drop selections. The IDE simplifies the utilization of the generated code within the application code.   Sounds nice, right? Learn more about  PE reading the Processor Expert for Freescale User Guide or to get the latest information about the PE and related tools for ColdFire visit http://www.processorexpert.com  
View full article