Advanced JTAG for Future Impementations Dima Levit Physik - - PowerPoint PPT Presentation

advanced jtag for future impementations
SMART_READER_LITE
LIVE PREVIEW

Advanced JTAG for Future Impementations Dima Levit Physik - - PowerPoint PPT Presentation

Advanced JTAG for Future Impementations Dima Levit Physik Department E18 - Technische Universitt Mnchen The 19th International Workshop on DEPFET Detectors and Applications May 11nd, 2015. Kloster Seeon supported by: Maier-Leibnitz-Labor


slide-1
SLIDE 1

Advanced JTAG for Future Impementations

Dima Levit

Physik Department E18 - Technische Universität München

The 19th International Workshop on DEPFET Detectors and Applications May 11nd, 2015. Kloster Seeon

supported by: Maier-Leibnitz-Labor der TU und LMU München, Cluster of Excellence: Origin and Structure of the Universe, BMBF

Belle

slide-2
SLIDE 2

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

Outline

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

Dima Levit | Advanced JTAG for Future Impementations 2/17

slide-3
SLIDE 3

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

Outline

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

Dima Levit | Advanced JTAG for Future Impementations 3/17

slide-4
SLIDE 4

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

IEEE 1149.1, Daisy Chain

TCK TMS TDO TDI

1 2 3

Figure : Daisy chain topology

TCK and TMS connected in parallel TDI and TDO connected in daisy chain ASIC 3 accessible only if 2 and 1 are not broken In PXD: up to 14 ASICs in the chain

Dima Levit | Advanced JTAG for Future Impementations 4/17

slide-5
SLIDE 5

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

Complications with Daisy Chain

Figure : EMCM3 W17-3 with Switcher 5 broken

Switcher 5 broken

switcher 6 cannot be accessed no readback from any switcher possible

Dima Levit | Advanced JTAG for Future Impementations 5/17

slide-6
SLIDE 6

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

Outline

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

Dima Levit | Advanced JTAG for Future Impementations 6/17

slide-7
SLIDE 7

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

IEEE 1149.7 Architecture

Figure : IEEE 1149.7 architecture

1149.7 Adapter (TAP .7) 1149.1 Core

TCK(C) TMS(C) TDI TDO TCK TMS TDI TDO

Figure : IEEE 1149.7 integration with older designs

Backwards compatible with IEEE 1149.1 standard Implements 6 additional classes for advanced features TAP .7 cores commercially available Valid IEEE 1149.1 control sequence (Zero-Bit-Scan) as escape sequence

Dima Levit | Advanced JTAG for Future Impementations 7/17

slide-8
SLIDE 8

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

IEEE 1149.7 Architecture

TEST LOGIC RESET RUN-TEST/IDLE SELECT-DR-SCAN SELECT-IR-SCAN CAPTURE-DR CAPTURE-IR SHIFT-DR SHIFT-IR EXIT1-DR EXIT1-IR PAUSE-DR PAUSE-IR EXIT2-DR EXIT2-IR UPDATE-DR UPDATE-IR 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Figure : Zero-Bit-Scan as escape sequence

Valid IEEE 1149.1 sequence Does not change status of the JTAG registers Gives access to registers of the IEEE 1149.7 controller

Dima Levit | Advanced JTAG for Future Impementations 8/17

slide-9
SLIDE 9

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

IEEE 1149.7 Star Topology

TCK TMS TDO TDI

Figure : Star-4 topology, TAP3

TCKC TMSC

Figure : Star-2 topology, TAP4

TAP3: parallel TCK, TMS, TDI, TDO uni-directional signals TAP4: parallel TCKC: uni-directional, TMSC: bi-directional Direct addressability with mandatory TAP .7 Controller Address (TCA)

Node ID[7:0] Device ID[27:12] Part Number Device ID[11:0] Manufacturer

34 27 26 11 10

4 bit Controller ID allocated by master based on the TCA

Dima Levit | Advanced JTAG for Future Impementations 9/17

slide-10
SLIDE 10

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

TAP4 Serialization

Time division multiplexing nTDI TMS TDO nTDI TCKC TMSC

Figure : TAP4 OScan1 format

nTDI nTDI TCKC TMSC nTDI nTDI

Figure : TAP4 Oscan7 format

Dima Levit | Advanced JTAG for Future Impementations 10/17

slide-11
SLIDE 11

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

IEEE 1149.7 Design Requirements

Work packages:

Implementation in ASICs

DHPT/Switcher mandatory DCD optionally

FPGA support / Software support Changes in module layout

Star topology Node ID encoding

TCKC TMSC SW SW SW SW SW SW To/From DHE DCD DCD DCD DCD DHPT DHPT DHPT DHPT

1149.7 Adapter 1149.7 Adapter 1149.7 Adapter 1149.7 Adapter

Dima Levit | Advanced JTAG for Future Impementations 11/17

slide-12
SLIDE 12

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

Outline

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

Dima Levit | Advanced JTAG for Future Impementations 12/17

slide-13
SLIDE 13

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

Conclusions

Long daisy chain fails if a chip in the chain fails Solved by the IEEE 1149.7 with the star topology

resistance against ASIC failure reduced pin count

JTAG is not a slow control friendly standard:

standard does not define length of the registers functionality often encoded in the bit fields of long JTAG registers this makes hard to implements synchronous logic and fast scan functionality different protocol with star topology (I2C) may solve this problem

Dima Levit | Advanced JTAG for Future Impementations 13/17

slide-14
SLIDE 14

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

Literature

Doing more with less - An IEEE 1149.7 embedded tutorial : Standard for reduced-pin and enhanced-functionality test access port and boundary-scan architecture http://dx.doi.org/10.1109/TEST.2009.5355572

Talk: http://btw.tttc-events.org/material/BTW10/ Presentations/Session%203.2.pptx

Neal Stollon, On-Chip Instrumentation: Design and Debug for Systems

  • n Chip (Springer US, 2011),

http://www.myilibrary.com?ID=308357 1149.7-2009 - IEEE Standard for Reduced-Pin and Enhanced-Functionality Test Access Port and Boundary-Scan Architecture, http://dx.doi.org/10.1109/IEEESTD.2010.5412866

Dima Levit | Advanced JTAG for Future Impementations 14/17

slide-15
SLIDE 15

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

Thank you for your attention! Questions?

Dima Levit | Advanced JTAG for Future Impementations 15/17

slide-16
SLIDE 16

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

Back Up

Back up slides

Dima Levit | Advanced JTAG for Future Impementations 16/17

slide-17
SLIDE 17

Daisy Chain JTAG, IEEE 1149.1 Star Topology JTAG, IEEE 1149.7 Conclusions

Back Up

Outer Forward Outer Backward

DCD1 DCD2 DCD3 DCD4 DHP1 DHP2 DHP3 DHP4

Dima Levit | Advanced JTAG for Future Impementations 17/17