SlideShare une entreprise Scribd logo
1  sur  4
Télécharger pour lire hors ligne
Understanding ISP Wiring
With the high bit rates of today’s In-System Programming protocols, careful
wiring between the programmer and the programming/testing xture must be
considered.




Fewer Wires, Higher Speeds                                                              Number of
                                                                                         ISP Lines
In-System Programming (ISP) is becoming the programming solution preferred
by small and big OEM/EMS alike. Since each silicon manufacturer implements its
                                                                                                 8
own programming protocol(s), every device family has its own particular
programming interface. Nonetheless, the lines needed to program a typical
device have decreased during the years. Modern devices only need very few lines                  4
to be programmed; in some cases, just one line is needed (Fig. 1).

At the same time, the devices’ non-volatile memory is rapidly increasing (Fig. 2).
                                                                                                 1
To keep programming times low, the ISP lines must therefore be capable of
sustaining higher communication bit rates. Higher bit rates mean that the wiring
of the ISP lines inside the programming/testing xture has to be carefully
thought.                                                                                                     1990   2000      2010   Year

                                                                                                                     Fig. 1
Fixture Wiring
                                                                                           Device
Usually, an Automatic Test Equipment (ATE) performs parametric and functional             Memory
tests on the Unit Under Test (UUT) that is placed inside a custom, unit-speci c              (KB)
test xture. The text xture routes several ATE control lines to the various test
                                                                                              1000
points on the UUT. The same xture is used to in-system program the target
device(s) (or DUP, Device Under Programming) in the UUT that needs to be
programmed. In-system programming usually takes place after the component                      100
parametric test and before the functional test. Multi-PCB panels add to the
complexity of the wiring inside the xture; xtures with hundreds of nails are not
uncommon (Fig. 3).                                                                              10

While the vast majority of connections required for board testing are low-speed
transmission lines, the wiring of the lines dedicated to programming must take
into account the high speed of modern ISP.                                                                   1990   2000      2010   Year

                                                                                                                     Fig. 2
ISP Wiring Issues
One of the most important parameters to take into account for ISP wiring is connection length. Usually (but
this is not always known to the test engineer), ISP signal integrity starts to degrade with connections longer
than 40-50cm. For this reason the programmer should be placed as near as possible to the xture, better yet
inside the xture.

The 50cm limit should not be taken as an absolute maximum: it depends on the ISP protocol. Asynchronous
protocols such as UART, for example, allow for longer connections; Freescale’s BDM protocol, due to the high
bit rate and driving characteristics, requires shorter wiring.




                 Solutions for the Programming Industry


                                                                                                                 www.rns­usa.com
Understanding ISP Wiring




                                                     Fig. 3



An important role in an electric communication is played by the transmission line. Due to the high number
of wires and to their connection typology (usually wire wrap, making solderless connections of wires to
terminals), xture wiring is typically done with single-core, isolated wires with AWG from 20 to 30.

Since almost all programmable devices (serial memories, microcontrollers, etc.) feature single-ended, CMOS
lines, almost all In-System Programmers in the market feature single-ended, CMOS driving of ISP lines (Fig. 4).

                                ISP VDD                                   UUT VDD




                                                  Single-ended
                                ISP GND                                   UUT GND
                                                  transmission
                            In-System
                            Programmer                              UUT

                                                     Fig. 4


This transmission line is easier to implement than a di erential line, but it o ers less immunity to common-
mode noise. Programmer and DUP usually share the same ground potential and, with the simultaneous
activity of several digital lines, electric noise will add both on the transmitter and receiver end—possibly
corrupting the transmission. Fig. 5 shows a signal a ected by common-mode noise.


               Transmitted
               digital signal


               Neighboring
                     signal


                   Received
               digital signal

                                                     Fig. 5




                          Solutions for the Programming Industry
                                                                                                                  www.rns­usa.com
Understanding ISP Wiring




Another source of noise can be the crosstalk phenom-
enon. Crosstalk arises when a signal a ects another
nearby signal. Usually the coupling is capacitive, and to
the nearest neighbor, but other forms of coupling and
e ects on signal further away are sometimes
important.

Fig. 6 shows an example of crosstalk between two
conductors inside a xture. The CH1 signal is a ected
by the CH2 signal. The steeper the edges of the CH2                              Fig. 6                                 Fig. 7
signal, and the higher the CH1 line impedance, the
higher the crosstalk. ISP protocols such as I2C, ICC, etc., where the high logic state is obtained through
open-drain driving, are more subject to the crosstalk phenomenon.

In order to reduce crosstalk, twisted pair cabling should be used, where a “shielding” conductor (only one end
of which is connected to ground, usually on the programmer side) is twisted together with the main
conductor (alternatively, a coaxial cable can be used). Fig. 7 shows the bene ts of such a cabling. Fig. 8 shows
how cable twisting should be implemented.

                                ISP VDD                                       UUT VDD




                                                 Twisted pair cabling
                                ISP GND                                       UUT GND

                           In-System
                           Programmer                                   UUT

                                                         Fig. 8



High-Speed Signals
Crosstalk e ects are empathized by modern In-System Programmers since, in order to reach the higher bit             Ground Plane
rates of today’s ISP protocols, they employ high-speed single ended line driving. To help avoid crosstalk, the
 xture should have a ground plane on the plate hosting the nails (Fig. 9).

Additionally, ground connections should be redundant; all the ground pins of the programmer should be
individually connected to ground nails on the xture, and these should be connected to each other, as
shown in Fig. 10.                                                           Ground wiring
                                                                                   connecting all
                                                                                   ground nails




          Ground wires                                                                        Ground
      from programmer                                                                         nails

                                                                                                                                 Fig. 9

                                               Fig. 10




Impedance Matching
Impedance matching is another factor that improves signal transmission. A transmission line is said to be
“matched” when its characteristic impedance (Zo) is equal to that of the transmitter (ZoTX) and to that of the
receiver (ZoRX). When the transmission line is matched, signal re ection and interferences are null (Fig. 11).




                   Solutions for the Programming Industry
                                                                                                                   www.rns­usa.com
Understanding ISP Wiring

Perfect impedance matching is impossible to obtain in
real-world conditions. In particular, the output
impedance of a programmer line (ZoTX) is typically in                                                                     Zo
                                                                                                    ZoTX
the order of hundreds of Ohm, while the input
impedance of a microcontroller line (ZoRX) is usually in                                                                                   ZoRX
                                                                                                                      Single-ended
the order of hundred thousands of Ohm. Additional                                                                     transmission
circuitry on the UUT tied to the transmission line may
make things worse.
                                                                                          TX                                          RX
As an example of unmatched transmission line, see Fig.                                                                  Fig. 11
12. A strong undershoot is present on the signal. A
pull-down resistor between signal and ground reduces
this phenomenon. The resistor, whose value of 390
Ohm has been empirically found, has been placed
between the contacting nail and the xture’s ground
plane. Fig. 13 shows the e ect of the pull-down resistor.

The pull-down resistor, however, draws a signi cant
amount of current from the transmitter. For a 5V CMOS
signal, the current drawn is

                      I = 5V / 390Ohm = 13mA,
                                                                                                            Fig. 12                        Fig. 13
which is comparable with the maximum source current
of a CMOS line. It is suggested to use non-inductive resistors, such as carbon resistors.


Eye Diagram
An eye diagram allows to evaluate the quality of a transmission line. An eye diagram is an
oscilloscope display in which a digital data signal from a receiver is repetitively sampled and
applied to the vertical input, while the data rate is used to trigger the horizontal sweep. An open
eye pattern corresponds to minimal signal distortion. Distortion of the signal waveform due to
crosstalk interference and noise appears as closure of the eye pattern.
Fig. 14 shows the eye diagram captured on the MOSI signal of a SPI protocol, one of the various
protocols used in In-System Programming.

If the signals are too long, too short, poorly synchronized with the system clock, too high, too low,
too noisy, or too slow to change, or have too much undershoot or overshoot, this can be observed                                           Fig. 14
from the eye diagram.
While the analysis of the eye diagram is suggested for advanced signal troubleshooting, it is by no means
mandatory. Traditional scope captures of the signals involved in ISP are enough to evaluate the quality of the
 xture connections.


About Algocraft

Algocraft Srl (www.algocraft.com) is a high-tech company whose core business is to design, develop and market a
wide range of professional systems dedicated to the manufacturing and testing of electronic boards. Algocraft team
includes high-skilled engineers with over 10 years of individual design experience in the Industrial Programming
 eld.




                       Solutions for the Programming Industry



All information is subject to change without notice. Algocraft and WriteNow! are trademarks of Algocraft Srl.
                                                                                                                                     www.rns­usa.com
Rev. 1.0 - WP00010100EN

Contenu connexe

Tendances

Multithreaded Data Transport
Multithreaded Data TransportMultithreaded Data Transport
Multithreaded Data Transportsgleadow
 
Implementation and Test of a Power-Line based Communication System for Elect...
 Implementation and Test of a Power-Line based Communication System for Elect... Implementation and Test of a Power-Line based Communication System for Elect...
Implementation and Test of a Power-Line based Communication System for Elect...Valerio Aisa
 
Design and Implementation of OFDM Trans-Receiver for IEEE 802.11(WLAN)
Design and Implementation of OFDM Trans-Receiver for IEEE  802.11(WLAN) Design and Implementation of OFDM Trans-Receiver for IEEE  802.11(WLAN)
Design and Implementation of OFDM Trans-Receiver for IEEE 802.11(WLAN) IJMER
 
Connecting electrical appliances to a Home Network using low-cost Power-Line ...
Connecting electrical appliances to a Home Network using low-cost Power-Line ...Connecting electrical appliances to a Home Network using low-cost Power-Line ...
Connecting electrical appliances to a Home Network using low-cost Power-Line ...Valerio Aisa
 
Design and Implementation of LNA at 900MHz for GSM applications
Design and Implementation of LNA at 900MHz for GSM applicationsDesign and Implementation of LNA at 900MHz for GSM applications
Design and Implementation of LNA at 900MHz for GSM applicationsAbdus Sami
 
Dispersion Compensation Module for WDM -PON at 5 -GB/S Downstream with Variou...
Dispersion Compensation Module for WDM -PON at 5 -GB/S Downstream with Variou...Dispersion Compensation Module for WDM -PON at 5 -GB/S Downstream with Variou...
Dispersion Compensation Module for WDM -PON at 5 -GB/S Downstream with Variou...IRJET Journal
 
Newtec - Optimisation of Satellite Capacity Efficiency for IP Trunking Applic...
Newtec - Optimisation of Satellite Capacity Efficiency for IP Trunking Applic...Newtec - Optimisation of Satellite Capacity Efficiency for IP Trunking Applic...
Newtec - Optimisation of Satellite Capacity Efficiency for IP Trunking Applic...Sematron UK Ltd
 
Presentation on Long Reach Passive Optical Network (LR-PON)
Presentation on Long Reach Passive Optical Network (LR-PON) Presentation on Long Reach Passive Optical Network (LR-PON)
Presentation on Long Reach Passive Optical Network (LR-PON) Sourav Mondal
 
Apc series product overview may 2012
Apc series product overview may 2012Apc series product overview may 2012
Apc series product overview may 2012jdlizarraga
 
Cooperative Diversity - An Introduction to Cooperative Comm
Cooperative Diversity - An Introduction to Cooperative CommCooperative Diversity - An Introduction to Cooperative Comm
Cooperative Diversity - An Introduction to Cooperative CommAshish Meshram
 
Ece interview questions with answers
Ece interview questions with answersEce interview questions with answers
Ece interview questions with answersmanish katara
 

Tendances (18)

Multithreaded Data Transport
Multithreaded Data TransportMultithreaded Data Transport
Multithreaded Data Transport
 
Implementation and Test of a Power-Line based Communication System for Elect...
 Implementation and Test of a Power-Line based Communication System for Elect... Implementation and Test of a Power-Line based Communication System for Elect...
Implementation and Test of a Power-Line based Communication System for Elect...
 
Telemetry systems
Telemetry systemsTelemetry systems
Telemetry systems
 
User manual ramon
User manual  ramon User manual  ramon
User manual ramon
 
Voip basics
Voip basicsVoip basics
Voip basics
 
Design and Implementation of OFDM Trans-Receiver for IEEE 802.11(WLAN)
Design and Implementation of OFDM Trans-Receiver for IEEE  802.11(WLAN) Design and Implementation of OFDM Trans-Receiver for IEEE  802.11(WLAN)
Design and Implementation of OFDM Trans-Receiver for IEEE 802.11(WLAN)
 
Nt ip brochure
Nt ip brochureNt ip brochure
Nt ip brochure
 
Newtec FlexACM
Newtec FlexACMNewtec FlexACM
Newtec FlexACM
 
Connecting electrical appliances to a Home Network using low-cost Power-Line ...
Connecting electrical appliances to a Home Network using low-cost Power-Line ...Connecting electrical appliances to a Home Network using low-cost Power-Line ...
Connecting electrical appliances to a Home Network using low-cost Power-Line ...
 
Design and Implementation of LNA at 900MHz for GSM applications
Design and Implementation of LNA at 900MHz for GSM applicationsDesign and Implementation of LNA at 900MHz for GSM applications
Design and Implementation of LNA at 900MHz for GSM applications
 
Wbsevolwp
WbsevolwpWbsevolwp
Wbsevolwp
 
Dispersion Compensation Module for WDM -PON at 5 -GB/S Downstream with Variou...
Dispersion Compensation Module for WDM -PON at 5 -GB/S Downstream with Variou...Dispersion Compensation Module for WDM -PON at 5 -GB/S Downstream with Variou...
Dispersion Compensation Module for WDM -PON at 5 -GB/S Downstream with Variou...
 
Newtec - Optimisation of Satellite Capacity Efficiency for IP Trunking Applic...
Newtec - Optimisation of Satellite Capacity Efficiency for IP Trunking Applic...Newtec - Optimisation of Satellite Capacity Efficiency for IP Trunking Applic...
Newtec - Optimisation of Satellite Capacity Efficiency for IP Trunking Applic...
 
Presentation on Long Reach Passive Optical Network (LR-PON)
Presentation on Long Reach Passive Optical Network (LR-PON) Presentation on Long Reach Passive Optical Network (LR-PON)
Presentation on Long Reach Passive Optical Network (LR-PON)
 
42
4242
42
 
Apc series product overview may 2012
Apc series product overview may 2012Apc series product overview may 2012
Apc series product overview may 2012
 
Cooperative Diversity - An Introduction to Cooperative Comm
Cooperative Diversity - An Introduction to Cooperative CommCooperative Diversity - An Introduction to Cooperative Comm
Cooperative Diversity - An Introduction to Cooperative Comm
 
Ece interview questions with answers
Ece interview questions with answersEce interview questions with answers
Ece interview questions with answers
 

Similaire à Understanding ISP Wiring

Evolution 2G to 3G
Evolution 2G to 3GEvolution 2G to 3G
Evolution 2G to 3Gmanuelgol
 
Benefits of a relay barrier
Benefits of a relay barrierBenefits of a relay barrier
Benefits of a relay barrierrns-usa
 
IRJET- Password based Circuit Breaker using DTMF
IRJET-  	  Password based Circuit Breaker using DTMFIRJET-  	  Password based Circuit Breaker using DTMF
IRJET- Password based Circuit Breaker using DTMFIRJET Journal
 
Study and Emulation of 10G-EPON with Triple Play
Study and Emulation of 10G-EPON with Triple PlayStudy and Emulation of 10G-EPON with Triple Play
Study and Emulation of 10G-EPON with Triple PlaySatya Prakash Rout
 
gsmackay-en3602-project
gsmackay-en3602-projectgsmackay-en3602-project
gsmackay-en3602-projectGerard Mackay
 
Performance Improvement of IEEE 802.22 WRAN Physical Layer
Performance Improvement of IEEE 802.22 WRAN Physical LayerPerformance Improvement of IEEE 802.22 WRAN Physical Layer
Performance Improvement of IEEE 802.22 WRAN Physical LayerIOSR Journals
 
Performance Improvement of IEEE 802.22 WRAN Physical Layer
Performance Improvement of IEEE 802.22 WRAN Physical LayerPerformance Improvement of IEEE 802.22 WRAN Physical Layer
Performance Improvement of IEEE 802.22 WRAN Physical LayerIOSR Journals
 
Performance Improvement of IEEE 802.22 WRAN Physical Layer
Performance Improvement of IEEE 802.22 WRAN Physical LayerPerformance Improvement of IEEE 802.22 WRAN Physical Layer
Performance Improvement of IEEE 802.22 WRAN Physical LayerIOSR Journals
 
Resume analog
Resume analogResume analog
Resume analogtarora1
 
Resume analog
Resume analogResume analog
Resume analogtarora1
 
Unit 3 ppt-idc
Unit 3 ppt-idcUnit 3 ppt-idc
Unit 3 ppt-idchiya123jes
 
Design of Low Power High Speed 4-Bit TIQ Based CMOS Flash ADC
Design of Low Power High Speed 4-Bit TIQ Based CMOS Flash ADCDesign of Low Power High Speed 4-Bit TIQ Based CMOS Flash ADC
Design of Low Power High Speed 4-Bit TIQ Based CMOS Flash ADCAman JanGra
 
Mobile robotic platform to gathering real time sensory data in wireless perso...
Mobile robotic platform to gathering real time sensory data in wireless perso...Mobile robotic platform to gathering real time sensory data in wireless perso...
Mobile robotic platform to gathering real time sensory data in wireless perso...Alexander Decker
 
underground cable fault location using aruino,gsm&gps
underground cable fault location using aruino,gsm&gps underground cable fault location using aruino,gsm&gps
underground cable fault location using aruino,gsm&gps Mohd Sohail
 
Training Report BHARAT ELECTRONICS LIMITED
Training Report BHARAT ELECTRONICS LIMITEDTraining Report BHARAT ELECTRONICS LIMITED
Training Report BHARAT ELECTRONICS LIMITEDHimanshiSingh71
 
Resume mixed signal
Resume mixed signalResume mixed signal
Resume mixed signaltarora1
 

Similaire à Understanding ISP Wiring (20)

Evolution 2G to 3G
Evolution 2G to 3GEvolution 2G to 3G
Evolution 2G to 3G
 
Benefits of a relay barrier
Benefits of a relay barrierBenefits of a relay barrier
Benefits of a relay barrier
 
IRJET- Password based Circuit Breaker using DTMF
IRJET-  	  Password based Circuit Breaker using DTMFIRJET-  	  Password based Circuit Breaker using DTMF
IRJET- Password based Circuit Breaker using DTMF
 
Study and Emulation of 10G-EPON with Triple Play
Study and Emulation of 10G-EPON with Triple PlayStudy and Emulation of 10G-EPON with Triple Play
Study and Emulation of 10G-EPON with Triple Play
 
gsmackay-en3602-project
gsmackay-en3602-projectgsmackay-en3602-project
gsmackay-en3602-project
 
Acr5 dcb
Acr5 dcbAcr5 dcb
Acr5 dcb
 
72
7272
72
 
Performance Improvement of IEEE 802.22 WRAN Physical Layer
Performance Improvement of IEEE 802.22 WRAN Physical LayerPerformance Improvement of IEEE 802.22 WRAN Physical Layer
Performance Improvement of IEEE 802.22 WRAN Physical Layer
 
Performance Improvement of IEEE 802.22 WRAN Physical Layer
Performance Improvement of IEEE 802.22 WRAN Physical LayerPerformance Improvement of IEEE 802.22 WRAN Physical Layer
Performance Improvement of IEEE 802.22 WRAN Physical Layer
 
Performance Improvement of IEEE 802.22 WRAN Physical Layer
Performance Improvement of IEEE 802.22 WRAN Physical LayerPerformance Improvement of IEEE 802.22 WRAN Physical Layer
Performance Improvement of IEEE 802.22 WRAN Physical Layer
 
Resume analog
Resume analogResume analog
Resume analog
 
Resume analog
Resume analogResume analog
Resume analog
 
Unit 3 ppt-idc
Unit 3 ppt-idcUnit 3 ppt-idc
Unit 3 ppt-idc
 
Dp31778783
Dp31778783Dp31778783
Dp31778783
 
Design of Low Power High Speed 4-Bit TIQ Based CMOS Flash ADC
Design of Low Power High Speed 4-Bit TIQ Based CMOS Flash ADCDesign of Low Power High Speed 4-Bit TIQ Based CMOS Flash ADC
Design of Low Power High Speed 4-Bit TIQ Based CMOS Flash ADC
 
Mobile robotic platform to gathering real time sensory data in wireless perso...
Mobile robotic platform to gathering real time sensory data in wireless perso...Mobile robotic platform to gathering real time sensory data in wireless perso...
Mobile robotic platform to gathering real time sensory data in wireless perso...
 
Ew31992997
Ew31992997Ew31992997
Ew31992997
 
underground cable fault location using aruino,gsm&gps
underground cable fault location using aruino,gsm&gps underground cable fault location using aruino,gsm&gps
underground cable fault location using aruino,gsm&gps
 
Training Report BHARAT ELECTRONICS LIMITED
Training Report BHARAT ELECTRONICS LIMITEDTraining Report BHARAT ELECTRONICS LIMITED
Training Report BHARAT ELECTRONICS LIMITED
 
Resume mixed signal
Resume mixed signalResume mixed signal
Resume mixed signal
 

Dernier

Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876dlhescort
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataExhibitors Data
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...lizamodels9
 
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...Suhani Kapoor
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Servicediscovermytutordmt
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxpriyanshujha201
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...
Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...
Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...lizamodels9
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdfRenandantas16
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Neil Kimberley
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayNZSG
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMANIlamathiKannappan
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...amitlee9823
 
Understanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key InsightsUnderstanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key Insightsseri bangash
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyEthan lee
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Centuryrwgiffor
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Roland Driesen
 
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetDenis Gagné
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Delhi Call girls
 

Dernier (20)

Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...
Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...
Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
Understanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key InsightsUnderstanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key Insights
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Century
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...
 
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
 

Understanding ISP Wiring

  • 1. Understanding ISP Wiring With the high bit rates of today’s In-System Programming protocols, careful wiring between the programmer and the programming/testing xture must be considered. Fewer Wires, Higher Speeds Number of ISP Lines In-System Programming (ISP) is becoming the programming solution preferred by small and big OEM/EMS alike. Since each silicon manufacturer implements its 8 own programming protocol(s), every device family has its own particular programming interface. Nonetheless, the lines needed to program a typical device have decreased during the years. Modern devices only need very few lines 4 to be programmed; in some cases, just one line is needed (Fig. 1). At the same time, the devices’ non-volatile memory is rapidly increasing (Fig. 2). 1 To keep programming times low, the ISP lines must therefore be capable of sustaining higher communication bit rates. Higher bit rates mean that the wiring of the ISP lines inside the programming/testing xture has to be carefully thought. 1990 2000 2010 Year Fig. 1 Fixture Wiring Device Usually, an Automatic Test Equipment (ATE) performs parametric and functional Memory tests on the Unit Under Test (UUT) that is placed inside a custom, unit-speci c (KB) test xture. The text xture routes several ATE control lines to the various test 1000 points on the UUT. The same xture is used to in-system program the target device(s) (or DUP, Device Under Programming) in the UUT that needs to be programmed. In-system programming usually takes place after the component 100 parametric test and before the functional test. Multi-PCB panels add to the complexity of the wiring inside the xture; xtures with hundreds of nails are not uncommon (Fig. 3). 10 While the vast majority of connections required for board testing are low-speed transmission lines, the wiring of the lines dedicated to programming must take into account the high speed of modern ISP. 1990 2000 2010 Year Fig. 2 ISP Wiring Issues One of the most important parameters to take into account for ISP wiring is connection length. Usually (but this is not always known to the test engineer), ISP signal integrity starts to degrade with connections longer than 40-50cm. For this reason the programmer should be placed as near as possible to the xture, better yet inside the xture. The 50cm limit should not be taken as an absolute maximum: it depends on the ISP protocol. Asynchronous protocols such as UART, for example, allow for longer connections; Freescale’s BDM protocol, due to the high bit rate and driving characteristics, requires shorter wiring. Solutions for the Programming Industry www.rns­usa.com
  • 2. Understanding ISP Wiring Fig. 3 An important role in an electric communication is played by the transmission line. Due to the high number of wires and to their connection typology (usually wire wrap, making solderless connections of wires to terminals), xture wiring is typically done with single-core, isolated wires with AWG from 20 to 30. Since almost all programmable devices (serial memories, microcontrollers, etc.) feature single-ended, CMOS lines, almost all In-System Programmers in the market feature single-ended, CMOS driving of ISP lines (Fig. 4). ISP VDD UUT VDD Single-ended ISP GND UUT GND transmission In-System Programmer UUT Fig. 4 This transmission line is easier to implement than a di erential line, but it o ers less immunity to common- mode noise. Programmer and DUP usually share the same ground potential and, with the simultaneous activity of several digital lines, electric noise will add both on the transmitter and receiver end—possibly corrupting the transmission. Fig. 5 shows a signal a ected by common-mode noise. Transmitted digital signal Neighboring signal Received digital signal Fig. 5 Solutions for the Programming Industry www.rns­usa.com
  • 3. Understanding ISP Wiring Another source of noise can be the crosstalk phenom- enon. Crosstalk arises when a signal a ects another nearby signal. Usually the coupling is capacitive, and to the nearest neighbor, but other forms of coupling and e ects on signal further away are sometimes important. Fig. 6 shows an example of crosstalk between two conductors inside a xture. The CH1 signal is a ected by the CH2 signal. The steeper the edges of the CH2 Fig. 6 Fig. 7 signal, and the higher the CH1 line impedance, the higher the crosstalk. ISP protocols such as I2C, ICC, etc., where the high logic state is obtained through open-drain driving, are more subject to the crosstalk phenomenon. In order to reduce crosstalk, twisted pair cabling should be used, where a “shielding” conductor (only one end of which is connected to ground, usually on the programmer side) is twisted together with the main conductor (alternatively, a coaxial cable can be used). Fig. 7 shows the bene ts of such a cabling. Fig. 8 shows how cable twisting should be implemented. ISP VDD UUT VDD Twisted pair cabling ISP GND UUT GND In-System Programmer UUT Fig. 8 High-Speed Signals Crosstalk e ects are empathized by modern In-System Programmers since, in order to reach the higher bit Ground Plane rates of today’s ISP protocols, they employ high-speed single ended line driving. To help avoid crosstalk, the xture should have a ground plane on the plate hosting the nails (Fig. 9). Additionally, ground connections should be redundant; all the ground pins of the programmer should be individually connected to ground nails on the xture, and these should be connected to each other, as shown in Fig. 10. Ground wiring connecting all ground nails Ground wires Ground from programmer nails Fig. 9 Fig. 10 Impedance Matching Impedance matching is another factor that improves signal transmission. A transmission line is said to be “matched” when its characteristic impedance (Zo) is equal to that of the transmitter (ZoTX) and to that of the receiver (ZoRX). When the transmission line is matched, signal re ection and interferences are null (Fig. 11). Solutions for the Programming Industry www.rns­usa.com
  • 4. Understanding ISP Wiring Perfect impedance matching is impossible to obtain in real-world conditions. In particular, the output impedance of a programmer line (ZoTX) is typically in Zo ZoTX the order of hundreds of Ohm, while the input impedance of a microcontroller line (ZoRX) is usually in ZoRX Single-ended the order of hundred thousands of Ohm. Additional transmission circuitry on the UUT tied to the transmission line may make things worse. TX RX As an example of unmatched transmission line, see Fig. Fig. 11 12. A strong undershoot is present on the signal. A pull-down resistor between signal and ground reduces this phenomenon. The resistor, whose value of 390 Ohm has been empirically found, has been placed between the contacting nail and the xture’s ground plane. Fig. 13 shows the e ect of the pull-down resistor. The pull-down resistor, however, draws a signi cant amount of current from the transmitter. For a 5V CMOS signal, the current drawn is I = 5V / 390Ohm = 13mA, Fig. 12 Fig. 13 which is comparable with the maximum source current of a CMOS line. It is suggested to use non-inductive resistors, such as carbon resistors. Eye Diagram An eye diagram allows to evaluate the quality of a transmission line. An eye diagram is an oscilloscope display in which a digital data signal from a receiver is repetitively sampled and applied to the vertical input, while the data rate is used to trigger the horizontal sweep. An open eye pattern corresponds to minimal signal distortion. Distortion of the signal waveform due to crosstalk interference and noise appears as closure of the eye pattern. Fig. 14 shows the eye diagram captured on the MOSI signal of a SPI protocol, one of the various protocols used in In-System Programming. If the signals are too long, too short, poorly synchronized with the system clock, too high, too low, too noisy, or too slow to change, or have too much undershoot or overshoot, this can be observed Fig. 14 from the eye diagram. While the analysis of the eye diagram is suggested for advanced signal troubleshooting, it is by no means mandatory. Traditional scope captures of the signals involved in ISP are enough to evaluate the quality of the xture connections. About Algocraft Algocraft Srl (www.algocraft.com) is a high-tech company whose core business is to design, develop and market a wide range of professional systems dedicated to the manufacturing and testing of electronic boards. Algocraft team includes high-skilled engineers with over 10 years of individual design experience in the Industrial Programming eld. Solutions for the Programming Industry All information is subject to change without notice. Algocraft and WriteNow! are trademarks of Algocraft Srl. www.rns­usa.com Rev. 1.0 - WP00010100EN