Skip to content
Commits on Feb 2, 2016
  1. Merge pull request #27 from dhiltonp/master

    Give Leonardo-type Arduinos 2k sample size.
    committed Feb 2, 2016
  2. @dhiltonp
Commits on Dec 16, 2015
  1. Update for CLI compiling.

    Add function declarations for the inline capture functions and add a
    note to the README explaining how to compile from the CLI using the
    ‘arduino-mk’ package.   Known to work on Debian 8, but untested
    committed Dec 16, 2015
  2. v0.14. Rearrange DEBUG functionality, disable by default.

    v0.14. Add ‘DEBUG_MENU’ which can be uncommented to enable the basic
    debug menu with the ability to run a capture / dump the data etc.
    DEBUG and DEBUG_MENU are commented out by default to save RAM.
    committed Dec 16, 2015
Commits on Feb 7, 2015
  1. Add additional diagnostic commands.

    You can connect via the serial monitor and send ‘?’ to get a list of
    commands available.  This allows some diagnostics when the board isn’t
    working with the OLS client.
    Sending ‘4’ does a 4MHz capture and ‘2’ dumbs the data buffer for
    example.  Recommended to use this with the simulated signal via a
    timer.  See the bottom of the setup() function and change the ‘#if 0’
    to ‘#if 1’ to enable it.
    Also, fix a long standing bug that broke 2MHz captures and the
    ATmega168. (improper #if defined check)
    committed Feb 7, 2015
Commits on Jun 22, 2014
  1. Update README formatting.

    Reduce lines to less than 80 columns to avoid wrapping.
    committed Jun 22, 2014
  2. Fix sketch size for ATmega168

    Automatically skip the inline2MHz sample rate on an ATmega168 based
    Arduino.  4MHz will still work fine and the sketch will fit (10kB
    instead of 16kB+)
    committed Jun 22, 2014
  3. Cleanup README

    Cleanup older notes from the README.  Move the part about disabling
    auto-reset to towards the end under ‘older notes’ and add a comment
    about how it shouldn’t be necessary.  Almost move the part about the
    device profiles as they are builtin to ols-0.9.7 or newer.
    committed Jun 22, 2014
Commits on Sep 6, 2013
  1. Correct preprocessor logic to avoid data gap on the Mega.

    Fixes issue #14 where I copied the preprocessor logic from a different
    Mega related check and didn't fix up the elif.  So samples from 512 -
    1023 were always zero on the Mega.
    Update to v0.12
    committed Sep 6, 2013
Commits on Aug 3, 2013
  1. Tweak README

    committed Aug 3, 2013
  2. Add notes about 2MHz/4MHz mode and binary size.

    Also move a couple more things under #ifdef DEBUG in an attempt to
    reduce the code size for ATmega168.
    It current doesn't fit in the '168 but maybe after some more tweaks.
    committed Aug 3, 2013
  3. Add 2MHz and 4MHz sample rate support.

    Use unrolled loops to sample at 2MHz & 4MHz rates.  Based on some
    testing by Bob Davis (
    The maximum with a 16MHz clock is 5.3333MHz (3 cycles per sample) but
    sampling at that rate isn't very accurate.  Accuracy is pretty good at
    2MHz & 4MHz.
    committed Aug 3, 2013
Commits on Jul 23, 2013
  1. Release v0.10 with a fix for the Arduino Uno R3.

    The only change is an updated ols.profile-agla.cfg that works with the
    Arduino Uno R3.
    committed Jul 22, 2013
  2. Increase portdelay so that Arduino Uno R3 works.

    For some reason the Arduino Uno R3 (but not my earlier / original Uno)
    needs a longer delay after reset.  I haven't investigated the cause
    yet, but increasing to > 1700ms seems to fix it.
    Bump to 2000 just to be safe in all cases.  This should fix the Uno R3
    issues that have been reported a couple of times now.
    committed Jul 22, 2013
Commits on Jun 23, 2013
  1. Bump metadata for version 0.09

    committed Jun 22, 2013
Commits on Jun 22, 2013
  1. Update comment to reflect that PORTD seems to work, but needs testing.

    I'm still working on PORTD triggers.  I'm not yet satisfied they are
    working 100% correctly.
    committed Jun 22, 2013
  2. Revert to PORTB (Arduino pins 8-13) and make PORTD a configuration op…

    Triggers are more reliable on PORTB.  I am working on fixing triggers
    on PORTD, but I'm setting this back to original behavior (with a
    #define USE_PORTD available) so this isn't broken for triggering.
    committed Jun 22, 2013
Commits on Feb 9, 2013
  1. Switch to 6 channels on PORTD.

    Switch from PORTB to PORTD so that a full 6 channels can be used
    without messing with the LED.  Per suggestion in issue #7.  I was
    unable to find any issues with using PORTB.  During initial development
    I ran into some noise & stability issues but I believe those were
    solved later via allowing the ports to settle prior to beginning
    This allows for 6 channels, starting with digital pin 2 (next to the
    UART TX pin) and ending at digital pin 7.
    The debug pin is now digital pin 8.
    committed Feb 8, 2013
Commits on Feb 8, 2013
  1. Implement RLE mode for 50Hz or lower sample rates. (via hhermsen in i…

    …ssue #9)
    Support RLE mode for samples rates of 50Hz or less.  Code from hhermsen
    in issue #9.
    This is a work in progress.  Hopefully RLE can be added for higher
    sample rates in the future.
    committed Feb 8, 2013
  2. Update copyright year.

    committed Feb 8, 2013
  3. Bump to v0.07

    committed Feb 8, 2013
  4. Add firmware version to metadata

    Return the firmware version to the Logic Sniffer extended SUMP protocol
    metadata request.  Now you can see what version is loaded on your
    committed Feb 8, 2013
Commits on Jan 28, 2013
  1. Update device profile clockspeed.

    The Mega also runs as 16MHz so update device.clockspeed to match.
    committed Jan 28, 2013
  2. Update device profile clockspeed & portdelay.

    Set clock speed to 16MHz.  Hopefully this value works fine with the
    client since the previous 100MHz was not the actual clockspeed anyway.
    Also, adjust the to 1500ms.  People can test
    their own device for the fastest value, but this should be a safer
    default for most people and hopefully eliminates som frustration for
    first time users.
    committed Jan 28, 2013
  3. Update device profiles.

    Add the 'device.receive.timeout' values required by the latest
    LogicSniffer client application.
    committed Jan 28, 2013
Commits on Feb 27, 2012
  1. Improve pre-trigger sampling on below 500kHz sample rates.

    The sample loop was not padded properly in the loop waiting for the
    trigger to fire. As a result it was sampling at a much higher rate than
    the post trigger sample rate.  I've added some delays and padded it out
    a bit, it needs further measurement, but is usable now.
    committed Feb 27, 2012
  2. Merge pull request #3 from scottp/master

    Correct long standing bug in the device profiles on github where the data was being reversed by the client due to the reverseOrder setting.  The sketch returns the data in the sampled order, but the client appears to expect it reversed, so the sense of the setting is backwards. Data is in the correct order based on a simple test program, even though the setting is "wrong".  Invert the comment as well.  Also increase the delay on the Mega as it doesn't always respond fast enough. Patches from scottp.
    committed Feb 27, 2012
Commits on Feb 3, 2012
  1. @scottp

    ols.profile-*: Reverse IO order received in config

    Fixed reverseOrder and comments
    As per this post:
    The comment talking about device.samples.reverseOrder is reversed. I have
    fixed the order and the comment and tested.
    scottp committed Feb 3, 2012
  2. @scottp

    ols.profile-aglam.cfg: Increased delay time

    On testing a number of Arduino Mega boards, I found the device missing error.
    Now it seems to be alw�ays working if you set it to 2000.
    scottp committed Feb 3, 2012
Commits on Nov 5, 2011
  1. Fix ATmega168 comment.

    committed Nov 4, 2011
  2. Update for Arduino 1.0 support.

    Change file extension to .ino Change Serial.print(x, BYTE) to
    committed Nov 4, 2011
Something went wrong with that request. Please try again.