Detecting a Saleae Logic Analyzer on Your Data Bus

Sdílet
Vložit
  • čas přidán 17. 11. 2015
  • Want to know if a Saleae original logic analyzer is sniffing your bus traffic? It's easily done in software using a single digital I/O pin!
    www.analogzoo.com/2015/11/sale... /
  • Věda a technologie

Komentáře • 27

  • @fredflintstone8048
    @fredflintstone8048 Před 8 lety +1

    I checked my Hantek 4032L. It leaks a tiny bit at all times. I took measurements with a fluke 787 which has approx 11Meg input resistance.
    10k load = leakage of ~13mv (1.3uA)
    1Meg load = leakage of ~180mv (1.8uA)
    The Hantek has an input inpedance of ~215k (measured) 200k (spec).

  • @htfttf
    @htfttf Před 6 lety

    Good catch

  • @slap_my_hand
    @slap_my_hand Před 7 lety

    FTDI has some kind of 32 bit FIFO to USB 3.0 converter. Wouldn't that be perfect for a high performance streaming logic analyzer? I haven't looked into it that much, but it looks like a FX2LP on steroids.

  • @shanearnfield3350
    @shanearnfield3350 Před 2 lety

    just saw this topic. I would ask - Who uses a 1M pull up/down resistor anyway? A typical 1K to 10K probably wouldn't exhibit the same result so I wouldn't be too worried.

  • @joelholdsworth
    @joelholdsworth Před 8 lety

    I wrote an open source firmware for the Saleae Logic (fx2lafw) as part of the sigrok project. As far as I know, it's not possible to do anything so smart - you're just seeing the natural behaviour of the digital input circuit.

    • @Analogzoo
      @Analogzoo  Před 8 lety

      +fractureforce Sure, I assume the Saleae configures an internal pull-up on its input pins, so the pins default to a logic high state - I'd agree that is natural behavior. Regardless of whether it is natural behavior or not though, it is still detectable (perhaps not practical in all situations, but detectable none-the-less).
      WRT the "natural behavior" though, it's actually a little stranger than what I showed in the video...there's a reason I was continuously pulsing the pin high instead of just waiting for the Saleae to naturally pull the pin to a high state. The Saelae actually asserts its probe pin(s) *low* until it sees a high input state; at that point, it asserts its probe pin high (again, presumably via a weak internal pull-up resistor). It will stay that way until the Saleae sees a low input state, at which point it will go back to asserting the probe pin low again. Maybe this is intentionally done in software?

    • @Sixta16
      @Sixta16 Před 2 lety

      @@Analogzoo No pullups or pulldowns guys. More then likely just simple "bus hold" type of inputs. Google what is "bus hold" input.

  • @simoneguggiari8676
    @simoneguggiari8676 Před 7 lety

    FORP ?

  • @DeeegerD
    @DeeegerD Před 8 lety +2

    It would be interesting to check this on an eBay clone? I would suspect the same problem.

    • @Analogzoo
      @Analogzoo  Před 8 lety +1

      +Digger D I think that pretty much any logic analyzer can be detected in a similar manner, because I'd expect that they have to assert some default state on their inputs in order to prevent random noise from triggering a false rising/falling edge. What I found particularly interesting about the Saleae was:
      1) It used a pull up resistor (other logic analyzers I've used have a pull down)
      2) The pull up was disabled and the input went into a floating state when the probe saw a logic low state
      This is why, to detect it reliably, I had to pulse the pin state high. Otherwise, there is the possibility that the Saleae probe input will be in a floating state, and you would likely read a low state instead of the expected high state.
      For analyzers that have internal pull down resistors you could do the same thing, but make the external 1M ohm I used in the video a pull up rather than a pull down.

    • @DeeegerD
      @DeeegerD Před 8 lety

      Thanks for the info - interesting.

    • @t1d100
      @t1d100 Před 6 lety

      Second vote, for a follow up with the $6 Ebay clones. Please and thank you.

  • @keithhearns3783
    @keithhearns3783 Před 7 lety +1

    Get and use the Logic Sniffer...

  • @migry
    @migry Před 8 lety

    I suspect that you are simply seeing the effect of the input clamping diodes. See EEVBLOG#831.

    • @Analogzoo
      @Analogzoo  Před 8 lety

      +migry Hmm, I hadn't considered the input protection diodes, but unless the Salae's microcontroller is running on a fairly low supply voltage (

  • @unebonnevie
    @unebonnevie Před 7 lety +2

    They are cheap? No, they are not! Very expensive compared to other USB ones.

    • @igrewold
      @igrewold Před 7 lety +1

      Easy dude, get this it is cheap ;D
      www.banggood.com/LHT00SU1-Virtual-Oscilloscope-Logic-Analyzer-I2C-SPI-CAN-Uart-p-988565.html
      and it got free software:
      sigrok.org/wiki/Downloads
      if you are an adventurer then maybe you wanna get this:
      sigrok.org/wiki/Noname_XL-LOGIC16-100M

    • @bruhdabones
      @bruhdabones Před 6 lety +1

      igrewold Or you can look on AliExpress. They have even cheaper ones. Also, we may be taking Une out of context.

  • @damny0utoobe
    @damny0utoobe Před 5 lety

    they're not cheap anymore. Grab an FX2 instead.

  • @Abhishekkumar-vf8qe
    @Abhishekkumar-vf8qe Před 7 lety +1

    what is the use of logic analyzers

    • @kentvandervelden
      @kentvandervelden Před 7 lety

      Abhishek kumar Measure, record, and decode buses of logic voltage levels. For example, if you were having a problem with an LCD panel attached with a parallel bus, a logic analyzer could be used to debug glitches. Pretty useful tool especially if recording to a computer which will provide a huge history.

    • @bruhdabones
      @bruhdabones Před 6 lety

      It’s like an oscilloscope, except LAs are only for digital signals

    • @naasikhendricks1501
      @naasikhendricks1501 Před 4 lety

      you will know when you need it. That is the simple truth.

    • @naasikhendricks1501
      @naasikhendricks1501 Před 4 lety

      Example I wasn't sure if a sensor was getting my information. It was just annoying to write a piece of code to sniff the line. Hooked up the LA, BAM done. Now I had to figure out if all the information contained was what I needed.

  • @simoneguggiari8676
    @simoneguggiari8676 Před 7 lety

    s'en messive dorcha haidi
    ero's sembynova ITTMHITMAIL

  • @simoneguggiari8676
    @simoneguggiari8676 Před 7 lety

    TELCOMI.C DUHD-CH-EN-POR living