optically-isolated multilink bdm interface for the s08/s12

10
Freescale Semiconductor Application Note AN3589 Rev. 0, 02/2008 Contents © Freescale Semiconductor, Inc., 2008. All rights reserved. 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. 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. 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 Optically-Isolated Multilink BDM Interface for the S08/S12 Microcontrollers by Michael A. Steffen

Upload: others

Post on 23-Dec-2021

8 views

Category:

Documents


0 download

TRANSCRIPT

Freescale SemiconductorApplication Note

AN3589Rev. 0, 02/2008

Contents

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Installing the Jumper on the Multilink BDM Board. . . . . . 1Opto-Isolated BDM Board . . . . . . . . . . . . . . . . . . . . . . . . 2Assembling the Multilink Board to the Opto-Isolated Board . . . . . . . . . . . . . . . . . . . . . . . 3Optocoupler Component U1, U2 in Schematic . . . . . . . . 6

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

1 IntroductionThis 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.

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.

1234

5

© Freescale Semiconductor, Inc., 2008. All rights reserved.

Figure 1. Multilink Rev. C Board

3 Opto-Isolated BDM BoardThe 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.

Multilink Rev. C board

Jumper Wire

J3 connector Pin 1

J2 Header

Optically Isolated Multilink BDM Interface for the S08/S12 Microcontrollers, Rev. 0

2 Freescale Semiconductor

Figure 2. Opto-Isolated BDM 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.

White dot for ribbon cable orientation

Host side-connector J1 plugs Target side-ribbon J1 plugsin the multilink BDM board onto J2 into connector J2 on this board

Optically Isolated Multilink BDM Interface for the S08/S12 Microcontrollers, Rev. 0

Freescale Semiconductor 3

Figure 3. Opto-Isolated BDM board Schematic

Optically Isolated Multilink BDM Interface for the S08/S12 Microcontrollers, Rev. 0

4 Freescale Semiconductor

F

Op

tically Isolated

Mu

ltilink B

DM

Interface fo

r the S

08/S12 M

icroco

ntro

llers, Rev. 0

reescale Sem

iconductor5

Figure 4. Opto-Isolated BDM

5 Optocoupler Component U1, U2 in SchematicThe 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

Optically Isolated Multilink BDM Interface for the S08/S12 Microcontrollers, Rev. 0

6 Freescale Semiconductor

Figure 6. Top Legend Opto-Isolated BDM Board Layout Layer

Figure 7. Bottom Copper Opto-Isolated BDM Board Layout Layer

Optically Isolated Multilink BDM Interface for the S08/S12 Microcontrollers, Rev. 0

Freescale Semiconductor 7

Table 1. Opto-Isolated BDM Board Bill of Materials

Ref Des Quantity Description ManufacturerManufacturing Part

NumberDigikey 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

Millmax Manufacturing

801-93-050-10-001000 ED7150-ND

J2 (6pos) 1 CONN Header 80 POS .100 Vert Gold (BREAKAWAY)

Molex/Walden Electronics

10-89-1801 WM6880-ND or A26528-40-ND

Q1 – Q4 4 Transistor Switching PNP SOT-23

Infineon Technologies

MMBT3906LT1 MMBT3906LT1INCT-ND

R1, R2, R9, R10

4 RES 330 OHM 1/8W 5% 0805 SMD

Yageo America 9C08052A3300JLHFT 311-330ACT-ND

R3, R5, R7, R8

4 RES 51.1K OHM 1/8W 1% 0805 SMD

Yageo America RC0805FR-0751K1L 311-51.1KCRCT-ND

R4, R6, R11, R12

4 RES 2.0K OHM 1/8W 5% 0805 SMD

Yageo America RC0805JR-072KL 311-2.0KARCT-ND

U1, U2 2 Optocoupler 2CH LOG-OUT 10 MBd 8-DIP

Avago Technologies US Inc.

HCPL-2630 516-1086-5-ND

Optically Isolated Multilink BDM Interface for the S08/S12 Microcontrollers, Rev. 0

8 Freescale Semiconductor

THIS PAGE IS INTENTIONALLY BLANK

Optically Isolated Multilink BDM Interface for the S08/S12 Microcontrollers, Rev. 0

Freescale Semiconductor 9

Document Number: AN3589Rev. 002/2008

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, EL5162100 East Elliot RoadTempe, Arizona 85284+1-800-521-6274 or +1-480-768-2130www.freescale.com/support

Europe, Middle East, and Africa:Freescale Halbleiter Deutschland GmbHTechnical Information CenterSchatzbogen 781829 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.HeadquartersARCO Tower 15F1-8-1, Shimo-Meguro, Meguro-ku,Tokyo 153-0064Japan0120 191014 or +81 3 5437 [email protected]

Asia/Pacific:Freescale Semiconductor Hong Kong Ltd.Technical Information Center2 Dai King StreetTai Po Industrial EstateTai Po, N.T., Hong Kong+800 2666 [email protected]

For Literature Requests Only:Freescale Semiconductor Literature Distribution CenterP.O. Box 5405Denver, Colorado 802171-800-441-2447 or 303-675-2140Fax: [email protected]

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.