Developing an Application for the i.mx Devices on the Linux Platform
|
|
|
- Pauline Hodges
- 9 years ago
- Views:
Transcription
1 Freescale Semiconductor Application Note Document Number: AN3870 Rev. 0, 08/2010 Developing an Application for the i.mx Devices on the Linux Platform by Multimedia Applications Division Freescale Semiconductor, Inc. Austin, TX 1 Introduction This application note describes how to set up a Linux software development environment on the i.mx devices. The application note helps the user to cross-compile, deploy, and debug code for an i.mx device (with the GNU-ARM toolchains that are included in the Board Support Package BSP) using the Eclipse Integrated Development Environment (IDE). Contents 1. Introduction Prerequisites Installing Eclipse Configuring Cross Compilation and Deployment Using Preinstalled Toolchain Configuring Cross Debugging with GDB Writing or Editing, Building, and Deploying an Application Debugging Revision History Freescale Semiconductor, Inc. All rights reserved.
2 Prerequisites The application note assumes that the user can boot Linux (one of the BSPs) on the target board through the Network File System (NFS) from a Linux host. NOTE The steps that are given in this application note are illustrated in the Fedora distribution that uses the Eclipse IDE, GNU Debugger (GDB), and i.mx31 Product Development Kit (PDK) board. However, these steps should be applicable to most of the Linux distributions (for the host) and i.mx devices with little or no change. 2 Prerequisites The following are the prerequisites for developing an application for the i.mx devices on Linux platform: Linux distribution installed in the host computer Required services Trivial File Transfer Protocol (TFTP), NFS, and serial communication that are configured and running on the host computer i.mx Linux BSP running on the target board Familiarity with the Linux Target Image Builder (LTIB) configuration screen navigation and knowledge of the location where the common packages are selected or deselected If the user requires any help to set up the prerequisites, refer to the Linux BSP documents. For example,for setting up the i.mx31 PDK, refer to the i.mx31 PDK 1.5 Linux User s Guide ( ), which is available in the BSP tarball that resides in the /doc/ directory. For the cross development, it is recommended to work on a root file system that is deployed through NFS. Any change to the target rootfs files in the Linux host can be detected immediately by the target, without any flash programming. If this is not possible on the user environment, establish a network connection between the i.mx board and host and use the TFTP or other services to transfer files between them. 3 Installing Eclipse C/C++ developers should download and install the Linux version of the Eclipse IDE which is available at The latest Eclipse version for Linux is Eclipse 3.4 (also known as Ganymede and SR1). The Eclipse platform is delivered to the user as a tarball. The tarball contents can be decompressed to a directory inside the home page. The application can be started from the command line or by clicking the corresponding icon in the directory. The commands to start the Eclipse application from the command line are as follows: $ cp /<your_download_location>/eclipse-cpp-ganymede-sr1-linux-gtk.tar.gz /home/<your_user>/ $ cd /home/<your_user>/ $ tar xzvf eclipse-cpp-ganymede-sr1-linux-gtk.tar.gz $ cd eclipse $./eclipse 2 Freescale Semiconductor
3 Configuring Cross Compilation and Deployment Using Preinstalled Toolchain 4 Configuring Cross Compilation and Deployment Using Preinstalled Toolchain The steps to configure the cross compilation and deployment using the preinstalled toolchain are as follows: 1. The toolchains are installed by LTIB in a common path, /opt/freescale/usr/local, in the host machine. In this common path, a directory is available for every toolchain that have been previously installed as part of a BSP. Select the toolchain for the i.mx device and BSP. For example, to work with the i.mx31 PDK Linux Software Development Kit (SDK) 1.4, the user should use the gcc glibc-2.5-nptl-3 toolchain. NOTE At some point, the Linux kernel package of the BSP is required to be extracted so that the Eclipse can point to the contents of the Eclipse include directory. To extract the Linux kernel package, use the command,./ltib -m prep -p kernel, in the LTIB installation directory. 2. When IDE is run for the first time, select a directory for its workspace so that the projects can be stored. The default directory can be used for this purpose. The Use this as the default... box is not required to be checked. After selecting the workspace directory, the IDE finishes loading and displays a welcome tab. Close the welcome tab to view the default Eclipse perspective (work area layout). 3. Create a new C project of type executable as shown in Figure 1. Figure 1. Creating a New C Project Freescale Semiconductor 3
4 Configuring Cross Compilation and Deployment Using Preinstalled Toolchain 4. Select the Hello World ANSI C template, and name the project uart_appnote as shown in Figure 2. Figure 2. New Project Settings 5. For the toolchain settings, select Linux GCC as shown in Figure 2 (later, this is modified manually). Click Next and enter the user name and copyright notice. Click Next again and ensure that the two default configurations (Debug and Release) are checked. Once these options are set, click Finish. 6. Open the project properties by pressing Alt + Enter or by right clicking the project name that is located on the left side of the pane (the Project Explorer) and selecting the Properties option. 4 Freescale Semiconductor
5 Configuring Cross Compilation and Deployment Using Preinstalled Toolchain 7. On the Properties window, click the C/C++ Build option that is located in the left side of pane. Click Manage Configurations and create a new build configuration as shown in Figure 3 with the following properties: Name MX31-Debug Description Cross-compile for i.mx31 Select Existing configuration option from the Copy settings from option list and select Debug Figure 3. New Build Configuration Click OK to close the Create New Configuration window. 8. Activate the new configuration on the Manage Configurations window by clicking the new configuration entry and then clicking Set Active. Click OK to close the Manage Configurations window. 9. Select the new configuration from the Configuration drop-down list in the C/C++ Build tab and click Apply. Freescale Semiconductor 5
6 Configuring Cross Compilation and Deployment Using Preinstalled Toolchain 10. Expand the C/C++ Build options and click Settings. On the Tool Settings tab, which is located on the right side of the pane, change the GCC C Compiler command from gcc to /opt/freescale/usr/local/gcc glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-non e-linux-gnueabi-gcc as shown in Figure Perform the following steps to add the Figure 4. Replacing the gcc Command /opt/freescale/usr/local/gcc glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-non e-linux-gnueabi-gcc path to the include directory of the kernel: a) Click Directories which is located below the GCC C Compiler Tool Settings b) Click Add directory path c) On the Add directory path window, click File system and navigate to the path, /<LTIB_PATH>/rpm/BUILD/linux/include 6 Freescale Semiconductor
7 Configuring Cross Compilation and Deployment Using Preinstalled Toolchain d) Select the include directory and click OK as shown in Figure 5 NOTE /<LTIB_PATH>/ is the directory where the LTIB for the BSP is installed. Figure 5. Adding the Include Directory To add more paths to the include directory, repeat the process mentioned in this step. 12. Select GCC C Compiler > Optimization > Optimization Level and select None from the Optimization Level drop-down list (generally, this option is already set to the desired value). 13. Select GCC C Compiler > Debugging > Debug Level and select the Maximum option from the Debug Level drop-down list (generally, this option is already set to the desired value). 14. Follow the procedure in Step 10 and provide the appropriate values for GCC C Linker to modify the GCC C Linker command from gcc to /opt/freescale/usr/local/gcc glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-non e-linux-gnueabi-gcc. 15. The linker should know the location of the linking libraries for the target root file system. To do this, add the /<LTIB_PATH>/rootfs/lib path to the libraries option in the GCC C Linker > Libraries > Library search path box. Freescale Semiconductor 7
8 Configuring Cross Debugging with GDB 16. Repeat the procedure mentioned in Step 15 to add the /<LTIB_PATH>/rootfs/usr/lib path to libraries. 17. Repeat the procedure described in Step 10 and Step 14 to modify the command for the GCC Assembler (located near the bottom of the Tool Settings tab). Here, the GCC Assembler command is changed from as to /opt/freescale/usr/local/gcc glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-non e-linux-gnueabi-as. 18. Click the Build Steps tab and configure a simple deployment operation. Copy the built binary to the root file system that is exported to the target using NFS and configure Post-Build Steps with the following command: cp /<workspace/project>/<output binary> /<LTIB_PATH>/rootfs/home/ NOTE If Eclipse is not run as the root, change the permissions of the home directory of the target rootfs file in advance. In this case, Eclipse can write to the home directory during deployment. Now, the i.mx31 application is built and copied to rootfs. The application can be executed from the target and debugged using Eclipse. 19. Click the Binary Parsers tab. Perform the following steps to configure the binary parsers for Eclipse: a) Uncheck the Elf Parser and check the GNU Elf Parser checkbox b) On the Binary Parsers options of the GNU Elf Parser, change the addr2line Command from addr2line to c) Change the c++filt Command from c++filt to /opt/freescale/usr/local/gcc glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/armnone-linux-gnueabi-addr2line /opt/freescale/usr/local/gcc glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/armnone-linux-gnueabi-c++filt d) Click OK to close the Properties window Now, the user should be able to build code and execute output applications on the target platform. NOTE By default, Eclipse is configured to build code for the x86 platforms. However, with this new configuration, user can generate ARM binaries that can run on the i.mx platform. 5 Configuring Cross Debugging with GDB This section describes how to configure the cross debugging with the GDB debugger package. Before executing the configuration steps, ensure that the following GDB packages are selected on the LTIB configuration screen: GDB to run natively on the target Cross GDB (runs on the build machine) 8 Freescale Semiconductor
9 Configuring Cross Debugging with GDB Extensible Markup Language (XML) support GDB server to run natively on the target After the GDB packages are selected, exit from LTIB configuration screen and allow the build to complete. Ensure that the host computer has access to the internet so that the packages can be downloaded from the Global Package Pool (GPP). The steps to create a debug configuration are as follows: 1. Click the downward arrow on the right of the bug icon to open the Debug Configurations window. Double click the C/C++ Local Application option to show a debug configuration for the project. Right click on this configuration and select Duplicate as shown in Figure 6. Figure 6. Creating a Debug Configuration 2. Select the following on the Main tab to configure the new debug configuration: Name i.mx Application Debugging-GDBServer Project <the created project> C/C++ Application <the ARM binary built with the toolchain> (browse to locate the ARM binary that resides in the Eclipse workspace) 3. Click the Debugger tab and perform the following: Select the GDBServer debugger from the Debugger drop-down list In Debugger Options, use the ARM capable debugger that is built by LTIB: GDB debugger /<LTIB_PATH>/bin/gdb GDB command set Standard Protocol mi Freescale Semiconductor 9
10 Writing or Editing, Building, and Deploying an Application On the Shared Libraries tab (under the Debugger options), add the following shared library paths: /<LTIB_PATH>/rootfs/lib /<LTIB_PATH>/rootfs/usr/lib 4. Configure the connection on the Connection tab with the following attributes: Type TCP Host name or IP address (use the IP address of the target i.mx board) Port number Ensure that the project folder is listed on the Source tab 6. Close the Debug Configurations window Now, the user can start a cross-debugging session with the Eclipse and i.mx device. 6 Writing or Editing, Building, and Deploying an Application The steps to build code and copy the output binary to the target rootfs home directory are as follows: 1. The Universal Asynchronous Receiver/Transmitter (UART) unit test is used as the example application. Therefore, the UART unit test source files must be decompressed. This can be done by issuing the following commands on the host: $ cd /<LTIB_PATH>/ $./ltib -m prep -p imx-test These commands extract the source files into the rpm/build/ folder. 2. Replace the contents of the Eclipse project source file with the contents of the UART unit test.c source file or overwrite the file with the following command: $ cp /<LTIB_PATH>/rpm/BUILD/imx-test2.3.2/test/mxc_uart_test/mxc_uart_test.c /<ECLIPSE_WORKSPACE>/uart_appnote/src/uart_appnote.c 10 Freescale Semiconductor
11 Writing or Editing, Building, and Deploying an Application 3. On Eclipse Project Explorer, expand the src folder and double click the uart_appnote.c file to open the source file on the editor window. Now, replace line 33, printf("test: MXC UART!\n");, with printf("test: MXC UART with Eclipse!\n");. Save and build the project by clicking the floppy disk and hammer icons, respectively as shown in Figure 7. Figure 7. Modifying the Source Code Now, the user should be able to build the code and copy the output binary to the home directory of the target rootfs file. The application can be tested by entering the following commands on the target serial terminal emulator window: $ cd /home/ $./uart_appnote /dev/ttymxc2 If the code is built properly and the output directory is copied correctly, then the output of the unit test is as follows: Test: MXC UART! Usage: mxc_uart_test <UART device name, opens UART2 if no dev name is specified> /dev/ttymxc2 opened Attributes set Test: IOCTL Set Data Written= Test Data Read back= Test Freescale Semiconductor 11
12 Debugging The test then opens the UART port that is specified in the command line. If the UART port is not specified in the command line, then the test opens the UART2 port (zero-indexed is ttymxc1). After opening the UART port, the program sets the loopback feature on the line discipline and the data is written to or read from the UART port. The serial test completes with no errors (returns code 0) if everything works properly. If there are errors while opening the UART port or during the I/O operations, the program exits with a different error code or hang. In this case, the problem can be debugged with the Eclipse debug environment by observing the variables, structures, breakpoint additions, and so on. 7 Debugging Steps to perform the debug operation are as follows: 1. Execute the following command on the target terminal at the path where the test application is located: $ gdbserver *:10000 uart_appnote When this command is executed, the following is displayed on the screen: Process uart_appnote created; pid = 1799 Listening on port As the target is ready, click the Bug icon on the Eclipse Platform window and select the GDBServer debug configuration that is created in Section 5, Configuring Cross Debugging with GDB, to attach the debugger. If the host and i.mx platforms are connected successfully, then the user is asked to confirm the perspective switch. After the confirmation, the GDB server displays the message, Remote debugging from host , on the target terminal and Eclipse opens the debug perspective with the source code, disassembly, variables, registers, and console output. 12 Freescale Semiconductor
13 Debugging 3. Check the Remember my decision box and click Yes (the user can switch between the perspectives by clicking the corresponding icons that are located on the top right corner of the Eclipse Platform window as shown in Figure 8). Figure 8. Eclipse Debugging Perspective As the glibc functions (which are accessed from a shared lib binary) are used, these are required to be navigated by stepping over them (by clicking the curved yellow arrow icon shown in Figure 8 or by pressing F6). The user is now only able to step into the functions that are part of their application (by clicking the straight-angle yellow arrow icon shown in Figure 8 or by pressing F5) or applications for which the source code is available. Important points that are helpful for performing the debugging operation are as follows: The program execution can be resumed by clicking the green play icon highlighted in Figure 8 or by pressing F8. The debugging session can be stopped with the red stop button highlighted in Figure 8 or by pressing Ctrl + F2 (this kills the processes associated with the debugging session on the target and host). If the initial parameters are required to be passed to the application that is being debugged, then it can be done while launching the GDB server with the following command: $ gdbserver *:10000 uart_appnote /dev/ttymxc2 The user is now able to cross-compile, deploy, and debug code for an i.mx device using the Eclipse IDE and GNU tools on the Linux platform. Freescale Semiconductor 13
14 Revision History 8 Revision History Table 1 provides a revision history for this application note. Table 1. Document Revision History Rev. Number Date Substantive Change(s) 0 08/2010 Initial release. 14 Freescale Semiconductor
15 Revision History THIS PAGE INTENTIONALLY LEFT BLANK Freescale Semiconductor 15
16 How to Reach Us: Home Page: Web Support: USA/Europe or Locations Not Listed: Freescale Semiconductor, Inc. Technical Information Center, EL East Elliot Road Tempe, Arizona or Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen Muenchen, Germany (English) (English) (German) (French) Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku Tokyo Japan or [email protected] Asia/Pacific: Freescale Semiconductor China Ltd. Exchange Building 23F No. 118 Jianguo Road Chaoyang District Beijing China [email protected] For Literature Requests Only: Freescale Semiconductor Literature Distribution Center or Fax: Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. Typical parameters which may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including Typicals must be validated for each customer application by customer s technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. Freescale, the Freescale logo, CodeWarrior, ColdFire, PowerQUICC, StarCore, and Symphony are trademarks of Freescale Semiconductor, Inc. Reg. U.S. Pat. & Tm. Off. CoreNet, QorIQ, QUICC Engine, and VortiQa are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. ARM is the registered trademark of ARM Limited Freescale Semiconductor, Inc. Document Number: AN3870 Rev. 0 08/2010
Windows 7: Using USB TAP on a Classic CodeWarrior Installation (MGT V9.2 DSC V8.3)
Freescale Semiconductor Document Number: AN4338 Application Note Rev. 1.0, 12/2011 Windows 7: Using USB TAP on a Classic CodeWarrior Installation (MGT V9.2 DSC V8.3) Technical Information & Commercial
Hardware Configurations for the i.mx Family USB Modules
Freescale Semiconductor Application Note Document Number: AN4136 Rev. 0, 06/2010 Hardware Configurations for the i.mx Family USB Modules by Multimedia Applications Division Freescale Semiconductor, Inc.
How To Build A Project On An Eclipse Powerbook For Anarc (Powerbook) On An Ipa (Powerpoint) On A Microcontroller (Powerboard) On Microcontrollers (Powerstation) On Your Microcontroller 2 (Powerclock
Freescale Semiconductor Document Number: AN4819 Application Note Rev. 1, 10/2013 Building a Project using IAR Eclipse Plugin Processor Expert Microcontrollers Driver Suite Processor Expert Microcontrollers
Installation of the MMA955xL CodeWarrior Service Pack Author: Fengyi Li Application Engineer
Freescale Semiconductor Application Note Document Number: AN4128 Rev. 0, 10/2011 Installation of the MMA955xL CodeWarrior Service Pack Author: Fengyi Li Application Engineer 1 Overview The Freescale MMA955xL
Connecting Low-Cost External Electrodes to MED-EKG
Freescale Semiconductor Document Number: AN4223 Application Note Rev. 0, 11/2010 Connecting Low-Cost External Electrodes to MED-EKG by: Carlos Casillas RTAC Americas Guadalajara Mexico 1 Introduction This
Connecting to an SMTP Server Using the Freescale NanoSSL Client
Freescale Semiconductor Document Number: AN4363 Application Note Rev. 0, 10/2011 Connecting to an SMTP Server Using the Freescale NanoSSL Client by: Paolo Alcantara Microcontroller Solutions Group 1 Introduction
Generate Makefiles from Command Line Support in Eclipse-Based CodeWarrior Software
Freescale Semiconductor Document Number: AN4272 Application Note Rev. 0, 03/2011 Generate Makefiles from Command Line Support in Eclipse-Based CodeWarrior Software by Devtech Customer Engineering Freescale
Using WinUSB in a Visual Studio Project with Freescale USB device controller
Freescale Semiconductor Document Number: AN4378 Application Note Rev. 0, 10/2011 Using WinUSB in a Visual Studio Project with Freescale USB device controller by: Paolo Alcantara Microcontroller Solutions
Point-of-Sale (POS) Users Guide Lech José Olmedo Guerrero Jaime Herrerro Gallardo RTAC Americas
Freescale Semiconductor Users Guide Document Number: POSUG Rev. 0, 03/2007 Point-of-Sale (POS) Users Guide by: Lech José Olmedo Guerrero Jaime Herrerro Gallardo RTAC Americas 1 Introduction This quick
IRTC Compensation and 1 Hz Clock Generation
Freescale Semiconductor Document Number: AN4257 Application Note Rev. 0, January 2011 IRTC Compensation and 1 Hz Clock Generation by: Derek Liu Applications Engineering Shanghai 1 Introduction The MC9S08GW64
How To Control A Motor Control On An Hvac Platform
Freescale Semiconductor Document Number:AN4616 Application Note Rev. 0, 10/2012 Flap Motor Control Based On HVAC Platform by: Shawn Shi, Albert Chen, Alex Liu 1 Introduction According to the world market
Performance Monitor on PowerQUICC II Pro Processors
Freescale Semiconductor Application Note Document Number: AN3359 Rev. 0, 05/2007 Performance Monitor on PowerQUICC II Pro Processors by Harinder Rai Network Computing Systems Group Freescale Semiconductor,
Installing Service Pack Updater Archive for CodeWarrior Tools (Windows and Linux) Quick Start
Installing Service Pack Updater Archive for CodeWarrior Tools (Windows and Linux) Quick Start SYSTEM REQUIREMENTS Hardware Operating System Intel Pentium 4 processor, 2 GHz or faster, Intel Xeon, Intel
Freescale Embedded GUI Converter Utility 2.0 Quick User Guide
Freescale Semiconductor User Guide Document Number: EGUICUG Rev. 1, 08/2010 Freescale Embedded GUI Converter Utility 2.0 Quick User Guide 1 Introduction The Freescale Embedded GUI Converter Utility 2.0
Processor Expert Software Microcontrollers Driver Suite Getting Started Guide
Freescale Semiconductor Document Number: PEXDRVSGETSTARTEDUG Rev. 2, 09/2012 Processor Expert Software Microcontrollers Driver Suite Getting Started Guide This document introduces Microcontrollers Driver
Initializing the TSEC Controller
Freescale Semiconductor Application Note Document Number: AN2925 Rev. 0, 11/2005 Initializing the TSEC Controller by Ahsan Kabir Digital Systems Division Freescale Semiconductor, Inc. Austin, TX This application
CodeWarrior Development Studio Floating Licensing Quick Start
CodeWarrior Development Studio Floating Licensing Quick Start This quick start guide explains how to set up a floating license server of Freescale software products licensed with FLEXlm (e.g. CodeWarrior).
Local Interconnect Network (LIN) Physical Interface
Freescale Semiconductor Engineering Bulletin EB215 Rev. 1.0, 03/2005 Local Interconnect Network (LIN) Physical Interface Difference Between MC33399 and MC33661 Introduction This engineering bulletin highlights
CodeWarrior Development Studio for Freescale S12(X) Microcontrollers Quick Start
CodeWarrior Development Studio for Freescale S12(X) Microcontrollers Quick Start SYSTEM REQUIREMENTS Hardware Operating System Disk Space PC with 1 GHz Intel Pentum -compatible processor 512 MB of RAM
Software Real Time Clock Implementation on MC9S08LG32
Freescale Semiconductor Document Number: AN4478 Rev. 0, 03/2012 Software Real Time Clock Implementation on MC9S08LG32 by: Nitin Gupta Automotive and Industrial Solutions Group 1 Introduction The MC9S08LG32
Improving Embedded Software Test Effectiveness in Automotive Applications
Improving Embedded Software Test Effectiveness in Automotive Applications Author, D Brook Document Number: CODETESTTECHWP Rev. 0 11/2005 As the automotive industry introduces more and more safety-critical,
Cyclic Redundant Checker Calculation on Power Architecture Technology and Comparison of Big-Endian Versus Little-Endian
Freescale Semiconductor Document Number:AN4657 Application Note Rev. 0, 01/2013 Cyclic Redundant Checker Calculation on Power Architecture Technology and Comparison of Big-Endian Versus Little-Endian by:
Adding SDIO Wi-Fi Solution to i.mx Windows CE 5.0/Windows CE 6.0
Freescale Semiconductor Application Note Document Number: AN3981 Rev. 0, 04/2010 Adding SDIO Wi-Fi Solution to i.mx Windows CE 5.0/Windows CE 6.0 by Multimedia Applications Division Freescale Semiconductor,
User Interface Design using CGI Programming and Boa Web Server on M5249C3 Board
Freescale Semiconductor Application Note AN3238 Rev. 0, 02/2006 User Interface Design using CGI Programming and Boa Web Server on M5249C3 Board by: H.K. Au MCD Applications 1 Introduction This application
Flexible Active Shutter Control Interface using the MC1323x
Freescale Semiconductor Document Number: AN4353 Application Note Rev. 0, 9/2011 Flexible Active Shutter Control Interface using the MC1323x by: Dennis Lui Freescale Hong Kong 1 Introduction This application
Programming Audio Applications in the i.mx21 MC9328MX21
Freescale Semiconductor Application Note Document Number: AN2628 Rev. 1, 10/2005 Programming Audio Applications in the MC9328MX21 by: Alfred Sin 1 Abstract The MC9328MX21 () processor has two dedicated
Handling Freescale Pressure Sensors
Freescale Semiconductor Application Note Rev 3, 11/2006 Handling Freescale Pressure by: William McDonald INTRODUCTION Smaller package outlines and higher board densities require the need for automated
etpu Host Interface by:
Freescale Semiconductor Application Note AN2821 Rev. 2, 08/2007 etpu Host Interface by: David Paterson Ming Li MCD Applications 1 Introduction This application note discusses the enhanced Time Processing
How to Convert 3-Axis Directions and Swap X-Y Axis of Accelerometer Data within Android Driver by: Gang Chen Field Applications Engineer
Freescale Semiconductor Application Note Document Number: AN4317 Rev. 0, 08/2011 How to Convert 3-Axis Directions and Swap X-Y Axis of Accelerometer Data within Android Driver by: Gang Chen Field Applications
MC13783 Buck and Boost Inductor Sizing
Freescale Semiconductor Application Note Document Number: AN3294 Rev. 0.1, 01/2010 MC13783 Buck and Boost Inductor Sizing by: Power Management Application Team 1 Introduction The purpose of this application
PowerQUICC II Pro (MPC83xx) PCI Agent Initialization
Freescale Semiconductor Application Note Document Number: AN3373 Rev. 0, 04/2007 PowerQUICC II Pro (MPC83xx) PCI Agent Initialization by: David Smith Field Application Engineering Raleigh, NC In many designs,
Freescale Semiconductor. Integrated Silicon Pressure Sensor. On-Chip Signal Conditioned, Temperature Compensated and Calibrated MPX4080D.
Freescale Semiconductor Integrated Silicon Pressure Sensor + On-Chip Signal Conditioned, Temperature Compensated and Calibrated The series piezoresistive transducer is a state-of-the-art monolithic silicon
Using the Performance Monitor Unit on the e200z760n3 Power Architecture Core
Freescale Semiconductor Document Number: AN4341 Application Note Rev. 1, 08/2011 Using the Performance Monitor Unit on the e200z760n3 Power Architecture Core by: Inga Harris MSG Application Engineering
Installing Service Pack Updater Archive for CodeWarrior Tools (Windows and Linux) Quick Start
Installing Service Pack Updater Archive for CodeWarrior Tools (Windows and Linux) Quick Start SYSTEM REQUIREMENTS Processor Windows OS: Intel Pentium 4 processor, 2 GHz or faster, Intel Xeon, Intel Core,
MLPPP in the Evolving Radio Access Network
Freescale Semiconductor White Paper Document Number: MLPPPWP Rev. 0, 09/2010 MLPPP in the Evolving Radio Access Network by Networking and Multimedia Group Freescale Semiconductor, Inc. East Kilbride, Scotland
Blood Pressure Monitor Using Flexis QE128 Gabriel Sanchez RTAC Americas
Freescale Semiconductor Application Note Document Number: AN3500 Rev. 0, 08/2007 Blood Pressure Monitor Using Flexis QE128 by: Gabriel Sanchez RTAC Americas 1 Introduction Product designers and developers
Understanding LCD Memory and Bus Bandwidth Requirements ColdFire, LCD, and Crossbar Switch
Freescale Semiconductor Application Note Document Number: AN3606 Rev. 0, 03/2008 Understanding LCD Memory and Bus Bandwidth Requirements ColdFire, LCD, and Crossbar Switch by: Melissa Hunter TSPG Applications
MCF54418 NAND Flash Controller
Freescale Semiconductor Application Note Document Number: AN4348 Rev. 0, 09/2011 MCF54418 NAND Flash Controller by: Liew Tsi Chung Applications Engineer 1 Introduction The ColdFire MCF5441x family is the
i.mx28 Ethernet Performance on Linux
Freescale Semiconductor Document Number:AN4544 Application Note Rev. 0, 6/2012 i.mx28 Ethernet Performance on Linux 1 Introduction The aim of this document is to show how to measure the ENET "Ethernet
Data Movement Between Big-Endian and Little-Endian Devices
Freescale Semiconductor Application Note AN2285 Rev. 2.2, 3/2008 Data Movement Between Big-Endian and Little-Endian Devices by Kyle Aubrey, Field Technical Leader Ashan Kabir, System Engineering Freescale
USB HID bootloader for the MC9S08JM60
Freescale Semiconductor Document Number: AN4252 Application Note Rev. 0, 4/2011 USB HID bootloader for the MC9S08JM60 by: Derek Lau System and Solution Engineering, Microcontroller Solutions Group Hong
MSC8156 and MSC8157 PCI Express Performance
Freescale Semiconductor Application Note Document Number: AN3935 Rev. 1, 11/2011 MSC8156 and MSC8157 PCI Express Performance This application note presents performance measurements of the MSC8156 and MSC8157
USB to SPI Device Driver Installation Instructions
Freescale Semiconductor User s Guide Document Number: KTUSBSPIDRVUG Rev. 1.0, 10/2012 USB to SPI Device Driver Installation Instructions Table of Contents 1 Introduction........................................................................
Detecting a CPM Overload on the PowerQUICC II
Freescale Semiconductor Application Note Document Number: AN2547 Rev. 1, 11/2006 Detecting a CPM Overload on the PowerQUICC II by Qiru Zou NCSD Applications Freescale Semiconductor, Inc. Austin, TX This
How To Measure Power Of A Permanent Magnet Synchronous Motor
Freescale Semiconductor Document Number:AN4680 Application Note Rev. 0, 02/2013 PMSM Electrical Parameters Measurement by: Viktor Bobek 1 Introduction The vector control, also known as the field-oriented
Using eflexpwm Module for ADC Synchronization in MC56F82xx and MC56F84xx Family of Digital Signal Controllers
Freescale Semiconductor Document Number:AN4675 Application Note Rev. 0, 01/2013 Using eflexpwm Module for ADC Synchronization in MC56F82xx and MC56F84xx Family of Digital Signal Controllers by: Pavel Grasblum
Using the Kinetis Security and Flash Protection Features
Freescale Semiconductor Document Number:AN4507 Application Note Rev. 1, 6/2012 Using the Kinetis Security and Flash Protection Features by: Melissa Hunter Automotive and Industrial Solutions Group 1 Introduction
PQ-MDS-T1 Module. HW Getting Started Guide. Contents. About This Document. Required Reading. Definitions, Acronyms, and Abbreviations
HW Getting Started Guide PQ-MDS-T1 Module April 2006: Rev. 0.3 Contents Contents................................................................................. 1 About This Document.......................................................................
Building and Debugging a project using Keil MDK-ARM Eclipse plug-in
Freescale Semiconductor Document Number: AN4913 Building and Debugging a project using Keil MDK-ARM Eclipse plug-in Processor Expert Microcontrollers Driver Suite 1. Introduction Processor Expert Microcontrollers
Techniques and Tools for Software Analysis
Techniques and Tools for Software Analysis Freescale Semiconductor Document Number: CODETESTTECHWP Rev. 0 11/2005 Understanding how software development can be optimized through the use of software analysis
Robust Over-the-Air Firmware Updates Using Program Flash Memory Swap on Kinetis Microcontrollers
Freescale Semiconductor Document Number:AN4533 Application Note Robust Over-the-Air Firmware Updates Using Program Flash Memory Swap on Kinetis Microcontrollers by: Maclain Lobdell Automotive, Industrial,
VGA Output using TV-Out Extension Solution i.mx21
Freescale Semiconductor Application Note Document Number: AN3378 Rev. 0, 11/2006 VGA Output using TV-Out Extension Solution i.mx21 by: Tatiana Orofino 1 Abstract Freescale first thought of a TV-Out Extension
Freescale Semiconductor. Integrated Silicon Pressure Sensor. On-Chip Signal Conditioned, Temperature Compensated and Calibrated MPX5500.
Freescale Semiconductor Integrated Silicon Pressure Sensor + On-Chip Signal Conditioned, Temperature Compensated and Calibrated Series Pressure Rev 7, 09/2009 0 to 500 kpa (0 to 72.5 psi) 0.2 to 4.7 V
White Paper. Freescale s Embedded Hypervisor for QorIQ P4 Series Communications Platform
White Paper Freescale s Embedded for QorIQ P4 Series Communications Platform Document Number: EMHYPQIQTP4CPWP Rev 1 10/2008 Overview Freescale Semiconductor s QorIQ communications platform P4 series processors
Genesi Pegasos II Setup
Freescale Semiconductor Application Note AN2666 Rev. 0, 07/2004 Genesi Pegasos II Setup by Maurie Ommerman CPD Applications Freescale Semiconductor, Inc. Austin, TX This application note is the first in
Enhanced Serial Interface Mapping
Freescale Semiconductor Application Note Document Number: AN3536 Rev. 1, 11/2007 Enhanced Serial Interface Mapping 16 E1/T1 QUICC Engine Solution for TDM Connectivity by Netcomm Applications Networking
PetaLinux SDK User Guide. Application Development Guide
PetaLinux SDK User Guide Application Development Guide Notice of Disclaimer The information disclosed to you hereunder (the "Materials") is provided solely for the selection and use of Xilinx products.
How To Fit A 2Mm Exposed Pad To A Dfn Package
EVERSPIN s New 2mm Exposed Pad DFN Package Meets Both SOIC-8 and DFN8 PCB Layouts This Application Note is to inform Everspin customers that a new, DFN8 package with a 2mm bottom exposed pad has been added
Getting Started with the Student Learning Kit Featuring the Freescale HCS12 Microcontroller Application Module
Freescale Semiconductor SLKS12QSG Quick Reference Guide Rev. 0, 2/2008 Getting Started with the Student Learning Kit Featuring the Freescale HCS12 Microcontroller Application Module Freescale Semiconductor,
Efficient Low-Level Software Development for the i.mx Platform
Freescale Semiconductor Application Note Document Number: AN3884 Rev. 0, 07/2009 Efficient Low-Level Software Development for the i.mx Platform by Multimedia Applications Division Freescale Semiconductor,
10 STEPS TO YOUR FIRST QNX PROGRAM. QUICKSTART GUIDE Second Edition
10 STEPS TO YOUR FIRST QNX PROGRAM QUICKSTART GUIDE Second Edition QNX QUICKSTART GUIDE A guide to help you install and configure the QNX Momentics tools and the QNX Neutrino operating system, so you can
QSG105 GETTING STARTED WITH SILICON LABS WIRELESS NETWORKING SOFTWARE
GETTING STARTED WITH SILICON LABS WIRELESS NETWORKING SOFTWARE This quick start guide provides basic information on configuring, building, and installing applications using the Thread, EmberZNet RF4CE,
Yocto Project Eclipse plug-in and Developer Tools Hands-on Lab
Yocto Project Eclipse plug-in and Developer Tools Hands-on Lab Yocto Project Developer Day San Francisco, 2013 Jessica Zhang Introduction Welcome to the Yocto Project Eclipse plug-in
MPC8245/MPC8241 Memory Clock Design Guidelines: Part 1
Freescale Semiconductor AN2164 Rev. 4.1, 03/2007 MPC8245/MPC8241 Memory Clock Design Guidelines: Part 1 by Esther C. Alexander RISC Applications, CPD Freescale Semiconductor, Inc. Austin, TX This application
Ref Parameters Symbol Conditions Min Typ Max Units. Standby 3.5 10 μa. 3 Range 50 115 kpa. 4 Resolution 0.15 kpa. 5 Accuracy -20ºC to 85ºC ±1 kpa
Freescale Semiconductor Miniature I 2 C Digital Barometer The is an absolute pressure sensor with digital output for low cost applications. A miniature 5 x 3 x 1.2 mm LGA package ideally suits it for portable
NOT RECOMMENDED FOR NEW DESIGN
Technical Data RF Power Field Effect Transistor N- Channel Enhancement- Mode Lateral MOSFET Designed for broadband commercial and industrial applications with frequencies up to 00 MHz. The high gain and
Using Program Memory As Data Memory. 1. Introduction. 2. 56800 Program Memory and Data. Contents. Memory. Freescale Semiconductor Application Note
Freescale Semiconductor Application Note AN1952 Rev. 0, 9/2005 Using Program Memory As Data Memory William Jiang 1. Introduction Microcontrollers with Harvard architecture have separate program and data
Getting Started with Kinetis SDK (KSDK)
Freescale Semiconductor, Inc. Document Number: KSDKGSUG User s Guide Rev. 0, 12/2014 Getting Started with Kinetis SDK (KSDK) 1 Overview Kinetis SDK (KSDK) is a Software Development Kit that provides comprehensive
Emulated EEPROM Implementation in Dual Flash Architecture on MC9S08LG32 With Demo Description
Freescale Semiconductor Application Note Document Number: AN3822 Rev. 0, 2/2009 Emulated EEPROM Implementation in Dual Flash Architecture on MC9S08LG32 With Demo Description by: Saurabh Jhamb Reference
VLE 16-bit and 32-bit Instruction Length Decode Algorithm
Freescale Semiconductor Document Number: AN4648 Application Note Rev. 1, 3/2013 VLE 16-bit and 32-bit Instruction Length Decode Algorithm by: Pavel Bohacik 1 Introduction The Qorivva MPC56xx 32-bit microcontroller
SIM900 Eclipse environment install Application Note_V1.00
SIM900 Eclipse environment install Application Note_V1.00 Document Title: Note Version: V1.00 Date: 2011-01-11 Status: Document Control ID: Edit SIM900_Eclipse_environment_install_Application_Note _V1.01
3-Phase BLDC Motor Control with Hall Sensors Using 56800/E Digital Signal Controllers
Freescale Semiconductor Application Note AN1916 Rev. 2.0, 11/2005 3-Phase BLDC Motor Control with Hall Sensors Using 56800/E Digital Signal Controllers Leonard N. Elevich Contents 1. Application Benefits...1
How To Improve Performance On A P4080 Processor
QorIQ Advanced Multiprocessing (AMP) Series Delivers More than Moore Freescale s new QorIQ AMP series pushes the compute and energy performance envelope beyond the P4080 processor such that its performance
Q N X S O F T W A R E D E V E L O P M E N T P L A T F O R M v 6. 4. 10 Steps to Developing a QNX Program Quickstart Guide
Q N X S O F T W A R E D E V E L O P M E N T P L A T F O R M v 6. 4 10 Steps to Developing a QNX Program Quickstart Guide 2008, QNX Software Systems GmbH & Co. KG. A Harman International Company. All rights
32-bit AVR UC3 Microcontrollers. 32-bit AtmelAVR Application Note. AVR32769: How to Compile the standalone AVR32 Software Framework in AVR32 Studio V2
AVR32769: How to Compile the standalone AVR32 Software Framework in AVR32 Studio V2 1. Introduction The purpose of this application note is to show how to compile any of the application and driver examples
Real Time Development of MC Applications using the PC Master Software Visualization Tool. 1. Introduction. 2. Development of Motor Control.
Freescale Semiconductor Application Note AN1948 Rev. 1, 11/2005 Real Time Development of MC Applications using the PC Master Software Visualization Tool The PC Master Software Visualization Tool Simplifies
Code::Block manual. for CS101x course. Department of Computer Science and Engineering Indian Institute of Technology - Bombay Mumbai - 400076.
Code::Block manual for CS101x course Department of Computer Science and Engineering Indian Institute of Technology - Bombay Mumbai - 400076. April 9, 2014 Contents 1 Introduction 1 1.1 Code::Blocks...........................................
Cosmic Board for phycore AM335x System on Module and Carrier Board. Application Development User Manual
Cosmic Board for phycore AM335x System on Module and Carrier Board Application Development User Manual Product No: PCL-051/POB-002 SOM PCB No: 1397.0 CB PCB No: 1396.1 Edition: October,2013 In this manual
NOT RECOMMENDED FOR NEW DESIGN
Technical Data RF Power Field Effect Transistor N-Channel Enhancement-Mode Lateral MOSFET Designed for broadband commercial and industrial applications with frequencies up to 00 MHz. The high gain and
Avoiding Read While Write Errors When Developing In-Software Flash Programming Applications for Kinetis and ColdFire+ MCUs
Freescale Semiconductor Document Number:AN4695 Application Note Rev. 0, 04/2013 Avoiding Read While Write Errors When Developing In-Software Flash Programming Applications for Kinetis and ColdFire+ MCUs
Configuring the FlexTimer for Position and Speed Measurement with an Encoder
Freescale Semiconductor Application Note Document Number: AN4381 Rev. 0, 12/2011 Configuring the FlexTimer for Position and Speed Measurement with an Encoder by: Matus Plachy System Application Engineer,
Floating License Installation Guide for Windows
Floating License Installation Guide for Windows Installation Guide This document is intended to help customers get up and running quickly with Freescale software products licensed with FLEXlm (e.g., CodeWarrior)
CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup
CP2110 EVALUATION KIT USER S GUIDE 1. Kit Contents The CP2110 Evaluation Kit contains the following items: CP2110 Evaluation Board RS232 Serial Cable USB Cable DVD Quick Start Guide 2. Relevant Documentation
Pressure Freescale Semiconductor
Freescale Semiconductor Integrated Silicon Sensor On-Chip Signal Conditioned, Temperature Compensated and Calibrated The series piezoresistive transducer is a state-of-the-art monolithic silicon pressure
Eddy Integrated Development Environment, LemonIDE for Embedded Software System Development
Introduction to -based solution for embedded software development Section 1 Eddy Real-Time, Lemonix Section 2 Eddy Integrated Development Environment, LemonIDE Section 3 Eddy Utility Programs Eddy Integrated
Zynq-7000 Platform Software Development Using the ARM DS-5 Toolchain Authors: Simon George and Prushothaman Palanichamy
Application Note: Zynq-7000 All Programmable Soc XAPP1185 (v2.0) May 6, 2014 Zynq-7000 Platform Software Development Using the ARM DS-5 Toolchain Authors: Simon George and Prushothaman Palanichamy Summary
FLEXlm License Management
FLEXlm License Management Revised: 18 October 2005 Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. CodeWarrior is a trademark or registered trademark of Freescale Semiconductor,
MPR121 Serial Communication
Freescale Semiconductor Document Number: AN3895 Application Note Rev. 2, 02/2013 MPR121 Serial Communication INTRODUCTION The MPR121 uses an I 2 C Serial Interface. The I 2 C protocol implementation and
ZigBee-2.4-DK 2.4 GHZ ZIGBEE DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. Figure 1. 2.4 GHz ZigBee Development Kit
2.4 GHZ ZIGBEE DEVELOPMENT KIT USER S GUIDE 1. Kit Contents The 2.4 GHz ZigBee Development Kit contains the following items, shown in Figure 1. 2.4 GHz 802.15.4/ZigBee Target Boards (6) Antennas (6) 9
SheevaPlug Development Kit README Rev. 1.2
SheevaPlug Development Kit README Rev. 1.2 Introduction... 3 Flow to use the Software Development Kit packages... 3 Appendix A... 5 GCC cross-compiler... 5 Appendix B... 6 Mini-USB debug driver installation
Using the High Input Voltage Charger for Single Cell Li-Ion Batteries (KIT34671EPEVBE)
Freescale Semiconductor User s Guide Document Number: KT3467UG Rev..0, 3/008 Using the High Input Voltage Charger for Single Cell Li-Ion Batteries (KIT3467EPEVBE) Purpose This User Guide helps the Lithium-Ion
Understanding Pressure and Pressure Measurement
Freescale Semiconductor Application Note Rev 1, 05/2005 Understanding Pressure and Pressure Measurement by: David Heeley Sensor Products Division, Phoenix, Arizona INTRODUCTION Fluid systems, pressure
STLinux Software development environment
STLinux Software development environment Development environment The STLinux Development Environment is a comprehensive set of tools and packages for developing Linux-based applications on ST s consumer
Implementing Positioning Algorithms Using Accelerometers
Freescale Semiconductor Application Note Rev 0, 02/2007 Implementing Positioning Algorithms Using Accelerometers by: Kurt Seifert and Oscar Camacho OVERVIEW This document describes and implements a positioning
Freescale Variable Key Security Protocol Transmitter User s Guide by: Ioseph Martínez and Christian Michel Applications Engineering - RTAC Americas
Freescale Semiconductor User s Guide VKSPTXUG Rev. 0, 06/2008 Freescale Variable Key Security Protocol Transmitter User s Guide by: Ioseph Martínez and Christian Michel Applications Engineering - RTAC
Moxa Device Manager 2.3 User s Manual
User s Manual Third Edition, March 2011 www.moxa.com/product 2011 Moxa Inc. All rights reserved. User s Manual The software described in this manual is furnished under a license agreement and may be used
Quickly Turning Ideas into Microcontroller-Based Applications with CodeWarrior Development Tools and UNIS Processor Expert
Quickly Turning Ideas into Microcontroller-Based Applications with CodeWarrior Development Tools and UNIS Processor Expert Author, Chris Joffrain, Product Manager Document Number: PROCESSXPERTWP Rev. 0
AN220 USB DRIVER CUSTOMIZATION
USB DRIVER CUSTOMIZATION Relevant Devices This application note applies to the following devices: CP2101/2/3/4/5/8, C8051F320/1/6/7, C8051F340/1/2/3/4/5/6/7/8/9/A/B/C/D, C8051F380/1/2/3/4/5/6/7, C8051T320/1/2/3/6/7,
IBM VisualAge for Java,Version3.5. Remote Access to Tool API
IBM VisualAge for Java,Version3.5 Remote Access to Tool API Note! Before using this information and the product it supports, be sure to read the general information under Notices. Edition notice This edition
