GithubHelp home page GithubHelp logo

kristallwang / amungofx3dumper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amungo/amungofx3dumper

0.0 0.0 0.0 1.99 MB

Stream dumper for Amungo's nut4nt board with NTLab's nt1065 navigation chip

Home Page: http://www.amungo-navigation.com/

License: Apache License 2.0

C++ 54.13% C 44.88% QMake 0.99%

amungofx3dumper's Introduction

AmungoFx3Dumper

Stream dumper for Amungo's NTLab's nt1065 board

Usage:

AmungoFx3Dumper FX3_IMAGE NT1065_CFG OUT_FILE|stdout SECONDS|inf DRV_TYPE

FX3_IMAGE - name of img file with firmware for cypress FX3 chip

NT1065_CFG - name of hex file with nt1065 configuration

OUT_FILE - output file name, use 'stdout' as a file name to direct signal to standart output stream

SECONDS - number of seconds to dump, use 'inf' to dump until Ctrl-C is pressed

DRV_TYPE - driver installed in your system. Use 'cypress' or 'libusb'

Examples:

  • dumping one minute of signal and use cypress driver:
  • AmungoFx3Dumper AmungoItsFx3Firmware.img nt1065.hex dump4ch.bin 60 cypress
  • dumping signal non-stop to stdout:
  • AmungoFx3Dumper AmungoItsFx3Firmware.img nt1065.hex stdout inf libusb

File format

The program dumps all data from a FX3 board without any changes. Usually the format is:

  • 4 channels
  • 2 bits per sample per channel
  • Overall 8 bits (1 byte) per one sample for all channels
  • Decode table is
  • 00b -> 1
  • 01b -> 3
  • 10b -> -1
  • 11b -> -3

You can use AmgExtract to extract several channels from output file and converting data to usual signed char format. AmgExtract is located here: https://github.com/amungo/AmgExtract

amungofx3dumper's People

Contributors

airtago avatar amungo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.