EEVblog

Поделиться
HTML-код
  • Опубликовано: 23 дек 2024
  • НаукаНаука

Комментарии • 373

  • @matiasx488
    @matiasx488 10 лет назад +108

    wow! I have been using JTAG for programming for many years and I never realized about its true power until I saw this video! great work my friend!!!

    • @EEVblog
      @EEVblog  10 лет назад +37

      Thanks. Glad you found it useful.

    • @Hr1s7i
      @Hr1s7i 6 лет назад +2

      +Robert Slackware He does it cause it's more or less worthless on a laptop board that's out of the assembly stages. There are security bits that get flipped once the manufacturer is finished using the JTAG, which leads to it being rendered more or less inaccessible (especially mac books, which Louis deals with. Apple sux, we know). Removing it in case of fluid damage in the vicinity more often than not can fix the problem. JTAGs are pretty sensitive and "thin skinned".

  • @sologals361
    @sologals361 9 лет назад +73

    I always turn of adblocker when watching Daves channel. He deserves every penny he earns.

    • @rfvtgbzhn
      @rfvtgbzhn 9 лет назад +2

      Solo Gals Does it really make a difference for the channel owner? I thought that RUclips only counts the number of views for each Video...

    • @sologals361
      @sologals361 9 лет назад +2

      Im not sure. Thats why i always turn it of for eevblog.

    • @Mosfet510
      @Mosfet510 9 лет назад +1

      +DjB3RzErK I wonder if it measures a partial viewing, like 15 sec out of 30?

    • @colejohnson66
      @colejohnson66 5 лет назад

      A good adblocker will have special code for RUclips so you can whitelist certain channels

    • @kermitdafrog8
      @kermitdafrog8 5 лет назад

      RUclips screws monetization.

  • @manjusha1513
    @manjusha1513 3 года назад +6

    I realised that I wasted a whole day just theoritically googling to understand the jtag/boundary scan concept until I saw this video of yours

  • @babualluri2051
    @babualluri2051 10 лет назад +36

    I am software engineer with passion on hardware, used JTAG and ICE 10 years to bring up few products with fresh hw engrs passion on sw. We did. Now, the way you explaining things artistically can make any one understand and get motivated. Wow! Keep going for all.

  • @JayJay-ki4mi
    @JayJay-ki4mi 2 года назад +2

    You probably dont have time to read comments but you inspired me many years ago. I used to watch your videos knowing very little about this stuff. Today I'm repairing boards of all natures, doing trace repairs, and I've recently had to repair a completely snapped board. I was a software hacker, and hardware just seemed like the ultimate way to control and manipulate hardware. During my time hardware hacking I invested in a good stereo microscope, oscilloscope and rework station. I had all the tools to do repairs, so now I do that because it's good money, more fun, and beats my old programming career. Thank you :D

    • @PPSRHD
      @PPSRHD Год назад

      You ditched software for hardware job? Can you tell me more? I love hardware engineering but seeing the amount of software jobs and their salary let me down sometimes. ....is there something that most don't know about hardware engineering jobs? Online there aren't any hardware engineers telling about their jobs compared to software engineers

  • @frederickmkhombo4475
    @frederickmkhombo4475 9 лет назад +5

    I have been working with electronics for a while, i have been hearing my colleagues using the word 'JTAG'... never knew what it meant or how it is used. this video was a great eye opener. words fall to short to describe the gratitude i have for such an insightful video thanks a million... keep up the good work man

  • @donmoore7785
    @donmoore7785 6 лет назад +17

    We used JTAG to control uC. I never knew the "boundary scan" feature exists. Thank you for explaining the wonders of JTAG!

  • @MohammedNoorSK
    @MohammedNoorSK 8 лет назад +13

    You are better than the best professor at my college. Great video. Keep up the great work. The electronics world needs more people like you!

  • @Brokenrocktail
    @Brokenrocktail 9 лет назад +3

    EEVblog Thank you so much for these videos! As an engineering student with a lot of interest in electronics, I have been watching your videos quite often, and always learn something new! Thanks again Dave!

  • @murrij
    @murrij 10 лет назад +6

    One of the best (if not the best) explanation of JTAG and Boundary Scanning that I've seen. Good stuff.

  • @nithinp2773
    @nithinp2773 8 лет назад +16

    This was an excellent explanation about JTAG and boundary scan. This video is very clear and can be understated by any electronics graduates. It helped me a lot to understand the uses of JTAG and boundary scan in FPGA. Thank you sir:-)

  • @stm3252
    @stm3252 2 года назад

    Nobody can equal Dave when explaining difficult subjects like this and make them easy to understand!

  • @philipschroeder5427
    @philipschroeder5427 3 года назад

    Wow, I normally have a difficult time understanding hardware related stuff, but you explain it like it was basic.
    It takes an expert to explain difficult stuff easy. You nailed it, subscribed.

  • @bolatdinc3211
    @bolatdinc3211 5 лет назад +3

    My university professors need to follow this channel. Full of knowledge, full of respect Dave. Thanks!

  • @Afrotechmods
    @Afrotechmods 11 лет назад +24

    Amazing tutorial thanks!

  • @4BoltClevo
    @4BoltClevo 11 лет назад +2

    The real beauty of that xjtag system is that you can write code that describes how to test a particular chip. Once that's written, anytime you use the same chip on any of your boards you can call the same test routines. So it hides all the serial details from the user and makes your test routines very reusable. I loved it when I was doing test.

  • @affinitystablepeanuts
    @affinitystablepeanuts 2 года назад

    Found it in 2022. This is an amazingly clear explanation! Thank you so much. Really helps one understand what the heck JTAG is.

  • @EEVblog
    @EEVblog  11 лет назад +3

    I always use the lapel mic for recording FF video, I have to, as the camera is 3 meters away. But when shooting on the bench I use the internal mic.
    Lapel mics are not perfect, and if you turn your head the volume varies a lot. I passed this one through The Levelator to level out the audio, which is not easy to do in my Sony video editing software.

  • @neevarpgp
    @neevarpgp 4 года назад +1

    This is awesome! Perfect video for a beginner in Large-scale industrial chip design

  • @Bestietvcute
    @Bestietvcute 10 лет назад +6

    dude !!! you are soo good in presenting what is on your mind
    i like what you are doing a lot
    thank you so much for the valuable information and good demos !

  • @alexmaramay7222
    @alexmaramay7222 3 года назад +1

    Very thorough, very clear descriptions. Thank you so much!

  • @JoeGrand
    @JoeGrand 11 лет назад +1

    If you're hacking/reverse engineering a PCB that doesn't have an obvious JTAG connector (but suspect it's still there based on the chips on-board), you can use something like the JTAGulator, which is an open source tool I recently designed. Just connect to test points on the target board and have the tool try to determine if a JTAG interface actually exists. Once you've determined the pinout, you can use standard JTAG tools to start interfacing directly with the chips, extract firmware, etc.

  • @EEVblog
    @EEVblog  11 лет назад +29

    Well yes, of course you need good software to decode all display the info, otherwise you are just looking at The Matrix

  • @AV1461
    @AV1461 6 лет назад +1

    Amazing! A video with theory explanation and with a practical example!

  • @bhagathch7349
    @bhagathch7349 6 лет назад

    Such an amazing information. We have been trying to debug faulty PCB's since 1 month and now I got a wonderful tool to utilise. Thanks a ton!

  • @coryballiet8260
    @coryballiet8260 6 лет назад

    Way late to the party here, but I see JTAG on just about every product I test at work. Much appreciated information on this. Great video!

  • @gajendrasinghsisodia7936
    @gajendrasinghsisodia7936 2 года назад

    Thanks for making it so simple and easy to understand the concepts of JTAG

  • @shreyashpatil6460
    @shreyashpatil6460 Год назад +1

    Thought JTAG was difficult
    But you forced me to change my mind.
    Thank you very much

  • @KB1UIF
    @KB1UIF 11 лет назад +1

    Thanks Dave , I didn't know about the boundary scan possibility with JTAG only the programming functions. This was a great eye opener for me!! Cheers!

  • @briankessler8209
    @briankessler8209 2 года назад +1

    Excellent explanation of 1149.1 Boundary Scan, but if the green rectangles represent your I/O driver & receiver ckts, then I would have drawn the the green rectangles outside of the blue ones. The output test data is fed into the drivers by scanning it into the boundary scan latches and then driven off-chip. The receivers conversely receive input test data from off-chip and feed it into the boundary scan latches, where it is captured and scanned out. As drawn, this diagram implies that latching occurs between I/O ckts and the physical chip pin.

  • @mechadrake
    @mechadrake 11 лет назад

    Dave, these videos are awesome, I will go back and watch all you have made.

  • @sebastiang2296
    @sebastiang2296 11 лет назад +1

    Wow. I was just reading an introduction to JTAG's interface and its implementation like the TAP controller state machine. Great timing with the video, Dave. It really complemented what I just learned. Now I got a JTAG itch to go scratch :)

  • @cyfireglo
    @cyfireglo 3 года назад

    Wow! This was a great video! And thanks for showing the software at the end... it gave some examples of how useful JTAG can be.

  • @sbybill3271
    @sbybill3271 5 лет назад

    Am I alone losing my eyesight by constantly watching Dave's amazing videos?

  • @polkijain97
    @polkijain97 4 года назад

    Dave has such a soft and calming voice in this unlike his later videos.

  • @EEVblog
    @EEVblog  11 лет назад +1

    I'll be re-listing these soon

  • @goldrushjkgh
    @goldrushjkgh 4 года назад

    You are what my college needs. Hats off to you.

  • @foxyrollouts
    @foxyrollouts 8 лет назад +23

    Dave RUclips University.. you are a very good lecturer

  • @markwahlberg8889
    @markwahlberg8889 11 лет назад

    Thanks for doing these Fundamental Fridays. Opposite to most people, but I prefer these to the dumpster diving and mailbag videos even if I already know the content.

  • @MikesTropicalTech
    @MikesTropicalTech 3 года назад

    Fascinating Dave, thanks. I'm using JTAG for flash and debug on my ESP32, but it's great to know of all of the extra power behind JTAG.

  • @MandrewP
    @MandrewP 11 лет назад

    Dave, you are the freaki'n best! When I get some money I'm going to send you a donation - you deserve it.

  • @yung-megafone
    @yung-megafone Месяц назад

    Id love to se more whiteboard presentations like this
    Keep up the great work, sir!

  • @damejelyas
    @damejelyas 2 года назад

    You got to love the enthousiasm !!! Love the content.

  • @aliuzel4211
    @aliuzel4211 5 лет назад +1

    Very good. Thanks. Just to remind that signal integrity should be taken into account carefully. If many chips with JTAG pins exist, say complex boards, I prefer using CPLD to access each chip directly rather than having chains (chains can be established on CPLD rathher than PCB with maximum flexibility) and installing/uninstalling jumpers on TDI-TDO pins. And of course optional TRST pin exists as well.

  • @shovonsaha8556
    @shovonsaha8556 5 месяцев назад

    This video is just amazing! Thank you so much for the detailed demonstration.

  • @johnadriaan8561
    @johnadriaan8561 8 лет назад +1

    You seemed to gloss over the fourth JTAG pin: TMS. Your description of TDI, TDO and TCK were perfect - but think about what would happen if they were the only pins, and TCK shifted the 1s and 0s through all the different pins... There'd be chaos as the differing values produced different results! That's what TMS is for. Think of it as Jean-Luc Picard saying "Make it so!" - until TMS is used (I think of it as "Master Strobe"), the shift registers just shift the data. TMS is used to "latch" the current state into the actual pins.

  • @roberthorwat6747
    @roberthorwat6747 8 лет назад

    Fully expected my brain to fry and scream "mercy" but this was in fact easy to follow and enjoyable to the last. Thank you Dave!

  • @franciscafurtado666
    @franciscafurtado666 2 года назад +1

    Why did not I has a video like this when I was in the college? Save a lot of effort in understanding JTAG.

  • @MarcoMardegan
    @MarcoMardegan 11 лет назад

    Non ti abbattere, la maggior parte dei discorsi sono semplici da capire soprattutto perché con il video si riesce a raffigurare quello che spiega e tu puoi associarlo al discorso..
    Guarda anche altri suoi video e piano piano avrai l' orecchio per seguire tutto quello che dice :)
    Ciao

  • @tonybell1597
    @tonybell1597 11 лет назад +3

    Excellent video Dave. Reminds me of the Engineers access method for diagnostics on ICL 2960 mainframe computers. We could access all the registers of the system by " spinning the loops" and read the contents of all the registers on a serial bus. Keep up the fundamentals Friday stuff. Maybe some more novice vids would be good?

  • @johnadriaan8561
    @johnadriaan8561 8 лет назад +1

    @AvstoMusic - Each JTAG pin "site" knows whether it's an input or not, so an input won't 'adopt' its shifted-in value. Instead, it will ignore the shifted-in value and shift out its current value - when TMS is strobed, at least! So a host performs a complete scan by: [1] Shifting N bit values; [2] Strobe TMS to "Make It So!" (see my previous comment); [3] Shifting N bit values. That will program the outputs to the desired values, and then read the resultant values.

  • @doogulass
    @doogulass 11 лет назад +1

    Thanks for this video! I had no idea JTAG's capabilities went that far, I always thought it was just for flashing chips and debugging your programs. Wow! I could see the direct pin access being very useful in a production environment for doing electrical tests on finished boards. Very nice, keep up the cool videos!

  • @TheKCarmine
    @TheKCarmine 11 лет назад +4

    Awesome video really couldn't have made this more clear.

  • @sarowie
    @sarowie 11 лет назад +1

    I rembember, that JTAG can short out individual chips on its on via the JTAG control circuit. So, datas do not need to travel all the way through the chips: You can set each chip to bypass the data and therefor speed up the process of programming/testing etc. The data will only go trough the control logic which only have a few bits and not hundreds.

  • @Seaprimate
    @Seaprimate 5 лет назад +1

    Yeah, I'm going to need a direct JTAG interface into your brain.... Your ability to break complex things down simply is unparalleled in my opinion, and I greatly desire that ability.

  • @jimjam623
    @jimjam623 11 лет назад

    Great video Dave - A few things were repeated a little too much, (that's what rewind is for) but overall: really interesting and educational. Thanks!

  • @TheDuckofDoom.
    @TheDuckofDoom. 7 лет назад

    I didn't know it was used for programming, i did know it was used for testing and debugging but I never knew how it operated. Very informative video.

  • @Klythia
    @Klythia 3 года назад

    Thank you very much for all the Explanations and videos you make ... God bless you

  • @ninadpchaudhari
    @ninadpchaudhari 11 лет назад

    Hi ! Always enjoy watching the videos ;) Just had a Suggestion ...
    You know , the content is just great ! but those huge length of episodes really give me a second thought :)

  • @paraescucharrap
    @paraescucharrap 9 лет назад +1

    Thanks so much for the explanation. Very helpful and very well made

  • @aatheus
    @aatheus 11 лет назад

    Great video! I was not aware that you could read and WRITE pins directly via boundry scan.

  • @sysmatt
    @sysmatt 11 лет назад

    Really good one. Definitely turned me on to possibilities of JTAG.

  • @binarybox.binarybox
    @binarybox.binarybox 5 лет назад

    Excellent , Dave. Thank you.

  • @delontamonroe7503
    @delontamonroe7503 2 года назад

    You are awesome, so glad I stumbled upon this vid!!!

  • @AlainHubert
    @AlainHubert 6 лет назад

    I initially thought that JTAG was for testing purposes only, like hardware faults and cold solder joints and such. But thanks to Dave, I now know how powerful it actually is at performing many other useful things like programming chips ! And all of that in only 29 minutes ! (actually 20 minutes because I watch the video at 1.5 speed)

  • @michaelbarakat6095
    @michaelbarakat6095 5 лет назад

    That was so interesting and powerful protocol thanks Mr. David 😍😍

  • @bcsupport
    @bcsupport 11 лет назад

    Thanks for this fun intro to JTAG, Dave.

  • @eni4ever
    @eni4ever 11 лет назад +1

    I really enjoyed this one! Thank you Dave!

  • @selvalooks
    @selvalooks 10 лет назад

    Very much clear description!!!! Thanks!!

  • @BrianWanda
    @BrianWanda 6 лет назад

    Very good video. I am just a hobbyist, but it is good to know that the 'big boys' need to debug pin by pin also.

  • @adityaaman3794
    @adityaaman3794 3 года назад

    Hey Dave! Thank you! That was very informative

  • @opablo_gm
    @opablo_gm 11 лет назад

    I learned a lot thanks to this video... thanks Dave

  • @akshay6667
    @akshay6667 5 лет назад

    Really helpful video. You explained it very well and I got to know a lot about JTAG. Thank you very much

  • @anmolverma7194
    @anmolverma7194 5 лет назад

    Simply wonderful ...
    Great ..you deserves allot...

  • @TradieTrev
    @TradieTrev 11 лет назад

    Great Vid! This complements nicely with my knowledge of using JTAG to flash routers, really opens my mind and makes perfect sense

  • @alannobakht8503
    @alannobakht8503 9 лет назад +2

    Can we load test vector patterns to the chips via JTAG Boundary Scan and read the output and compare it with known output pattern wit this XJ-TAG tool.

  • @avstomusic
    @avstomusic 11 лет назад +2

    Hi Dave, just wondering if you can actually damage your board while "playing" with JTAG. For example - your looking at a single chip, without taking in consideration the rest of the PCB, and force a pin to go low, not realizing that it's an input being driven high by another chip, ultimately shorting down that other chip's output to ground, drawing to much current for too long and blowing up that other chip?

    • @xThirdOpsx
      @xThirdOpsx 2 года назад

      I would also like to know the answer to this

  • @hansi98
    @hansi98 10 лет назад +240

    can i please copy and paste your knowledge into my brain?

    • @HighestRank
      @HighestRank 7 лет назад +50

      Just as soon as you upgrade your JTAG cerebral cortex interface to High Speed.

    • @ПетяТабуреткин-в7т
      @ПетяТабуреткин-в7т 6 лет назад +15

      I wouldn't want that done to me as it would take away the enjoyment of getting the knowledge.

    • @abcd-ek1rt
      @abcd-ek1rt 6 лет назад +2

      wow, I haven't read such a comment ever in my life before..

    • @glarynth
      @glarynth 5 лет назад +3

      Sure, if his brain has JTAG. It'll take a while to get through 10^11 daisy-chained neurons, though.

    • @slartibartfast4260
      @slartibartfast4260 5 лет назад +3

      @@glarynth I wonder how many shorted IO's

  • @krish2nasa
    @krish2nasa 8 лет назад

    Excellent, Thank you very much Dave

  • @mattstelmach1982
    @mattstelmach1982 11 лет назад

    Excellent video Dave. Thanks very much!

  • @jfernandmy
    @jfernandmy 11 лет назад

    Thanks for the video Dave, I love Fundamentals Friday!

  • @aviralrg
    @aviralrg 7 лет назад

    this is exactly how i wished to be explained! i loved it

  • @Eyetrauma
    @Eyetrauma 11 лет назад

    Loving these fundamentals videos!

  • @manuelvaldez5602
    @manuelvaldez5602 8 лет назад

    Im interested in what you mentioned about the reach of the boundary scan, Id like to know how can i do to read the internal logic value of the chip... Or its just a hardware test?

  • @runforitman
    @runforitman Год назад

    oh i am 100% playing with this in my next project
    this is so cool

  • @jonathannewkirk9963
    @jonathannewkirk9963 6 лет назад

    Bad Ass! Best description of Boundary Scan I've seen

  • @usertogo
    @usertogo 2 года назад

    I remember the days we were doing joint test action, not much real work was done afterwards...

  • @angusbradley797
    @angusbradley797 11 лет назад +1

    Good one! Actually this makes two Fridays in a row.
    I used to like your teardowns best. I may revise that.

  • @zemenusisay7156
    @zemenusisay7156 8 лет назад

    I'm really happy with my teacher!

  • @mohamadyakteen8710
    @mohamadyakteen8710 9 лет назад

    great video Dave, thank you.

  • @dinkc64
    @dinkc64 11 лет назад

    Its an audio engineer term, (not audiophile), basically the background noise in your video gets louder when you turn to the camera, and lower when you look towards the board. Sometimes it gets louder after you stop talking, and lower when you start talking, and that ebb and flow of noise is what he means by the pumping effect. You'd have to watch your video with headphones (or really loud) to even notice it.

  • @batdhlawalla
    @batdhlawalla 9 лет назад

    Great presentation. Very informative. Many Thanks.

  • @sonnichjensen
    @sonnichjensen 9 лет назад +2

    Thanks, this was useful for learning

  • @mythicfps9131
    @mythicfps9131 7 лет назад

    This is awesome it's been around that long

  • @Brokenrocktail
    @Brokenrocktail 9 лет назад

    Pete Sapwell in reference to your comment about shorted JTAG lines:
    It works 80% of the time, every time. Haha... things never work 100% of the time.

  • @BryanODonoghue
    @BryanODonoghue 5 лет назад

    Great description - thanks

  • @seafav628
    @seafav628 7 лет назад

    If you want to access only one chip while having multiple serial connected chips, you can shift in bypass instruction to the other chips. Thus the TDR is only connected to the chip you want to see. This will greatly speed up things.

  • @DavidHogendoorn
    @DavidHogendoorn 10 лет назад +1

    just absolutely FASCINATING

  • @jackneff179
    @jackneff179 9 лет назад +1

    Hey Dave, you know the 5vdc output for the usb port on the computer is really ratty..Pulsating dc at best. The problem is my cam has a built in mike and if I use the cam/mike I get this motorboating in the audio. anyway to get some sort of filtering going here to 'flatten' the usb port dc????? maybe an external filter or something like that?

  • @mauro7029
    @mauro7029 10 лет назад

    Impressive explanation, and i have one question, what happens when you flash a tablet for exemple, and that flash goes wrong for any reason? the only way to re-access the ports I\O again is doing a jtag procedure? it's possible to demange the IC's?