Difference between revisions of "Logic Sniffer"

From YobiWiki
Jump to navigation Jump to search
Line 28: Line 28:
 
* Make sure that the Device is set to "OpenBench Logic Sniffer".
 
* Make sure that the Device is set to "OpenBench Logic Sniffer".
 
* Click the capture button and type in your OLS port path in the "Analyzer port" field (i.e. /dev/OpenLogicSniffer if you installed it as I did). Leave the other settings at their default value for now and click "Capture".
 
* Click the capture button and type in your OLS port path in the "Analyzer port" field (i.e. /dev/OpenLogicSniffer if you installed it as I did). Leave the other settings at their default value for now and click "Capture".
  +
==Usage==
  +
See [http://dangerousprototypes.com/docs/Logic_Sniffer_101 101] and [http://dangerousprototypes.com/docs/Logic_Sniffer_102 102] tutos
  +
* Number scheme inside/outside in SUMP client refers to number scheme printed on PCB
  +
** Default: inside: pin0 is at opposite of RESET button, on buffered probe header (up to 5V)
  +
** Warning Unbuffered wing header: up to 3.3V
  +
* External clock source in SUMP: through the CKI header (see the 4 holes in the middle of the PCB)
  +
* Limits:
  +
** 200MHz with 2 groups, no noise filter
  +
** 1 group: 24K / 2 groups: 12K / 4 groups: 6K
  +
** RLE (compression): 4 groups only (v2.12) / all (v2.11). Problem of never ending if no changes occur.
  +
* Trigger before/after ration: samples before/after the trigger

Revision as of 16:23, 24 November 2010

Description

I'm talking about this beast

Installation

My udev rules

I added a /dev/OpenLogicSniffer symlink by following this page:

#File /etc/udev/rules.d/77-ols.rules
#Rules for Openbench Logix Snifferslogic. Creates a nice link to the ols
ATTRS{idVendor}=="04d8" ATTRS{idProduct}=="fc92" MODE="0666" SYMLINK+="OpenLogicSniffer"

If you've problems with modem-manager trying to access the device (as seen in /var/log/syslog), you can add the following rule:

ATTRS{idVendor}=="04d8" ATTRS{idProduct}=="fc92" ENV{ID_MM_DEVICE_IGNORE}="1"

Firmware upgrade

Software

I tried this fork: http://www.lxtreme.nl/ols/ which is the official client for this board
and changed a bit the run.sh script to handle it through symlink :

if [ -h $0 ]; then
    DIR=$(dirname "$(readlink $0)")
    cd "$DIR"
    BASEDIR=.
else
    BASEDIR=$(dirname -- "${0}")
fi
  • Make sure that the Device is set to "OpenBench Logic Sniffer".
  • Click the capture button and type in your OLS port path in the "Analyzer port" field (i.e. /dev/OpenLogicSniffer if you installed it as I did). Leave the other settings at their default value for now and click "Capture".

Usage

See 101 and 102 tutos

  • Number scheme inside/outside in SUMP client refers to number scheme printed on PCB
    • Default: inside: pin0 is at opposite of RESET button, on buffered probe header (up to 5V)
    • Warning Unbuffered wing header: up to 3.3V
  • External clock source in SUMP: through the CKI header (see the 4 holes in the middle of the PCB)
  • Limits:
    • 200MHz with 2 groups, no noise filter
    • 1 group: 24K / 2 groups: 12K / 4 groups: 6K
    • RLE (compression): 4 groups only (v2.12) / all (v2.11). Problem of never ending if no changes occur.
  • Trigger before/after ration: samples before/after the trigger