LOG Storm Studio. User's Guide. Revision Jan Byte Paradigm

Similar documents
SPI Storm Studio. Getting Started Guide. Revision Sep Byte Paradigm

LOG Storm. Data sheet

SPI Storm. Data sheet

8PI Control Panel. User's Guide

Introducing SPI Xpress SPI protocol Master / Analyser on USB

Level Shifter. for. Hardware User s Manual.

SPI Xpress. Data sheet

EasySync Ltd ES-DLA-8/16

User Manual. LPC-StickView V1.1. for LPC-Stick. Contents

SPI TCL Library User's Guide Revision Jan-12 1/24

Introduction the Serial Communications Parallel Communications Parallel Communications with Handshaking Serial Communications

Help Volume Hewlett Packard Company. All rights reserved. Toolsets: IA Format Utility

EXOSTIV Dashboard. User's Guide. Rev February 26,

Additional DigiView Specs:

EasySync Ltd ES-DLA-8/16

17 Hatidhar st. Ra anana 43665, Israel Fax: Tel: UDEC-1. Universal Debug Center User Manual & Quick Start

User Manual. LPC-StickView V3.0. for LPC-Stick (LPC2468) LPC2478-Stick LPC3250-Stick. Contents

Help Volume Agilent Technologies. All rights reserved. Instrument: Agilent Technologies 16550A Logic Analyzer

MicroBench MB-500A. Live Logic Logic source pattern generator Logic analyzer Arbitrary waveform generator Protocol interactive test

EXOSTIV Dashboard Hands-on - MICA board

4 DEBUGGING. In This Chapter. Figure 2-0. Table 2-0. Listing 2-0.

User-configurable Resolution. 9 to 12 bits (0.5 C to C)

ASNTu2s PCB with Tiger Board USB to 7-Channel 3-Wire Interface Bridge Application Notes

Help Volume Agilent Technologies. All rights reserved. Instrument: Agilent Technologies 16557D 140 MHz State/500 MHz Timing Logic Analyzer

KNJN I2C bus development boards

Parallel Data Transfer. Suppose you need to transfer data from one HCS12 to another. How can you do this?

EXOSTIV Dashboard. Tcl User's Reference Guide. Rev March 30,

Wave Generator Xpress

Help Volume Agilent Technologies. All rights reserved. Agilent Technologies 16741A Logic Analyzer

ADWG TCL Library User's Guide Revision Feb-15 1/24

Quick Start Guide. January EAZ0081L02A Rev. A

Microcontrollers and Interfacing

DigiView DV3500 Logic Analyzer

Analyser TCL Library

ADWGC C library User's Guide Revision February /20

Digital Design LU. Lab Exercise 1

Help Volume Agilent Technologies. All rights reserved. Agilent E2485A Memory Expansion Interface

GT24C02. 2-Wire. 2Kb Serial EEPROM (Smart Card application)

Exercise 2 I 2 C Management 1/7

CO 2 Sensor Evaluation Board EM7160

MAXSANTAFEEVSYS User Manual

Installing the Software

User-configurable Resolution. 9 to 12 bits (0.5 C to C)

Deterministic high-speed serial bus controller

Table 1 - SDIO Pinout. Pin SD 4-bit Mode SD 1-bit Mode SPI Mode. 1 CD/DAT3 Data Line CS Card Select

Tektronix DPO Demo 1 Board Instruction Manual

Digital Storage Oscilloscope

KNJN I2C bus development boards

DYB2200 INEXPENSIVE, RELIABLE USB PRODUCTS.

DataView Release Notes Version Released

Quick Start Guide. Data Logger TrueLog100

USB Instruments EasyScope II for PS40M10 "Swordfish" Help

Data Manager Software User Manual

Lecture 25 March 23, 2012 Introduction to Serial Communications

Tutorial for I 2 C Serial Protocol

Logic Signal Output Module

LA Xpress. Data sheet

keyestudio Keyestudio MEGA 2560 R3 Board

Cadence Tutorial A: Schematic Entry and Functional Simulation Created for the MSU VLSI program by Andrew Mason and the AMSaC lab group.

MadgeTech 4 Software User Guide:

MODEL: IIC Specification

GT34C02. 2Kb SPD EEPROM

Ellisys USB 2.0 Protocol Analyzer

Markus Hintermann Global Technical Marketing / Sales Manager at Micro Crystal

BV4531U. I2C or Serial 6 Way Relay

Win-SPIUSB. Software User s Manual

1.3inch OLED User Manual

F28069 ControlCard Lab1

Block Diagram. mast_sel. mast_inst. mast_data. mast_val mast_rdy. clk. slv_sel. slv_inst. slv_data. slv_val slv_rdy. rfifo_depth_log2.

UNIVERSITY OF HONG KONG DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING. Principles of Computer Operation

YourBell INEXPENSIVE, RELIABLE USB PRODUCTS.

High Speed USB Controllers for serial and FIFO applications. Debug Information for FT8U232/245 devices

GXLink MultiChannel Wave Inserter Model SP-631

PSIM Tutorial. How to Use SPI in F2833x Target. February Powersim Inc.

Hello, and welcome to this presentation of the STM32 I²C interface. It covers the main features of this communication interface, which is widely used

Pmod modules are powered by the host via the interface s power and ground pins.

MODEL: B09014-LAP- Compact Flash 4.1-M

BV4615. Dual Interface Zero Keypad. Product specification. Dec 2009 V0.a. ByVac Page 1 of 11

IMM64M72SDDUD8AG (Die Revision B) 512MByte (64M x 72 Bit)

These three counters can be programmed for either binary or BCD count.

Dual Boot and Background Programming with Platform Manager 2

PCI / PMC / CPCI / PCI-X Bus Analysis

Tutorial 3: Using the Waveform Viewer Introduces the basics of using the waveform viewer. Read Tutorial SIMPLIS Tutorials SIMPLIS provide a range of t

Actel Libero TM Integrated Design Environment v2.3 Structural Schematic Flow Design Tutorial

UNIVERSITY OF HONG KONG DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING

F28335 ControlCard Lab1

ARDUINO LEONARDO ETH Code: A000022

Searching for Images in v10

ArduCAM-M-2MP Camera Shield

Basics of UART Communication

SensorXplorer TM Installation Guide

IMM64M64D1SOD16AG (Die Revision D) 512MByte (64M x 64 Bit)

Logic Analyzer Software Manual

DSView User Guide v0.98

User Manual. HEDS-8949 & HEDS-8969 Alignment Kit for AEAT-9000 Encoders. 1. Introduction. Overview. Features. Ordering Information

M68HC08 Microcontroller The MC68HC908GP32. General Description. MCU Block Diagram CPU08 1

Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015.

IMM128M72D1SOD8AG (Die Revision F) 1GByte (128M x 72 Bit)

GT24C256 2-WIRE. 256K Bits. Serial EEPROM

Logic Analyzers by Link Instruments, Inc Logic Analyzers

Transcription:

1/24

Table of Contents 1Introduction... 4 2Starting up a... 4 2.1What do you need to get started?...4 2.2Connecting and configuring your LOG Storm device...4 3Using LOG Storm for the first time...6 3.1LOG Storm Device at a glance... 6 3.2What is a Project in?...6 3.3 interface at a glance...7 3.4Step-by-Step : define your project...8 3.4.1Setting up the 'Logging session'...8 3.4.2Setting up the 'trigger'... 8 3.4.3Saving the project... 9 3.4.4Grouping data...11 3.4.5Using the waveform viewer...12 4Using the serial protocols decoders...13 4.1I2C Decoder... 13 4.1.1How to set up I²C decoder...13 4.1.2Capturing data...15 4.1.3Decoding the I²C protocol...18 4.2Using the SPI Decoder... 20 4.2.1How to set up SPI decoder...20 4.3Decoders controls...24 2/24

References [] History Version 1.00 1.01 1.02 1.03 Date 22 Feb 2012 12 April 2012 20 Nov 2012 02 Jan 2013 Description Initial revision Update for LOG Storm / Release Added I2C and SPI decoders Update for 1.1.4 release Turned 'getting started guide' into 'user's guide'. 3/24

1 Introduction 2 Starting up a 2.1 What do you need to get started? To start using LOG Storm, you need: A LOG Storm Device; Software; A PC installed with Microsoft Windows XP or Microsoft Windows 7 (32 bit or 64 bit version);.net 4.0 or.net 4.0 client profile framework installed (or a more recent version) download link: http://www.microsoft.com/downloads/en/details.aspx?familyid=e5ad0459-cbcc-4b4f-97b6fb17111cf544 One free USB port. 2.2 Connecting and configuring your LOG Storm device 1) Install software, including USB driver and license file (please refer to LOG Storm Studio Installation guide) 2) Start Software 3) Open the device selection window: a. Locate and click on the 'Select Device' icon in the main toolbar: - or: b. Click on device status : - or: c. 4) Go to Tools > Select Device Click on your device in the device selection window and click on button Connect. 4/24

If your device is not physically connected to your PC or if the USB driver is not properly installed, the device won't be recognized and the list in the 'Select Device' Window will be empty. After a few seconds, the device is properly configured and ready to be used. The 'device selection window disappears and the device status turns green: REMARK: LOG Storm device is now properly configured to run with a 3.3V LVCMOS signaling standard. To use a different voltage for the I/Os, you must: 1) Select the right range in the 'Select LOG Storm Device' window 2) Supply the proper corresponding voltage through the I/O external voltage connector.! If you don't supply the external voltage, the device will automatically switch back to 3.3V voltage for the I/Os! 5/24

3 Using LOG Storm for the first time 3.1 LOG Storm Device at a glance I/O External voltage supply connector CLOCK PORT DATA PORT USB connector There are 3 main parts to the LOG Storm device connector: Port name Number of I/O pins I/O names Purpose DATA PORT 20 P0 P19 LOG Storm input data port. Logged data is sampled from this port. CLOCK PORT 2 CKI CKO CKO mirrors an internally generated clock signal; CKI can be used as an input pin for providing an external reference clock signal. GND pins 8 GND Ground pins LOG Storm device and slave devices must share the same ground signals. 3.2 What is a Project in? A 'Project' in is a a set of settings and definitions that can be saved as a.lsp file and later recalled. Each.lsp file encloses: The configuration / setup of a session. It includes: trigger setup, logging setup, data grouping setup,... Pointers to past saved trace data (logging history). 6/24

3.3 interface at a glance 7/24

3.4 Step-by-Step : define your project 3.4.1 Setting up the 'Logging session' Locate the 'logging' tab in (see picture below). It has got the following paramters: Logging type: this defines how you will use LOG Storm. Number of triggers: once started, LOG Storm will detect this number of triggers (see further on about 'trigger definition') and stop once this number is reached. Fixed duration: LOG Storm will run during the time specified. Run until stopped: LOG Storm will run until the STOP button is hit. START button STOP button Number of triggers: this is where the number of triggers to be detected is specified in the correponding logging type. Clock source: internal or external. Choose 'Internal' for using LOG Storm's internal reference clock for data sampling. Choose 'External' if you wish to supply a reference clock onto the CKI pin. External clock should be of the stame voltage standard as the I/Os (by default: 3.3V) and be a continuously toggling signal applied before using the device. Clock division: a clock divider uses this value to generate the sampling clock. The sampling clock frequency will be: 100 MHz / Clock division. Split size: this specifies the maximum size of each stored file. 3.4.2 Setting up the 'trigger' Locate the 'trigger' tab in (see picture below). 2 types of 'trigger' are available: 'Fixed length' trigger defines a START trigger condition and a capture length. LOG Storm starts recording data upon the detection of the START condition and collects the specified number of samples. After this, it waits until the detection of a new START condition.events occurring before the START condition can be recorded too, by defining a PREFETCH length.in addition, expressions defining which data must be recorded can be defined (green area on the figure). 'Variable length' trigger does not define a capture length, but a STOP condition and optionally a POSTFETCH length. LOG Storm data logger stops after the POSTFETCH length and waits until a new START condition. Similarly to the fixed length, a data capture condition can be defined. The START, STOP and CAPTURE conditions are defined as logic expressions built on the input digital signals probed on P0 to P19. To enable them, click on 'Start', 'Stop' and 'Capture' buttons in the user interface. Then, select the 'trigger mask', which defines if the values should be combined as a 'AND' or a 'OR' expression. 8/24

The logic values that can be detected from any of the 20 intput bits are: 1 or 0 as high or low logic levels R or F as 'rising edge' or 'falling edge' to detect a transition from low to high or hogh to low. T for 'toggling' = any type of transition X for don't care. Text boxes allow entering the 'samples per trigger', pre-fetching and post-fetching, according to the chosen trigger type. 3.4.3 Saving the project Once logging and trigger are defined, you can save the project by clicking onto the 'save icon', or going to the 'File' menu > Save or Save As. Saving a project file also defines the directories where your logged data will be saved. At the location where you save your project file, a directory with the name of the project will be created. 9/24

Each LOG Storm RUN will be stored in its own subdirectory. It is named after the time it was run (see screenshot below). Each run directory will contain a.dat file. This is where the raw data are stored. Once your project file is saved, you are ready for running your first capture. Status icons at the bottom of the window should turn green. 10/24

3.4.4 Grouping data You can group data bits to ease readability and data organization. Locate the 'Groups' tab Click on 'Define Groups' Specify group name here Specify display format here Click on probes to select them for the group 11/24

3.4.5 Using the waveform viewer Locate and click on GTK Wave icon. Select the range to display Add the groups that you want to display Once the file to display is generated, you GTK Wave viewer opens: 12/24

4 Using the serial protocols decoders 4.1 I2C Decoder 4.1.1 How to set up I²C decoder Open the 'Decoders window' by clicking on its button in the toolbar. 'Decoders window' button A window opens: This window gives the list of the existing decoders. A 'decoder' is used to decoder a specific protocol from specific LOG Storm Studio inputs. In this case, a I²C protocol decoder will be defined. Click on 'Add' button. 13/24

The 'New Decoder' window appears and prompts for the decoder's characteristics. The following items must be specified: Decoder name: this is a user-defined name that will be used to specifically recognize the defined decoder during operation. Type: protocol type. Choose I2C. Click on 'Add' button. A new window appears, prompting for the LOG Storm device's probes used for the decoding. For I²C protocol, only 2 probes will be used: one probe connected to SCL and the other one connected to SDA. We choose P0 and P1 and specify it in this window. Probe's numbering can be found on the connector label of LOG Storm device: Label with probe numbers P0 to P19. 14/24

Click on 'Done' button. Now, the I²C decoder setup is over, and it appears in the 'Serial Decoders' window. Now click on 'Close'. Remark: serial decoders can be defined before or after data capture, as they analyze sets of data captured with LOG Storm data logger / logic analyzer device. 4.1.2 Capturing data I²C decoders defined in decode the I²C protocol based on raw data sampled with LOG Storm Studio. To capture the raw data, LOG Storm Storm must be set up and run. Specifically, the session settings, trigger and capture characteristics must be set up. Please refer to LOG Storm documentation for more details about this. In this guide, we'll propose a simple step-by-step example of such a setup. We suppose we intend to capture I²C bus traffic. We would like to start capturing data when we detect the first 'start condition' on the I²C bus. Once this condition is detected, we would like to collect a buffer of 10.000 samples, which we estimate would be sufficient to see the I²C traffic and decode what we would like to decode. Remark: LOG Storm's full trigger and capture capabilities can be used here (see below for an overview). LOG Storm Studio's trigger and capture definition can be more complex in order to properly filter the bus traffic that you're interested in. 15/24

Picture 1: trigger definition - overview 4.1.2.1 Session setup ('Logging subtab' in the main window): Here are the parameters of the capture: Logging Type Number of trigger Data capture is based in trigger condition (and not capture length) Number of triggers: 1 We would like to detect the trigger condition one time. Clock source Internal We use LOG Storm device internal clock reference to sample data. Clock division 10 This sets up the sampling clock to 10 MHz (100 MHz / 10). 10 MHz is sufficient to sample the I²C bus, which is supposed to toggle at 1 Mbit/s Split size 1 Msample We keep the default setting for the file size. 16/24

4.1.2.2 Trigger setup Fixed length trigger: upon occurrence of the trigger condition, we'll collect a fixed number of samples and then stop. Samples per trigger: set to 10000 Pre-fetching: we leave this to the default 8 samples. Trigger: trigger is set up to detect a falling edge on P1 while P0 is held at 1 which corresponds to a 'START condition' on the I²C bus. 4.1.2.3 Capturing data Having connected LOG Storm to the I²C bus, click on run button to capture data: RUN button Having defined 'groups' on P0 and P1, we can see that traffic has been captured (refer to 'Getting started guide to kow how to define groups). 17/24

4.1.3 Decoding the I²C protocol Open the 'Serial decoders window again, select the decoder and click on 'Apply'. The following tab opens: List of decoded transfers during the selected run Transfers details Detailed transfer view: viewing single decoded transfer 18/24

Clicking on the Open Waves button allows viewing the capture and decoding: General view on the capture... Zoom on a specific transfer. 19/24

4.2 Using the SPI Decoder 4.2.1 How to set up SPI decoder Open the 'Decoders window' by clicking on its button in the toolbar. 'Decoders window' button A window opens: This window gives the list of the existing decoders. A 'decoder' is used to decoder a specific protocol from specific LOG Storm Studio inputs. In this case, a SPI protocol decoder will be defined. Click on 'Add' button. The 'New Decoder' window appears and prompts for the decoder's characteristics. The following items must be specified: 20/24

Decoder name: this is a user-defined name that will be used to specifically recognize the defined decoder during operation. Type: protocol type. Choose SPI. Click on 'Add' button. A new window appears, prompting for the LOG Storm device's probes and settings used for the decoding. Parameter Description Clock probe number Defines the probe number on which the SPI clock (SCLK) signal is connected. Clock sampling edge Specifies on which edge of SCLK dat must sampled and decoded. Serial line(s) probe number(s) Specifies which probes should be decoded as serial data. Multiple lines can be decoded, in which case they are separated with commas. Slave select probe number(s) Defines the slave select line if applicable. This enables the decoder to find the accesses boundaries. Multiple probes can be used, in which case they are separated with commas. Slave select polarity (Active when a slave select probe is specified). Defines the active level of the slave select line. Define idle time (Alternative to using slave select probe). Define frame size (Alternative to using slave select and/or idle time): defines the size of one frame on the data line. The serial data will be decoded in groups of this size. Once defined, the decoder is applied by clicking the 'Apply' button. 21/24

Detailed transfer view: viewing single decoded transfer List of decoded transfers during the selected run 22/24

Clicking on the Open Waves button allows viewing the capture and decoding: View on the decoded capture: 23/24

4.3 Decoders controls Decoder Details: provides details on the applied decoder and the data set used for decoding. Open Waves : opens the waveform viewer. Edit Decoder : allows changing the characteristics of the decoder. Export as CSV : allows exporting the decoded data to a comma-separated value file. Refresh : Forces refreshing the decoded data (e.g.: when the characteristics of a decoder have been updated). 24/24