Close

Making a TCP Server for BeagleLogic

A project log for BeagleLogic Standalone

BeagleLogic, now as a turnkey and standalone 16-channel Logic Analyzer

kumar-abhishekKumar, Abhishek 07/24/2017 at 07:530 Comments

One of the bottlenecks when using BeagleLogic in conjunction with a PC is that unless you are using the web interface, the logic capture needs to happen on the BeagleBone (in an SSH shell) and then the captured file needs to be copied to the PC in order to view the capture using the PulseView software in the sigrok suite and do further post-processing.

To merge these two steps into one, I am building a TCP server for BeagleLogic that will run on port 5555 of the BeagleLogic standalone. PulseView supports connecting to Logic Analyzers over the TCP/IP protocol, and hence I am building support for the BeagleLogic TCP protocol into libsigrok so that it can natively interact with BeagleLogic standalone, and support capturing logic data directly from the PC, skipping the intermediate step of copying the files from the BeagleLogic standalone onto the PC.

The TCP server is built using NodeJS and is currently checked into the BeagleLogic repository. It can be found at - https://github.com/abhishek-kakkar/BeagleLogic/blob/master/tcp-server-node/server.js

Now to make the TCP server work with PulseView and retrieve captures directly into it.

Discussions