PE3359 - Technical Summary For USB-ML-1632
PE3359 - Technical Summary For USB-ML-1632
PE3359 - Technical Summary For USB-ML-1632
Technical Summary
Document # PE3359, Version 1.0a
1. 2. 3. 4. 5. 6. 7. 8. 9.
Introduction Usage of the USB CPU16/32 Multilink Interface Driver Installation on Windows XP/2000/2003/Vista/7 Using a USB Hub Connecting to the target Startup Reset Sequence Interface Libraries Firmware Updates Software Packages
1.0 Introduction
P&Es USB CPU16/32 MULTILINK Interface provides access to the Background Debug Mode (BDM) on Freescale 68HC16 and 683xx 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 CPU16/32 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 targets 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 Freescale are: _____ | . . | | . . | | . . | | . . | | . . | |_____|
1 3 5 7 9
2 4 6 8 10
*P&E does not use the DS pin and it does not need to be connected to the header.
3.0 Driver Installation on Windows XP/2000/2003/Vista/7 Before connecting the USB CPU16/32 MULTILINK to the PC, the appropriate drivers need to be installed on the PC. These drivers are automatically installed when installing any of P&Es recent CPU16/32 development packages. If you have installed a recent version of these then the instructions for manual installation that follow are not necessary. However, Windows 7 users who are installing software distributed before December 28, 2009 will need to obtain the latest version of the drivers and install them manually. A copy of the driver installation program may be downloaded from the Downloads section of P&Es Support Center located at http://www.pemicro.com. If you are using third-party software, make sure you have a version which supports the USB CPU16/32 MULTILINK Rev. A interface. Once you have obtained the latest version of the driver installation program, please use the instructions below to manually install the drivers. When the cable is plugged in, the operating system should indicate that it has found a driver for the attached USB CPU16/32 MULTILINK. 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 the device and then plug it in again, Windows will automatically disable it even if you have installed the drivers. To force Windows to attempt to load the driver again, perform the following steps while the USB CPU16/32 MULTILINK interface is plugged into the computer: 1. Open the Control Panel: Start Button [ ->Settings ] ->Control Panel. (You will not need to select Settings on Vista and Windows 7). 2. Double Click the System Icon. (Windows 7: System and Security) 3. Select the Hardware Tab. (Windows 7: Hardware and Sound, Windows Vista: skip this step) 4. Click the Device Manager Button. (Windows 7: Devices and Printers -> Device Manager) 5. The USB CPU16/32 MULTILINK device will be shown with an exclamation point next to it. Double-click this device. 6. Click the Reinstall Driver button and follow the dialog instructions to have Windows automatically install the driver. (Windows 7: First click the Driver tab, then select Update Driver...) 7. If the hardware still has a yellow exclamation mark next to it, right click on it and select uninstall. The USB Multilink should disappear from the list. Unplug the USB Multilink and then plug it into the PC again. A new Hardware Found dialog will pop up; follow the dialog instructions and have Windows automatically install the driver.
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 68HC16/683xx (UNIT16Z and UNIT32Z) may be found on P&Es website at :