P&E Microcomputer Systems, Inc. P.O. Box 2044, Woburn, MA 01888, USA

Similar documents
P&E Microcomputer Systems, Inc. P.O. Box 2044, Woburn, MA 01888, USA

P&E Microcomputer Systems, Inc. P.O. Box 2044, Woburn, MA 01888, USA

Purchase Agreement. P&E Microcomputer Systems, Inc. 98 Galen St. Watertown, MA

Note that FLIP is an Atmel program supplied by Crossware with Atmel s permission.

Getting Started with the Microcontroller Student Learning Kit (MCUSLK) Using the MC9S12C32 MCU Application Module (CSM-12C32)

Applications Engineering!"!"

Quick-Start Guide. BNS Solutions. QSK62P Plus

ICD Module (P/N ) Instruction Manual

Purchase Agreement. P&E Microcomputer Systems, Inc. 98 Galen St. Watertown, MA

Purchase Agreement. P&E Microcomputer Systems, Inc. P.O. Box 2044 Woburn, MA Manual version 1.

R8C/Tiny. StarterKit Plus SKP8CMINI-15, SKP8CMINI-17. Clock Stop Detect

indart -HCS08 In-Circuit Debugger/Programmer for Freescale HCS08 Family FLASH Devices User s Manual Rev. 2.0

S3 Flash In-System Programmer

M16C APPLICATION NOTE. Target Setup for the In-Circuit Debugger. 1.0 Abstract. 2.0 Introduction

1. ONCE Module 2. EBDI. Application Note. AN2327/D Rev. 0, 9/2002. M Core EBDI Interface Application Note

M16C/62P QSK QSK62P Plus Tutorial 1. Software Development Process using HEW4

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

MF9300. Software setup guide

JTAG debug interface for CodeWarrior Debugger. PowerPC 7440/7450. User Manual. Manual Version 1.02 for BDI ABATRON AG

EVBQE128. Evaluation Board for Freescale Flexis QE128. User s Manual

Purchase Agreement. P&E Microcomputer Systems, Inc. P.O. Box 2044 Woburn, MA Manual version 1.

Purchase Agreement. P&E Microcomputer Systems, Inc. 98 Galen St. Watertown, MA

Installing and using CW 10.x for TPMS applications. Revision 5

indart -HC08 In-Circuit Debugger/Programmer for Freescale HC08 Family FLASH Devices User s Manual Rev. 2.0 Copyright 2006 SofTec Microsystems DC01027

ZAP Cross Debuggers for Motorola Microcontrollers

In-Circuit Emulator. UNetICE for ARM

Z8 Encore! XP/Z8 Encore! Development Kits

Keil TM MDK-ARM Quick Start for. Holtek s HT32 Series Microcontrollers

RTE for WIN32. Installation Manual (Rev.7.0) Midas lab

Updating Reader Firmware

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

EVB9S08DZ60. Demonstration Board for Freescale MC9S08DZ60. User s Manual

SKP16C26 Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

Figure 26 CC Debugger Interface

P&E Microcomputer Systems, Inc. 98 Galen St. Watertown, MA Manual version 1.10

PK-HCS12C32 Starter Kit for Motorola MC9S12C32 User s Manual

_ V1.1. EVB-5566 Evaluation & Development Kit for Freescale PowerPC MPC5566 Microcontroller. User s Manual. Ordering code

ToolStick-EK TOOLSTICK USER S GUIDE. 1. Kit Contents. 2. ToolStick Overview. Green and Red LEDs. C8051F321 provides USB debug interface.

EPM900 - Overview. Features. Technical Data

Apex-ICE Universal Emulator Hardware and Software Installation Guide

M CORE 14-PIN ENHANCED BACKGROUND DEBUG INTERFACE (14EBDI) USER S MANUAL

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Getting Started with STK200 Dragon

Purchase Agreement P&E Microcomputer Systems, Inc.

ZCRMZNICE01ZEMG Crimzon In-Circuit Emulator

Purchase Agreement. P&E Microcomputer Systems, Inc. 98 Galen St. Watertown, MA Manual version 1.

SOFTWARE SETUP GUIDE DIGITAL MULTIFUNCTIONAL SYSTEM

Emulation for Motorola CPU32

S1C33 Family In-Circuit Debugger S5U1C33001H1400

HCS12 BDM Getting Started V4.3

GammaTron USB Module

Admin Guide. LabelShop 8

bdiaccess Installation Manual MPC85xx/P10xx/P20xx JTAG interface library by Abatron AG Manual Version 1.01 for BDI3000

Legacy Debug Adapters

Purchase Agreement. P&E Microcomputer Systems, Inc. P.O. Box 2044 Woburn, MA Manual version 1.

LAB #1: The CSM12C32 Module and PBMCUSLK Project Board

DLP-FLASH USB-Based FLASH Programmer

Purchase Agreement. P&E Microcomputer Systems, Inc. 98 Galen St. Watertown, MA Manual version 1.

QB-Programmer. Preliminary User s Manual. Programming GUI Operation CUSTOMER NOTIFICATION. ZUD-CD (1/44) March 6, 2006

Evaluation & Development Kit for Freescale PowerPC MPC5517 Microcontroller

bdiaccess Installation Manual CPU32 BDM interface library ABATRON AG Manual Version 1.17 for BDI2000

IAR EWARM Quick Start for. Holtek s HT32 Series Microcontrollers

MICROGATE SERIAL COMMUNICATIONS RUN TIME KIT WINDOWS GUIDE

DEMO9S08SH32/SG32 Demonstration Board for Freescale MC9S08SH32/SG32

CMS-8GP32. A Motorola MC68HC908GP32 Microcontroller Board. xiom anufacturing

HUMAC2015 Software Installation Instructions

Software Installation Guide for S32 Design Studio IDE (S32DS): FRDM-KEAZ128Q80 FRDM-KEAZ64Q64 FRDM-KEAZN32Q64

P&E Microcomputer Systems, Inc. PKGPPCNEXUS

USB-to-I2C. Professional Hardware User s Manual.

BCOM-USB Device. User Manual.

TDS510USB-C2K Emulator Installation Guide

USB-to-I2C. Ultra Hardware User s Manual.

These notes describe how to use the USB configuration program to program the EEPOM for operation as an N2PK VNA USB interface.

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

PSIM Tutorial. How to Use SCI for Real-Time Monitoring in F2833x Target. February Powersim Inc.

A pplications Engineering. Powerful Processors Easy to Use. SKP8CMini-13. User's M anual. Rev. 1.0 October w w w.renesas.com

E8a Emulator Additional Document for User's Manual R0E00008AKCE00EP9

ADSP-218x Family EZ-ICE Hardware Installation Guide

_ V1.1. Motorola 6809 B POD rev. C. POD Hardware Reference

A pplications Engineering. Powerful Processors Easy to Use SKP16C26. User's M anual. Rev. 1.0 December w w w.renesas.com

CEIBO FE-W7 Development System

USB-to-I2C Basic. Hardware User s Manual.

MAXQ USB-to-JTAG EV Kit

External Headers. USB Host User LEDs. User Switches. E1 Header (Unfitted)

SMiRF v1 Serial Miniature RF Link 8/25/2004

YourBell INEXPENSIVE, RELIABLE USB PRODUCTS.

Ethernet Smart Cable

Contents About This Guide Audience Revision History

CEIBO FE-51RD2 Development System

Win-I2CUSB Hardware User s Manual

MeshConnect ISP / WNA (ZIC2410USB-WNA-1) User Guide

User Manual. LPC-StickView V3.0. for LPC-Stick (LPC2468) LPC2478-Stick LPC3250-Stick. Contents

EB-51 Low-Cost Emulator

Evaluation Board User Guide UG-604

EMUL51XA PC. User Guide. Edition 1. ICE Technology - All rights reserved worldwide.

Troubleshooting No Drive Icon of DVD CAM Appears on PC

Introduction to Microcontrollers

E8a Emulator Additional Document for User's Manual R0E00008AKCE00EP2

Transcription:

P&E Microcomputer Systems, Inc. P.O. Box 2044, Woburn, MA 01888, USA TEL: (617) 353-9206 FAX: (617) 353-9205 http://www.pemicro.com USB-ML-PPCBDM, PowerPC BDM Multilink Rev A Technical Summary Document # PE3335, Version 1.0 1. Introduction 2. Usage of the PowerPC BDM Multilink Interface 3. Driver Installation on Windows XP/2000 4. Computers running Windows 95, 98, ME, and NT 5. Using a USB Hub 6. Connecting to the target 7. Startup Reset Sequence 8. Interface Libraries 9. Firmware Updates 1.0 Introduction P&E s USB POWERPC BDM MULTILINK Interface provides access to the Background Debug Mode (BDM) on Motorola PowerPC MPC5xx/8xx processors. It is the hardware interface between a USB port on a Windows 2000 or XP machine and the standard 10 pin Berg debug connector on the target. By using the USB PowerPC BDM Multilink, the user can take advantage of the background debug mode to halt normal processor execution and use a PC to control the processor. The user can then directly control the target s execution, read/write registers and memory values, debug code on the processor, and program internal or external FLASH memory devices with the appropriate software packages. The pinouts of the connector as specified by Motorola are: *P&E does not use the VFLS0 and VFLS1 pins and these do not need to be connected to the header.

2.0 Usage of the USB PowerPC BDM Multilink Interface The USB POWERPC BDM MULTILINK can communicate with a PowerPC 5xx/8xx processor. The Multilink interface will work with targets whose processor power supply is in the range of 1.8V to 5.25V. The Multilink interface derives its power from the USB port and as such draws less than 10mA from the target. The USB PowerPC BDM Multilink has a female type B USB connector. Use a Type A to Type B USB extension cable to connect the interface to the PC. The USB PowerPC BDM Multilink is a high power USB device. If a USB HUB is used, it must be a self powered hub (i.e. with a power supply). By default, the USB protocol used is 1.1. There are two LEDs which protrude through the housing of the USB PowerPC BDM Multilink interface. The Blue LED indicates that the Multilink interface is powered and running. The Yellow LED indicates that target power has been detected. The 10-pin ribbon cable, which allows connection to the target debug connector, is fixed within the Multilink housing. The pin 1 is denoted by the red stripe running down the ribbon cable.

3.0 Driver Installation on Windows XP/2000 Before connecting the USB PowerPC BDM Multilink to the PC, the appropriate drivers need to be installed on the PC. The drivers are automatically installed when installing any of P&E s PowerPC 5xx/8xx development packages built after August 1, 2004. A copy of the driver installation program may also be downloaded from the downloads section of P&E s Support Center located at http://www.pemicro.com. P&E installs the following USB drivers/files on your system: PEUSBFTDUN.EXE ---> [Windows\System] PEUSBV1.DLL ---> [Windows\System] PEUSBV1.SYS ---> [Windows\System]\Drivers PEMICRO_USBCABLE_AUTO.INF ---> [Windows]\inf Note: In general [Windows\System] = \WINNT\SYSTEM32 for XP,2000 When the USB PowerPC BDM Multilink is detected, the operating system will automatically scan all the.inf files in the [Windows]\inf directory to try and find a match for the detected hardware. The operating system should then indicate that it has found a driver for the attached P&E USB Device. Follow the instructions in the Found New Hardware Wizard dialog for having windows automatically install the driver. If you connected the Multilink interface prior to installing the drivers, Windows will not have been able to find the appropriate driver and may have disabled the device. If you unplug and re-plug in the device, Windows will automatically disable it even if you have installed the drivers. To force windows to try and load the driver again, perform the following steps while the USB PowerPC BDM Multilink interface is plugged into the computer: 1.) Open the Control Panel (Start Button->Settings->Control Panel) 2.) Double Click the System Icon 3.) Select the Hardware tab 4.) Click the Device Manager Button 5.) The P&E PowerPC BDM Multilink device will be shown with an exclamation mark next to it. Double click this device. 6.) Click the Reinstall Driver button and follow the dialog instructions for having windows automatically install the driver. If you have purchased one of P&E s software development packages prior to July 1, 2003, contact P&E to obtain the latest version which supports the USB PowerPC BDM Multilink interface (support for the cable is separate from the Windows USB drivers). If you are using third party software, make sure you have a version which supports the USB PowerPC BDM Multilink interface. 4.0 Computers running Windows 95, 98, ME, and NT The USB PowerPC BDM Multilink is not supported under Windows 95 and Windows NT. The USB PowerPC BDM Multilink is not tested under Windows 98 and Windows ME, although drivers for these operating system are included in the install. For these operating systems, P&E produces the Parallel Port CABLECFLV which connects the parallel port on the PC to the 26-pin debug connector on the target. For more information, visit http://www.pemicro.com.

5.0 Using a USB Hub The USB PowerPC BDM Multilink is classified as a high power USB device which is powered from the USB bus. A high power device requires that if a USB hub is used, it must be a self powered hub. This means that it has a separate power supply from which it derivers it s operating power (as opposed to deriving its power from the PC). It must be able to supply 500mA per port (a high power USB device may derive up to 500mA from the port). P&E has made a powered hub available as an accessory which has been tested with the USB PowerPC BDM Multilink. Details may be found at http://www.pemicro.com. 6.0 Connecting to the target The following is the proper connection sequence to connect the PC to the target system via the USB PowerPC BDM Multilink interface: 1) Make sure the target power is OFF and the USB PowerPC BDM Multilink is not connected to either the target or the PC 2) Connect the Multilink to the target via its ribbon cable. Make sure that the ribbon cable is plugged into the target with the proper orientation. The pin 1 is denoted by the red stripe running down the ribbon cable. 3) Connect the Multilink to the PC via a USB extension cable. The Blue LED on the Multilink should become lit. 4) Turn the target power on. The Yellow LED on the Multilink should become lit. Before disconnecting the setup, turn the target power off. 7.0 Startup Reset Sequence In order to use the Background Debug Mode of the microcontroller, it must be initialized coming out of reset. This is accomplished by P&E's ICD (In Circuit Debugger) software on the host PC by generating the following reset sequence: 1. DSCK is driven high and DSI is driven low. (to processor) 2. Delay ~1ms. 3. HRESET or SRESET is driven low. (Usually this will be HReset) 4. Delay ~20ms. 5. HRESET is released (tri state, should be pulled up on target). 6. Shifting activity appears on DSCLK, DSI and DSO. (PC Software communicating to target to determine if debug mode was successfully entered.) Note that if the device does not enter debug mode, the ICD debugger issues the error message "Can not enter background mode". If you get this message, you should first refer to the troubleshooting section of this document. Then you should check your hardware with a scope, logic analyzer or logic probe. First check for power on. Then check to make sure the processor oscillator is running. Finally, look for the startup sequence given above. 8.0 Interface Libraries One of the products P&E produces is a set of interface libraries which allows the user to directly control the USB PowerPC BDM Multilink from any Windows Development environment which can interact with a

DLL. The interface libraries come with examples for controlling the Multilink interface from Microsoft Visual C as well as Borland Delphi. Details of the libraries for the PowerPC 5xx/8xx (UNITCFZ) may be found at http://www.pemicro.com/products/product_processor.cfm?family=7. 9.0 Firmware Updates The latest version of the firmware for the Multilink interface is included in the P&E software development kits. When the debugger or programmer is run, if it detects that the Multilink interface firmware needs to be updated, it will ask the user s permission to do this. If given, the update happens automatically. Alternately, the latest version of the firmware may be downloaded from the Firmware Updates section of the Support Center located at http://www.pemicro.com. This firmware includes a utility which may be used to run the firmware update. 10.0 Software Packages P&E provides several software packages which work through the PowerPC interface cable: ICDPPCZ - Source level PowerPC Debugger. The simple and easy to use debugger supports source level debugging on PowerPC devices including: source level debug, software load, hardware breakpoints, watch and memory windows, CPU display, special purpose register read/write and more PROGPPCZ - Flash programmer (both interactive and automated for production). The flash programmer supports a large library of flash configurations. New flash configurations are constantly be created and the latest can be downloaded from: http://www.pemicro.com. The flash programmer automates the task of programming flash and does not require a boot-loader to be resident in the target. UNITPPCZ - DLL based drivers allowing PC based application control of the PowerPC processor through the debug interface. Routines provided to read and write memory, start and stop the processor, load code, single step and more. Examples are provided for some development environments including the Microsoft Visual studio, and can be used from any development/test platform which can link to a DLL. The UNITPPCZ library is used by other third party vendors such as Metrowerks to enable their software packages to work via P&E s BDM interfaces.