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:
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
Hoping you had excellent and happy holydays, I must announce a brand new toy that has arrived to enbrighten 2013 developing! It is the NEW CodeWarrior Development Studio for Microcontrollers v10.3, Evaluation Edition, which will be available for you in the CodeWarrior Page and right in this post since TODAY! Take a few seconds to catch up with the new software! The Release Note will lead you through the new stuff Freescale has got for us! In there you will find the major new features, such as:   NEW Supported Architectures (for the first time!) Kinetis L Series and S12Z Simplified C/C++ and Debug perspectives focus on basic tasks needed for embedded development Commander view gives you one click access to many basic tasks MQX-Lite RTOS is a Processor Expert component that allows you to add a lightweight kernel to your Kinetis project* Processor Expert hardware perspective allows you to build and share board configurations ARM Ltd. gcc compiler support for Kinetis L and K Series families Eclipse IDE 3.7.1 (Indigo) Aaaaand many more important details!   When you feel ready to try it out, there is another important detail for you to consider. There are 2 ways of downloading the Software, through the Online Installer or  the Offline Installer.   The Online installer assumes your computer has internet access. During the installation process the core tools will be installed and you will be asked to select the Freescale architecture support you want installed. The installer will automatically access the internet, download the necessary archives and install them in your CodeWarrior directory. Click here to start the download. This archive size is 646 MB.   The Offline installer assumes your computer does NOT have internet access. All data needed by the installer will be downloaded now and no other download will be performed. Click here to start the download. The total archive size is 1.23 GB Note: The Evaluation Edition license is automatically installed with your product and you do not need to register it. This license allows you to develop projects as Professional Edition within the 30-day evaluation period. After 30 days, the license works as Special Edition license (free permanent, but feature limited) which supports unlimited assembly code; up to 64KB of C code for ColdFire+, V1 ColdFire, DSC, Kinetis L Series, RS08, S08 derivatives; up to 128KB of C code for Kinetis K Series and V2-V4 ColdFire derivatives; and up to 512KB for Qorivva and PX derivatives.   Happy developing this 2013 CodeWarrior users!!!
View full article
Greetings, There is a new version of CodeWarrior for MCU v10 is available in the download section of CodeWarrior for Microcontrollers-Eclipse IDE|Freescale:   Use the 'Download' button:   You find the update under the 10.6 section: This leads to the latest v10.6.4 version: The software for download is available with two variants: 'Offline.exe' (recommended): this installation image includes all supported architectures (S08, RS08, ColdFire, 56800/E (DSC), Qorivva, S12Z, Sensors and Wireless charging devices). Recommended for offline installation or in case of problems with internet connection. 'Online.exe': this installation image contains the common files, and all the architecture specific files are downloaded on demand during installation.   For Kinetis development, usage of the Kinetis Design Studio is recommended: Kinetis Design Studio Integrated Development |Freescale   What's new: Includes all previous v10.6 updates (update 1, update 2 and update 3) Added Simulator support for 56800EX devices Automotive Math and Motor Control library for S12Z in included into product and supported by New Project Wizard. P&E Cyclone Universal FX support applies to every device architecture New device support: Kinetis K Series: MK65FX1M0, MK65FN2M0, MK66FX1M0, MK66FN2M0, K11DN512AM5, K11DX128AM5, K11DX256AM5, K21DN512AM5, K21DX128AM5, K21DX256AM5, K21FN1M0AM12, K21FX512AM12, KM14Z64AM5, KM14Z128AM5, KM33Z64AM5, KM33Z128AM5, KM34Z128AM5 S08: FXTH87000 S12Z: MC9S12ZVHL32, MC9S12ZVHL64, S12ZVC96, S12ZVCA128, S12ZVCA192, S12ZVCA64, S12ZVCA96 DSC: MWCT1000, MWCT1001, MWCT1003, MWCT1101, MWCT1200, MWCT1012, MWCT1212, MWCT1111, M56F82323 Updated for new silicon revisions: S08: MC13237C, MC13234C Kinetis K Series: K11DN512A, K11DX128A, K11DX256A, K21DN512A, K21DX128A, K21DX256A, K21FN1M0A, K21FX512A Bug fixes (see attached release notes for details)
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