Windows 7: Using USB TAP on a Classic CodeWarrior Installation (MGT V9.2 DSC V8.3)



Similar documents
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

Connecting Low-Cost External Electrodes to MED-EKG

Installation of the MMA955xL CodeWarrior Service Pack Author: Fengyi Li Application Engineer

Using WinUSB in a Visual Studio Project with Freescale USB device controller

IRTC Compensation and 1 Hz Clock Generation

Connecting to an SMTP Server Using the Freescale NanoSSL Client

Generate Makefiles from Command Line Support in Eclipse-Based CodeWarrior Software

Hardware Configurations for the i.mx Family USB Modules

How To Control A Motor Control On An Hvac Platform

Software Real Time Clock Implementation on MC9S08LG32

Cyclic Redundant Checker Calculation on Power Architecture Technology and Comparison of Big-Endian Versus Little-Endian

etpu Host Interface by:

Freescale Embedded GUI Converter Utility 2.0 Quick User Guide

Local Interconnect Network (LIN) Physical Interface

MC13783 Buck and Boost Inductor Sizing

Handling Freescale Pressure Sensors

Flexible Active Shutter Control Interface using the MC1323x

How to Convert 3-Axis Directions and Swap X-Y Axis of Accelerometer Data within Android Driver by: Gang Chen Field Applications Engineer

Point-of-Sale (POS) Users Guide Lech José Olmedo Guerrero Jaime Herrerro Gallardo RTAC Americas

Initializing the TSEC Controller

Blood Pressure Monitor Using Flexis QE128 Gabriel Sanchez RTAC Americas

Using the Performance Monitor Unit on the e200z760n3 Power Architecture Core

Performance Monitor on PowerQUICC II Pro Processors

Programming Audio Applications in the i.mx21 MC9328MX21

Freescale Semiconductor. Integrated Silicon Pressure Sensor. On-Chip Signal Conditioned, Temperature Compensated and Calibrated MPX4080D.

Improving Embedded Software Test Effectiveness in Automotive Applications

USB HID bootloader for the MC9S08JM60

Developing an Application for the i.mx Devices on the Linux Platform

Installing Service Pack Updater Archive for CodeWarrior Tools (Windows and Linux) Quick Start

Understanding LCD Memory and Bus Bandwidth Requirements ColdFire, LCD, and Crossbar Switch

MCF54418 NAND Flash Controller

PowerQUICC II Pro (MPC83xx) PCI Agent Initialization

User Interface Design using CGI Programming and Boa Web Server on M5249C3 Board

Processor Expert Software Microcontrollers Driver Suite Getting Started Guide

MLPPP in the Evolving Radio Access Network

Using eflexpwm Module for ADC Synchronization in MC56F82xx and MC56F84xx Family of Digital Signal Controllers

Data Movement Between Big-Endian and Little-Endian Devices

MSC8156 and MSC8157 PCI Express Performance

Installing Service Pack Updater Archive for CodeWarrior Tools (Windows and Linux) Quick Start

How To Measure Power Of A Permanent Magnet Synchronous Motor

VGA Output using TV-Out Extension Solution i.mx21

CodeWarrior Development Studio for Freescale S12(X) Microcontrollers Quick Start

Detecting a CPM Overload on the PowerQUICC II

Freescale Semiconductor. Integrated Silicon Pressure Sensor. On-Chip Signal Conditioned, Temperature Compensated and Calibrated MPX5500.

Using the Kinetis Security and Flash Protection Features

How To Fit A 2Mm Exposed Pad To A Dfn Package

NOT RECOMMENDED FOR NEW DESIGN

Adding SDIO Wi-Fi Solution to i.mx Windows CE 5.0/Windows CE 6.0

i.mx28 Ethernet Performance on Linux

CodeWarrior Development Studio Floating Licensing Quick Start

MPC8245/MPC8241 Memory Clock Design Guidelines: Part 1

Robust Over-the-Air Firmware Updates Using Program Flash Memory Swap on Kinetis Microcontrollers

Techniques and Tools for Software Analysis

Ref Parameters Symbol Conditions Min Typ Max Units. Standby μa. 3 Range kpa. 4 Resolution 0.15 kpa. 5 Accuracy -20ºC to 85ºC ±1 kpa

VLE 16-bit and 32-bit Instruction Length Decode Algorithm

3-Phase BLDC Motor Control with Hall Sensors Using 56800/E Digital Signal Controllers

PQ-MDS-T1 Module. HW Getting Started Guide. Contents. About This Document. Required Reading. Definitions, Acronyms, and Abbreviations

NOT RECOMMENDED FOR NEW DESIGN

Understanding Pressure and Pressure Measurement

Using Program Memory As Data Memory. 1. Introduction Program Memory and Data. Contents. Memory. Freescale Semiconductor Application Note

Configuring the FlexTimer for Position and Speed Measurement with an Encoder

Enhanced Serial Interface Mapping

Emulated EEPROM Implementation in Dual Flash Architecture on MC9S08LG32 With Demo Description

Efficient Low-Level Software Development for the i.mx Platform

Pressure Freescale Semiconductor

Implementing Positioning Algorithms Using Accelerometers

RF Power Field Effect Transistors N- Channel Enhancement- Mode Lateral MOSFETs

White Paper. Freescale s Embedded Hypervisor for QorIQ P4 Series Communications Platform

Avoiding Read While Write Errors When Developing In-Software Flash Programming Applications for Kinetis and ColdFire+ MCUs

Real Time Development of MC Applications using the PC Master Software Visualization Tool. 1. Introduction. 2. Development of Motor Control.

USB to SPI Device Driver Installation Instructions

Getting Started with the Student Learning Kit Featuring the Freescale HCS12 Microcontroller Application Module

NOT RECOMMENDED FOR NEW DESIGN

How To Improve Performance On A P4080 Processor

ColdFire Security SEC and Hardware Encryption Acceleration Overview

Freescale Variable Key Security Protocol Transmitter User s Guide by: Ioseph Martínez and Christian Michel Applications Engineering - RTAC Americas

Using XGATE to Implement LIN Communication on HCS12X Daniel Malik 8/16-Bit Products Division East Kilbride, Scotland

3-Phase BLDC Motor Control with Hall Sensors Using the MC56F8013

Building and Debugging a project using Keil MDK-ARM Eclipse plug-in

Genesi Pegasos II Setup

Using the High Input Voltage Charger for Single Cell Li-Ion Batteries (KIT34671EPEVBE)

Freescale Semiconductor. Integrated Silicon Pressure Sensor

Motion and Freefall Detection Using the MMA8451, 2, 3Q

MPXAZ6115A MPXHZ6115A SERIES. Freescale Semiconductor Technical Data. MPXAZ6115A Rev 4, 01/2007

Using the HC08 SCI Module

ITU-T V.42bis Data Dictionary Search on the StarCore SC140/SC1400 Cores

AND8365/D. 125 kbps with AMIS-4168x APPLICATION NOTE

AND9190/D. Vertical Timing Optimization for Interline CCD Image Sensors APPLICATION NOTE

KIT34845EPEVME Evaluation Board

ZigBee-2.4-DK 2.4 GHZ ZIGBEE DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. Figure GHz ZigBee Development Kit

Comparison of MC9S08QE128 and MCF51QE128 Microcontrollers Scott Pape and Eduardo Montanez Systems Engineering, Freescale Microcontroller Division

User Guide. Introduction. HCS12PLLCALUG/D Rev. 0, 12/2002. HCS12 PLL Component Calculator

LOW POWER SCHOTTKY. GUARANTEED OPERATING RANGES ORDERING INFORMATION

USB Mass Storage Device Host Bootloader

RF Power Field Effect Transistors N--Channel Enhancement--Mode Lateral MOSFETs

i.mx Applications Processors with Hantro's Multimedia Framework

USB FM Radio-RD USB FM RADIO USER S GUIDE. 1. USB FM Radio Setup. One-time set-up enables configuration of presets and region specific FM band

Frequency Analysis in the Industrial Market Using Accelerometer Sensors

Transcription:

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 Support Freescale Semiconductor, Inc. Austin, TX Certain classic CodeWarrior tools do not support the USB TAP run control interface when the host computer is running the Windows 7 64-bit operating system. This application note explains how to configure the USB TAP run control interface on Windows 7 64-bit for those using CodeWarrior development tools based on the Classic IDE rather than the Eclipse IDE. This workaround was tested on Windows 7 64- bit for CodeWarrior DSC V8.3 and CodeWarrior for MobileGT V9.2. The archive AN4338SW.zip is required to complete the configuration. Contents 1 Description of the Problem... 2 2 How to Install the New CCS... 2 3 Test the Connection... 6 4 Revision History... 7 2011 Freescale Semiconductor, Inc.

1 Description of the Problem Communications between the CodeWarrior debugger and the target board are handled by a command converter server (CCS) software module. When a CodeWarrior project starts a debug session, the IDE automatically launches the CCS module to establish communications between the debugger on the host computer and the target board. As its name implies, the CCS then manages debugger command and response transactions between the debugger and the target hardware. An icon in the Windows status bar indicates that the CCS is running (Figure 1). Figure 1. The Status Bar icon that appears when CCS is active. Unfortunately, the Classic CodeWarrior IDE and ancillary tools such as the CCS were designed for Windows XP/Windows Vista 32-bit only and do not support Windows 7. NOTE The Eclipse-based CodeWarrior tools support Windows 7 32-bit and Windows 7 64-bit. The CCS installed with these versions includes the latest Windows 7-compatible drivers and therefore supports the USB TAP properly. This application note explains how to substitute a Windows 7-compatible CCS into either the CodeWarrior for DSC56800E v8.3 or the CodeWarrior for MobileGT V9.2 installations. 2 How to Install the New CCS At a high level the process is simple. You install the CodeWarrior tools, and then replace the CCS executable with a Windows-7 compatible version. This process is described in the sections that follow. 2.1 Install CodeWarrior for DSC56800E v8.3 and/or CodeWarrior for MobileGT V9.2 The official release versions of these CodeWarrior tools must be installed. 2.1.1 DSC v8.3 Installation If you are only working with the Mobile GT V9.2 tools, skip to Section 2.1.2 1. Install the CodeWarrior tools on a Windows 7 64-bit system. At the end of installation, three or four error messages appear regarding a problem installing the USB drivers. Ignore these errors. 2. Launch the CodeWarrior IDE, create a project, and build it. The project should build without errors. 2 Freescale Semiconductor

3. Launch the debugger. A USB Open Failure error message appears. 4. Open the CCS tool by right-clicking on its icon in the status bar. A CCS console window appears (Figure 2). 5. Enter the command: show CC Figure 2. The CCS console window. The message USB Open failure appears in the console window. 2.1.2 MobileGT v9.2 Installation If you are only working with the DSC V8.3 tools, go to Section 2.2. 1. Install the CodeWarrior tools on a Windows 7 64-bit system. 2. Try to install the MPC5125 patch. A patch not installed error message appears. 3. Restart the computer. 4. Launch the MPC5125 patch again. The patch installs successfully. 5. Launch the CodeWarrior debugger. A USB Open Failure error message appears. 2.2 Manually Install the Windows 7-Compatible CCS Now that you have installed the tools and followed the directions in Section 2.1, you have learned that either CodeWarrior development tool can build an application, but cannot use the USB TAP under Windows 7 64-bit to debug the application. Freescale Semiconductor 3

In this step you correct that problem. 1. Go to the CodeWarrior installation folder and rename the ccs folder to ccs_old. 2. Unzip the app note software archive AN4338SW.zip. The archive ccs_bld326_win.zip appears. 3. Unzip the archive ccs_bld326_win.zip. The folder ccs appears. 4. Copy this folder into the CodeWarrior installation folder. It replaces the original ccs folder. 5. Plug in the USB TAP. A Windows error message appears, stating that the driver is not installed. It must be installed manually. 6. Unplug the USB TAP. 7. Go into the \ccs\drivers\usb folder and execute the setup.bat file to install the driver. 8. The driver installation is launched (Figure 3). 9. Click on Next to start the installation. Figure 3. The Device Driver installer. 4 Freescale Semiconductor

The installer runs and completes (Figure 4). Click Finish. Figure 4. The Device Installer after a successful driver installation. 10. The first time the USB TAP is plugged in, a Windows message appears: CodeWarrior USBTap driver installed. 11. Check to see if the computer recognizes the USB TAP. Open the Device Manager. CodeWarrior USB TAP must appear under LibUSB-Win32 Devices as shown in Figure 5. Freescale Semiconductor 5

Figure 5. The CodeWarrior USB driver, as recognized by Windows 7. A Readme.txt file gives some information about the driver installation. The file is located at \ccs\drivers\usb\readme.txt. 3 Test the Connection 3.1 DSC V8.3 If you are only working with the Mobile GT V9.2 tools, skip to Section 3.2. 1. Plug in the USB TAP. The USB TAP is recognized. If it is not, it is possible that the IDE does not recognize the new ccs folder. It might be necessary move to the contents of the new css folder into the CCS_old folder and rename it to css. 2. Launch the CodeWarrior IDE. 3. Start the debugger. 4. The test application should download to the board and execute under debugger control. 6 Freescale Semiconductor

3.2 MGT v9.2 If you are only working with the DSC V8.3 tools, you are done. Otherwise, 1. Plug in the USB TAP. The USB TAP is recognized. If it is not, it is possible that the IDE does not recognize and use the new ccs folder. It might be necessary move to the contents of the new ccs folder into the CCS_old folder and rename it to ccs. 2. Launch the CodeWarrior IDE. 3. Start the debugger. 4. The test application should download to the board and execute under debugger control. 4 Revision History Table 1 provides a revision history for this application note. Table 1. Revision History Rev. Number Date Substantive Change 0 9/13/2011 Initial creation 1.0 12/6/2011 Edited for release Freescale Semiconductor 7

How to Reach Us: Home Page: www.freescale.com Web Support: http://www.freescale.com/support USA/Europe or Locations Not Listed: Freescale Semiconductor Technical Information Center, EL516 2100 East Elliot Road Tempe, Arizona 85284 +1-800-521-6274 or +1-480-768-2130 www.freescale.com/support Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) www.freescale.com/support Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku, Tokyo 153-0064, Japan 0120 191014 or +81 3 5437 9125 support.japan@freescale.com 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 that 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 and CodeWarrior, are trademarks of Freescale Semiconductor, Inc. Reg. U.S. Pat. & Tm. Off. All other product or service names are the property of their respective owners. 2011 Freescale Semiconductor, Inc. Asia/Pacific: Freescale Semiconductor China Ltd. Exchange Building 23F No. 118 Jianguo Road Chaoyang District Beijing 100022 China +86 010 5879 8000 support.asia@freescale.com For Literature Requests Only: Freescale Semiconductor Literature Distribution Center 1-800-441-2447 or 303-675-2140 Fax: 303-675-2150 LDCForFreescaleSemiconductor@hibbertgroup.com Document Number: AN4338 Rev:1.0 Date: 12/2011