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:
A big new way of using the development tools we already know has ben brought by Freescale and the CodeWarrior portfolio, and they have asked us to evaluate and test the beta version of The CodeWarrior™ Development Studio for Microcontrollers v10.3 i don't know about you, but I'M IN!   As a little overview on this releasement, Freescale’s CodeWarrior for Microcontrollers v10.3 Beta integrates the development tools for the ColdFire®, ColdFire+, DSC, Kinetis, Qorivva, PX, RS08, S08 and S12Z architectures into a single product based on the Eclipse open development platform. Architectures supported in this version of the tools for the first time are: • Kinetis E Series • Kinetis L Series • S12Z   In addition to all these new benefits, many new derivatives for other architectures have also been considered: Major new features of this release include: • Simplified C/C++ and Debug perspectives focus on basic tasks needed for embedded development • Commander view gives you 1 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 E, L and K Series families • Migrated IDE to Eclipse 3.7.1   Featuring as well the posibilities of: • Build configuration and debug configuration names are simplified. • Debug configurations are filtered to only show the current project’s configurations • Migrated to Eclipse 3.7.1 and CDT 8.0.1 • Casting registers to types • Debugger engine allows updates without Eclipse restart   If you want to keep finding more advantages and information, take a look at the Release Note   Enough of the textual concepts, let's get down to the practice part! To download the software, click HERE Please note this is a BETA version, so if any problem or issue comes along, you must report HERE If you'd like to provide any kind of feedback, click HERE   For further information on the software usage, you can consult the Quick Reference or the Quick Start, and remember to keep in touch with DebuggerGuys!
View full article
User who work with CW MCU v10.5 for 8bit MCU that uses banked Memory(for example 9S08QE128, 9S08DZ128, etc), MUST install CW MCU v10.5 MCU Banked Memory Patch. Otherwise CW can NOT work with banked memory normally.   attached is the patch.   install instructions: The CW MCU v10.5 Banked Memory Patch is for CodeWarrior Development Studio for Microcontrollers v10.5. It includes the files required to address the S08 banked memory defect in CW MCU v10.5. This patch is provided as a zip file with no automated installation scripts or programs. The zip file must be installed manually using the installation instructions below. 1. Close CW MCU v10.5. 2. Locate the CW MCU v10.5 installation on your hard drive. The default installation directory is: “C:\Freescale\CW MCU v10.5.” 3. Unzip “CW MCU v10.5 Banked Memory Patch.zip” into the MCU subdirectory (C:\Freescale\CW MCU v10.5\MCU). The files included in the zip file will overwrite the current files in the subdirectory. -Or- 3. Use Windows Explorer to drag and drop the “bin” and “HC_Tools” subdirectories into the MCU subdirectory (C:\Freescale\CW MCU v10.5\MCU).
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
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
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 HC(S)08 Build Tools Reference Manual for Microcontrollers describes the compiler used for the Freescale 8-bit Microcontroller Unit (MCU) chip series. This document included right here consists of the following sections: • Using Compiler      It's more than obvious that the compiler is one of the parts that help us pull off our design, and that's why is really important to fully understand how it works, what it does and how to get the meximum out of it. This section, as you can figure, will be describing how to run the compiler, including the necessary specifications. • ANSI-C Library Reference      The well-known library is essential and quite useful. The section of this library reference will guide you on how it's attached to the compliler and how can you apply its benefits into your design! • Appendices      Apendices are more useful than you might think, so don't underestimate them! This ones include lists of FAQs, global and local configuration file entries, and known C++ issues to solve out any doubt.   In case you remain with questions, DebuggerGuys can help you out! CodeWarrior Development Studio for Microcontrollers V10.x HC(S)08 Build Tools Reference Manual
View full article
As you might already know, assembler statements are used to control the operation of the assembler itself.   The syntax of assembler statements mirrors the syntax of assembly language, and therefore, a guide of FAQs or HOW-TOs is usually provided while working with any given assembler.   Such is the case of the Freescale DSP Assembler, which not only processes assembly code for the Freescale DSP instruction set, but offers a set of useful directives and macros which makes your assembly coding much easier.   So, taking a look at the CodeWarrior-Digital Signal Controller Assembler Manual you'll be able to get acquinted with the directives and macros previously mentioned, and you'll get a step closer in the process of learning and programming Freescale DSPs.   Syntax, expressions and functions are also mentioned within this manual. Take a look at it now!   For more on the subject, follow DebuggerGuys
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