Optically-Isolated Multilink BDM Interface for the S08/S12 Microcontrollers by Michael A. Steffen

Similar documents
PCB Layout Guidelines for the MC1321x

Upgrade the Solution With No Changes 2 Upgrade the Solution With No Changes If a Codebase does not contain updates to its properties, it is possible t

MC33696MODxxx Kit. 1 Overview. Freescale Semiconductor Quick Start Guide. Document Number: MC33696MODUG Rev. 0, 05/2007

Updating the Firmware on USB SPI Boards (KITUSBSPIEVME, KITUSBSPIDGLEVME)

USB Bootloader GUI User s Guide

Electrode Graphing Tool IIC Driver Errata Microcontroller Division

MPC8349E-mITX-GP Board Errata

MPC5200(b) ATA MDMA, UDMA Functionality BestComm Setup Recommendations

Using the Multi-Axis g-select Evaluation Boards

MC56F825x/MC56F824x (2M53V) Chip Errata

Using the Project Board LCD Display at 3.3 volts

etpu General Function Set (Set 1) David Paterson MCD Applications Engineer

Design Recommendations to Implement Compatibility Between the MC13783VK and the MC13783VK5

EchoRemote Evaluation Software for Windows

MTIM Driver for the MC9S08GW64

Mechanical Differences Between the 196-pin MAP-BGA and 196-pin PBGA Packages

Pad Configuration and GPIO Driver for MPC5500 Martin Kaspar, EMEAGTM, Roznov Daniel McKenna, MSG Applications, East Kilbride

MPC7410 RISC Microprocessor Hardware Specifications Addendum for the MPC7410TxxnnnLE Series

56F8300 BLDC Motor Control Application

ColdFire Convert 1.0 Users Manual by: Ernest Holloway

Component Development Environment Installation Guide

SGTL5000 I 2 S DSP Mode

Using the PowerQUICC II Auto-Load Feature

MC33897 Single-Wire CAN Transceiver Reliability and Quality Documents

HC912D60A / HC912Dx128A 0.5µ Microcontrollers Mask sets 2K38K, 1L02H/2L02H/3L02H & K91D, 0L05H/1L05H/2L05H

Using IIC to Read ADC Values on MC9S08QG8

MCF5445x Configuration and Boot Options Michael Norman Microcontroller Division

Power Cycling Algorithm using the MMA73x0L 3-Axis Linear Accelerometer

16-bit MCU: S12XHY256 Automotive Cluster Demo by: Jose M. Cisneros Steven McLaughlin Applications Engineer Microcontroller Solutions Group, Scotland

56F805. BLDC Motor Control Application with Quadrature Encoder using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers

etpu Automotive Function Set (Set 2)

Using the CAU and mmcau in ColdFire, ColdFire+ and Kinetis

IIC Driver for the MC9S08GW64

MPR121 Jitter and False Touch Detection

Utilizing Extra FC Credits for PCI Express Inbound Posted Memory Write Transactions in PowerQUICC III Devices

MSC8144AMC-S Getting Started Guide

MPC8260 IDMA Timing Diagrams

Symphony SoundBite: Quick Start with Symphony Studio. Installation and Configuration

Interfacing MPC5xx Microcontrollers to the MFR4310 FlexRay Controller David Paterson MCD Applications, East Kilbride

Migrating from the MPC852T to the MPC875

MC33794 Touch Panel System Using E-Field Sensor Setup Instructions

Managing Failure Detections and Using Required Components to Meet ISO7637 pulse 1 on MC33903/4/5 Common Mode Choke Implementation

Use of PGA on MC56F800x Interaction of PDB, PGA and ADC

Gallium Arsenide PHEMT RF Power Field Effect Transistor

PDB Driver for the MC9S08GW64

2005: 0.5 PQ-MDS-PCIEXP

MCF5216 Device Errata

56F805. Digital Power Factor Correction using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers. freescale.

Using the ColdFire+ Family Enhanced EEPROM Functionality Melissa Hunter Derrick Klotz

MCF54451, MCF54452, MCF54453, MCF54454,

MPR083 Proximity Evaluation Kit User s Guide

Using DMA to Emulate ADC Flexible Scan Mode on Kinetis K Series

Introduction to the S12G Family EEPROM Including a Comparison between the S08DZ, S12XE, and S12P Families

1 Introduction. 2 Problem statement. Freescale Semiconductor Engineering Bulletin. Document Number: EB727 Rev. 0, 01/2010

Using the Asynchronous DMA features of the Kinetis L Series

Clock Mode Selection for MSC8122 Mask Set K98M

Introduction to LIN 2.0 Connectivity Using Volcano LTP

Using the Kinetis Family Enhanced EEPROM Functionality

DSP56F827 Digital Signal Controller

MBC13720 SiGe:C Low Noise Amplifier with Bypass Switch Device

Freescale BeeStack Documentation Overview Document Number: BSDO Rev /2008

Functional Differences Between the DSP56307 and DSP56L307

MPR121 Proximity Detection

Interfacing MPC5500 Microcontrollers to the MFR4310 FlexRay Controller Robert Moran MCD Applications, East Kilbride, Scotland

56F Phase AC Induction Motor V/Hz Control using Processor ExpertTM Targeting Document 56F bit Digital Signal Controllers

MPXH6250A SERIES. Freescale Semiconductor Technical Data MPXH6250A. Rev 2, 01/2007

Programming the Keyboard Interrupt Module (KBI) on HC(S)08 MCUs

i.mx31 PDK Power Measurement with GUI

Mask Set Errata for Mask 2M40J

Ordering Information Industry standard SOT343R package Device weight = g (typical) Available only in tape and reel packaging Available only in

Interfacing HCS12 Microcontrollers to the MFR4200 FlexRay Controller

Using the Knock Window etpu Function

Differences Between the DSP56301, DSP56311, and DSP56321

Using RS08 Microcontrollers with Variable Interrupt Priorities Program Association of RS08 Microcontrollers

Configuring the MCF5445x Family for PCI Host Operation

56F Phase Switched Reluctance Motor Control With Hall Sensors using Processor Expert Targeting Document

Getting Started with the Student Learning Kit Application Module Using the MC9S12DT256 Microcontroller Application Module

MPXHZ6400A. Freescale Semiconductor Technical Data. MPXHZ6400A Rev 0, 08/2005

PowerQUICC HDLC Support and Example Code

Keil uvision 4 Kinetis Support for Freescale MQX RTOS Release Notes

Integrated Silicon Pressure Sensor On-Chip Signal Conditioned, Temperature Compensated and Calibrated

Addendum to HPCN User s Guide: Quick-Start Guide

SCI Driver for the MC9S08GW64

Simplified Device Data Structures for the High-End ColdFire Family USB Modules Melissa Hunter Applications Microcontroller Solutions Group

Integrated Silicon Pressure Sensor On-Chip Signal Conditioned, Temperature Compensated and Calibrated

Functional Differences Between DSP56302 and DSP56309 (formerly DSP56302A)

Mask Set Errata for Mask 5L35K

Interrupts in Decoupled Parallel Mode for MPC5675K Configuration and Usage

PowerQUICC II Parity and ECC Capability

PAS08QF80 User s Manual

Rating Symbol Value Unit Drain-Source Voltage V DSS 15 Vdc Total Device T C = 25 C Derate above 25 C

Sensorless BLDC Motor Control Based on MC9S08PT60 Tower Board User Guide

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

PAS08QF5264 User s Manual

Using an I 2 C EEPROM During MSC8157 Initialization

LFAE Bootloader Example and Interface for use with AN2546 Daniel McKenna MCD Applications, East Kilbride Scotland

Affected Chips Description Impact and Workaround

Using GCR4 to Adjust Ethernet Timing in MSC8144 DSPs

MC9S08DZ60 Migrating from the 3M05C to M74K Mask Set D. Scott Brown Applications Engineering Microcontrollers Solutions Group Austin, TX, USA

Implementing a Double-Precision (32-Bit) Complex FIR Filter on the MSC8101 Device

Transcription:

Freescale Semiconductor Application Note AN3589 Rev. 0, 02/2008 Optically-Isolated Multilink BDM Interface for the S08/S12 Microcontrollers by Michael A. Steffen 1 Introduction This application note explains the modification of the HCS08/HCS12 Multilink background debug mode (BDM) Interface. The complete project consists of the Multilink BDM and an opto-isolated daughter board. The completed assembly, both printed circuit boards (PCBs), fit into the original Multilink BDM case. Contents 1 Introduction................................... 1 2 Installing the Jumper on the Multilink BDM Board...... 1 3 Opto-Isolated BDM Board........................ 2 4 Assembling the Multilink Board to the Opto-Isolated Board....................... 3 5 Optocoupler Component U1, U2 in Schematic........ 6 2 Installing the Jumper on the Multilink BDM Board The jumper provides the host side of the opto-isolated board with 5 V to power the optocouplers and provide signal. Open the Multilink case and remove the PCB. Unplug the ribbon cable attached to header J2. In Figure 1, solder a jumper wire to pins 3 and 16 on connector J3. Freescale Semiconductor, Inc., 2008. All rights reserved.

Multilink Rev. C board J2 Header Jumper Wire J3 connector Pin 1 Figure 1. Multilink Rev. C Board 3 Opto-Isolated BDM Board The opto-isolated board can be used with the Multilink Rev B (blue) and Rev C (maroon case) interface devices. This opto-isolated board plugs into the BDM multilink board upside down. 2 Freescale Semiconductor

White dot for ribbon cable orientation Host side-connector J1 plugs in the multilink BDM board onto J2 Figure 2. Opto-Isolated BDM Board Target side-ribbon J1 plugs into connector J2 on this board 4 Assembling the Multilink Board to the Opto-Isolated Board Turn the opto-isolated board upside down and plug the connector J1 onto the multilink BDM board to header J2. Plug the ribbon cable onto connector J2 on the opto-isolated board. Make sure the red strip on the ribbon cable is on the same side as the white dot on the opto-isolated board J2 header. Re-assemble the case and test the multilink interface. When the interface is plugged into the USB port, the blue and the yellow LEDs illuminate. This is different than the unisolated multilink BDM because the yellow light only illuminates when target power is applied. Freescale Semiconductor 3

Figure 3. Opto-Isolated BDM board Schematic 4 Freescale Semiconductor

Figure 4. Opto-Isolated BDM Freescale Semiconductor 5

5 Optocoupler Component U1, U2 in Schematic The optocoupler used in the design was the Agilent Technologies HCPL-0630 device. It has a typical data transfer speed of 10 MBd and is intended for use in microprocessor systems. This optocoupler design provides maximum AC/DC circuit isolation while achieving TTL compatibility. Figure 5. Top Copper Opto-Isolated BDM Board Layout Layer 6 Freescale Semiconductor

Figure 6. Top Legend Opto-Isolated BDM Board Layout Layer Figure 7. Bottom Copper Opto-Isolated BDM Board Layout Layer Freescale Semiconductor 7

Table 1. Opto-Isolated BDM Board Bill of Materials Ref Des Quantity Description Manufacturer Manufacturing Part Number Digikey Supplier Part Number C1, C2 2 CAP 0.1 μf 50 V Ceramic X7R 0805 Panisonic Ecg ECJ-2YB1H104K PCC1840CT-ND J1 (6pos) 1 SIP Socket 50 POS Straight PCB J2 (6pos) 1 CONN Header 80 POS.100 Vert Gold (BREAKAWAY) Q1 Q4 4 Transistor Switching PNP SOT-23 R1, R2, R9, R10 R3, R5, R7, R8 R4, R6, R11, R12 4 RES 330 OHM 1/8W 5% 0805 SMD 4 RES 51.1K OHM 1/8W 1% 0805 SMD 4 RES 2.0K OHM 1/8W 5% 0805 SMD U1, U2 2 Optocoupler 2CH LOG-OUT 10 MBd 8-DIP Millmax Manufacturing Molex/Walden Electronics Infineon Technologies 801-93-050-10-001000 ED7150-ND 10-89-1801 WM6880-ND or A26528-40-ND MMBT3906LT1 MMBT3906LT1INCT-ND Yageo America 9C08052A3300JLHFT 311-330ACT-ND Yageo America RC0805FR-0751K1L 311-51.1KCRCT-ND Yageo America RC0805JR-072KL 311-2.0KARCT-ND Avago Technologies US Inc. HCPL-2630 516-1086-5-ND 8 Freescale Semiconductor

THIS PAGE IS INTENTIONALLY BLANK Freescale Semiconductor 9

How to Reach Us: Home Page: www.freescale.com Web Support: http://www.freescale.com/support USA/Europe or Locations Not Listed: Freescale Semiconductor, Inc. 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 Asia/Pacific: Freescale Semiconductor Hong Kong Ltd. Technical Information Center 2 Dai King Street Tai Po Industrial Estate Tai Po, N.T., Hong Kong +800 2666 8080 support.asia@freescale.com For Literature Requests Only: Freescale Semiconductor Literature Distribution Center P.O. Box 5405 Denver, Colorado 80217 1-800-441-2447 or 303-675-2140 Fax: 303-675-2150 LDCForFreescaleSemiconductor@hibbertgroup.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. RoHS-compliant and/or Pb-free versions of Freescale products have the functionality and electrical characteristics as their non-rohs-compliant and/or non-pb-free counterparts. For further information, see http://www.freescale.com or contact your Freescale sales representative. For information on Freescale s Environmental Products program, go to http://www.freescale.com/epp. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2008. All rights reserved. Document Number: AN3589 Rev. 0 02/2008