logan 0.0.1

Logic Analyzer and Protocol Decoder library
Documentation
  • Coverage
  • 0%
    0 out of 55 items documented0 out of 28 items with examples
  • Size
  • Source code size: 47.71 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 4.36 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • zwizwa/logan
    2 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • zwizwa

logan - Logic Analyzer in Rust

Install from crates.io

This crate is published on https://crates.io/crates/logan to stick to standard distribution channels, but beware that this is my first create, and that the repository contains some glue code in different languages.

Install from source

Use cargo build to compile the rust code.

Included in the dev directory is a C++ wrapper for the Saleae Logic 8 library. Use make -C dev to download upstream library and build the wrapper.

The logan script can be used to start a live analysis session on the command line.

There is also Erlang code to wrap the logan script in erl/logan.erl. This depends on https://github.com/zwizwa/erl_tools

Status

State is proof-of-concept. There is not yet any documentation but it is quite straightforward to use and extend if you read Rust.

This started out as a project to try out Rust in a performance critical setting. It is a little rough around the edges. APIs will probably change slightly to make them more flexible.

This code relies on heavy inlining to get to reasonably good performance (250-300 M samples/sec on a X201).