ICE User Guide
Total Page:16
File Type:pdf, Size:1020Kb
ICE User Guide Document # 38-12005 Rev. *D Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.943.2600 http://www.cypress.com Copyrights Copyrights Copyright © 2005 Cypress Semiconductor Corporation. All rights reserved. “Programmable System-on-Chip,” PSoC, PSoC Designer, and PSoC Express are trademarks of Cypress Semiconductor Corporation (Cypress), along with Cypress® and Cypress Semiconductor™. All other trademarks or registered trademarks referenced herein are the property of their respective owners. The information in this document is subject to change without notice and should not be construed as a commitment by Cypress. While reasonable precautions have been taken, Cypress assumes no responsibility for any errors that may appear in this document. No part of this document may be copied or reproduced in any form or by any means without the prior written consent of Cypress. Made in the U.S.A. Disclaimer CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PAR- TICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials described herein. Cypress does not assume any liability arising out of the application or use of any product or circuit described herein. Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may rea- sonably be expected to result in significant injury to the user. The inclusion of Cypress’ product in a life-support systems appli- cation implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges. 2 ICE User Guide, Document # 38-12005 Rev. *D Contents 1. Introduction 5 1.1 Support ....................................................................................................................5 1.1.1 Product Upgrades ....................................................................................5 1.2 Conventions.............................................................................................................6 1.3 Acronyms .................................................................................................................6 2. Connecting to the ICE 7 2.1 Software Requirements ...........................................................................................7 2.2 Connecting the ICE Cube ........................................................................................7 2.2.1 Connect Using a USB Port.......................................................................8 2.3 Connecting the ICE-4000.........................................................................................8 2.3.1 Connect Using a Parallel Port ..................................................................8 2.3.2 Using the USB Adapter to Connect to a USB Port...................................9 2.4 Configuring the Software .......................................................................................10 3. Troubleshooting 11 3.1 Windows Errors......................................................................................................11 3.1.1 Cannot install this hardware ..................................................................11 3.2 ICE Error Messages..............................................................................................11 3.2.1 Could not configure ICE .........................................................................11 3.2.2 Parallel port hardware read data errors .................................................12 3.2.3 Could not read from parallel port............................................................12 3.2.4 Could not detect pod ..............................................................................12 3.2.5 This project is incompatible with the Pod/Chip.......................................12 3.2.6 Invalid memory reference ......................................................................12 3.2.7 The selected ICE port cannot be found..................................................12 3.2.8 Could not configure ICE .........................................................................12 3.2.9 An ICE port is enumerating. Please try again. .......................................13 3.2.10 USB Hub Power Exceeded ....................................................................13 3.3 LPT Port Driver Error .............................................................................................13 3.4 Specific Computer Errors.......................................................................................14 3.4.1 Gateway Solo 9500 ................................................................................14 3.4.2 Sony Vaio PCG-XG29 ............................................................................14 4. Accessing the Computer BIOS 15 4.1 Changing Parallel Port Mode .................................................................................15 5. Alternate Parallel Port Cards 17 5.1 Selecting an Alternate Parallel Port .......................................................................17 Revision History 19 ICE User Guide, Document # 38-12005 Rev. *D 3 Contents 4 ICE User Guide, Document # 38-12005 Rev. *D 1. Introduction Use this guide to install and troubleshoot connection problems with the ICE Cube and ICE-4000 In- Circuit Emulator (ICE). Both PSoC ICE units provide significant debugging functionality that requires full two-way communication between the ICE and your computer to operate. There are several steps in the connection process, including both setting up the hardware and making the communications connection in the software. Making the software connection on your computer may require changes in the BIOS settings. PSoC Designer v. 4.1 or later supports the USB Adapter The USB Adapter allows the standard parallel port ICE-4000 to connect to a USB 1.1 or newer port as an alternative to the current parallel port method. Instructions for using the USB Adapter are included in this guide. PSoC Designer v. 4.2 supports the ICE Cube The ICE Cube provides enhanced debugging capability and supports USB 1.1 or newer. Instructions for connecting the ICE Cube to a computer are included in this guide. 1.1 Support Free technical support for PSoC Designer is available online at www.cypress.com. Resources include Training Seminars, Discussion Forums, Application Notes, PSoC Consultants, TightLink Technical Support Email/Knowledge Base, and Application Support Technicians. Technical Support may also be contacted by phone at 1-800-541-4736. Before using Cypress support services, know the version of PSoC Designer installed on your sys- tem. To determine the version, build, or service pack, click Help > About PSoC Designer. 1.1.1 Product Upgrades Cypress provides scheduled upgrades and version enhancements for PSoC software free of charge. You can order upgrades from your distributor on CD-ROM or download them directly from www.cypress.com under Software and Drivers. Critical updates to system documentation are also available on the Cypress web site. ICE User Guide, Document # 38-12005 Rev. *D 5 Introduction 1.2 Conventions The following table lists the document conventions used throughout this user guide. Table 1-1. Documentation Conventions Convention Usage Displays file locations, user entered text, and source code: Courier New C:\ ...cd\icc\ Displays file names and reference documentation: Italics Read about the sourcefile.hex file in the PSoC Designer User Guide. Displays keyboard commands in procedures: [Bracketed, Bold] [Enter] or [Ctrl] [C] Represents menu paths: File > Open File > Open > New Project Displays commands, menu paths, and icon names in procedures: Bold Click the File icon and then click Open. Text in gray boxes Presents cautions or unique functionality of the product. 1.3 Acronyms The following acronyms are used throughout this user guide. Table 1-2. Acronyms Acronym Description BIOS basic input output system. CAT5 category 5 cable ECP extended capabilities port EPP enhanced parallel port HAL hardware abstraction layer ICE in-circuit emulator IDE integrated development environment LPT line printer terminal (parallel port) OHCI open host connection interface UHCI universal host connection interface USB universal serial bus 6 ICE User Guide, Document # 38-12005 Rev. *D 2. Connecting to the ICE Physically connecting the ICE Cube or ICE-4000 to a Windows compatible computer requires a few procedures and software configuration. 2.1 Software Requirements PSoC Designer 4.1 or later; or PSoC Programmer 1.22 or later, are required to use the ICE Cube or ICE-4000 development hardware. The most current version of either program is available for down- load on the Cypress web site at www.cypress.com or on CD-ROM from your distributor. Install the software prior to physically connecting the hardware to your computer. Refer to the installed software to determine system requirements. 2.2 Connecting the ICE Cube PSoC Designer v. 4.2 supports the ICE Cube. This new in-circuit emulator replaces the ICE-4000 and the USB Adapter for seamless USB connection, debugging, and programming. Figure 2-1. The ICE Cube The ICE Cube is required for CY8C29x66 support. ICE User Guide, Document # 38-12005 Rev. *D 7 Connecting to the ICE 2.2.1 Connect Using a USB Port The ICE Cube connects to any computer using a standard USB 2.0 cable, included