mgkuhn / xmc-sniffer Goto Github PK
View Code? Open in Web Editor NEWA low-cost logic analyzer based on the Infineon XMC4500 Relax Lite board
A low-cost logic analyzer based on the Infineon XMC4500 Relax Lite board
XMC-Sniffer is (the beginnings of) a basic low-cost logic analyzer running on an Infineon XMC4000-series microcontroller, in particular at the moment the Infineon XMC4500 Relax Lite Kit. The included XMC firmware observes eight digital inputs (by default PORT1 pins 8-15, weakly pulled high) with a sampling frequency of at least 1 MHz, and records for each change of input bits there a 32-bit record that includes a 23-bit timestamp. If there is no change on the input, it appends one 32-bit record every week. LED P1.0 indicates that recording is in progress and LED P1.1 blinks for 70 ms after each change of input status. The firmware is currently operated via the remote-debug interface of gdb and openocd, which are used to both start the recording and retrieve the resulting records. Installation (tested on on Ubuntu Linux 18.04): $ sudo apt-get gcc-arm-none-eabi binutils-arm-none-eabi gdb-multiarch openocd $ make ./xmclib # to download Infineon's XMCLib CMSIS library $ make Run: $ make ocd # in a separate terminal to start the openocd server $ make sniff This currently records for 20 seconds, but that time (and the output filename "trace") can easily be changed in sniffer.py. Writing any tool to analyze or visualize the resulting "trace" file is currently still left as an exercise for the reader. Author: Markus Kuhn
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.