Sigrok: An Open Source Logic Analyzer
Uwe Hermann today announced the availability of sigrok, one of the first Open Source logic analyzers. Tired of being tied to Windows and proprietary software with limited features, in late 2010 he began work on flosslogic, which, after discovering Bert Vermeulen was also working on similar software, became sigrok. From the article: "Thus, the goal was to write a portable, GPL'd, software that can talk to many different logic analyzers via modules/plugins, supports many input/output formats, and many different protocol decoders. ... Currently supported hardware includes: Saleae Logic, CWAV USBee SX, Openbench Logic Sniffer (OLS), ZEROPLUS Logic Cube LAP-C, ASIX Sigma/Sigma2, ChronoVu LA8, and others." Their wiki has a list of supported protocols as well. You can grab the source over at SourceForge.
OLS has existed with a fully open source client for nearly a year at this point.
It seems to have a whole pile of new features - but it's not the first by any means.
retrorocket.o not found, launch anyway?
Several years ago I did a project where I interfaced a Playstation controller to a Pocket PC using a PIC microcontroller that hosted the controller and bit banged IrDA out an infrared LED to the PPC. To exactly match the PS IO timing I rigged up a 4 channel logic analyzer using the raw parallel port of my PC (in other words it was basically software I wrote and hardware consisting of a parallel cable that had one end lopped off exposing bare wires). That worked great, and so did the PS adapter I created.
As a side note, that is one of the appealing things about the Raspberry Pi, is that it provides a fully modern OS and even onboard development environment, but still provides low GPIO hardware access. Fun fun fun.
Better known as 318230.
This is a software interface between a Logic Analyzer and a computer. There are standalone devices that need no computer...
Chaos maximizes locally around me.
http://sigrok.org/wiki/Main_Page
"The sigrok project aims at creating a portable, cross-platform, Free/Libre/Open-Source logic analyzer software that supports various logic analyzer hardware products. It is licensed under the terms of the GNU GPL. Design goals and features include:"
You know, like "grok". Have the slashdot janitors been bitten by autocorrect?
Another open source project, that is open source software and hardware, is the neat and cheep little single-channel analyzer, the Nano v2. For basic uses (measuring PPM signals on an arduino board for example), it works very well and is a deal for under $90. I bought mine to work on radio control things so I can example the PPM signal streams coming off the CPU, and the signals going out the servos. In particular I make sure that the head tracking channels are being properly mixed into the PPM stream at the radio end for flying airplanes with first-person video and a head-tracking camera (using gyros).
There are plenty of other logic analyzers that are open source. To name a few: SUMP, Open Workbench, Logic Shrimp.
They should call this Spock
Until I2C is 100% released, this is not complete- that's my minimum benchmark. I've got a Saleae 8 channel and it looks like it supports it- but the last thing you want to be doing when you're working on a project like this is debugging your test hardware.
I like the portability and flexibility of the Saleae device, but if I'm getting deep into the protocol... the Beagle from Total Phase works much better. Total phase also has a decently affordable USB analyzer. What I've found is that a simple analyzer works fine for basic debugging, but once you start getting into complex debugging or real-time, the software layer that resides on the PC is what really differentiates what is a "real tool."
Collecting data is one thing, but sorting through it is where the skill is involved, and decent software becomes vital.
Nice project with laudable goals, but this quote is just childish. I own a Logicport (shown in picture) and the Windows software that comes with it works well. Complain about it not being cross platform, but "Windows sucks and all software on it sucks!" is not insightful or informative.
I disagree. While "Windows sucks and all software on it sucks!" is not the kind of statement that a reasonable person without a lot of real-world experience with Windows and software written to run on it would assume would be true at face value, after sufficient time has elapsed working with Windows, reasonable people do come to realize that it is most definitely the case. The quote is indeed insightful, and is informative enough to save those who are willing to accept its wisdom a considerable amount of pain and time.
"Windows sucks and all software on it sucks!"
I'm not sure they were saying that at all, actually. I think they were simply saying the logic analyzer software for Windows was crappy. I don't think they even really said Windows was crappy.
Also FTA: I grew tired of almost all devices having a proprietary and Windows-only software, often with limited features, limited input/output file formats, limited usability, limited protocol decoder support, and so on.
A lot of the software IS crappy and it is certainly Windows only. What's so childish about not liking that?
Indeed an insightful and informative quote? What bullshit.
Develop software on Windows for as long as I have and you will come to understand that it is actually true. The foremost reason that it is true is because Microsoft is not driven to make changes to Windows to improve it, to make the operating system better or faster or more secure or less crashy. Their primary motivation is to make money and to change the enivironment to be less favorable to competitors. Windows 98's treatment of extremely robust and feature-rich third party TCP/IP stacks as viruses didn't help customers or improve Windows, their detection and overwriting with the native Winsock DLL was a straight monopoly move. MSVC's compiled C/C++ was not phased out in favor of .NET because it was better, or because the VM approach made sense on a single platform, it was a response to the perceived threat of Java. Making Excel stuff its data structures into a .ZIP file and calling them .XLSX files wasn't better for anything, it was simply a deliberate breaking of interoperability in an effort to slow the adoption of non-Windows desktops among enterprise customers and force them to buy new copies of Excel. The list goes on and on and on, but it's all summarized accurately by the original quote.
Smarter than an oscilloscope, dumber than a protocol analyzer.
Your answer is correct and informative. And yet will still be totally useless. Because your target audience is a guy who doesn't even know what a logic analyzer is.
I really did laugh a bit when I read your post. Mostly because it reminded me of an old joke.
Weaselmancer
rediculous.
A lot of the software IS crappy and it is certainly Windows only.
Amen to that! One of the first things that got me interested in developing this software was how expensive decent electronic test tools with capable software really are. Unless you're willing to drop some serious cash, you get a device that contains no more than £15 of parts being sold for >£400, with VB6 software than is generally no more than barely usable with each manufacturer reinventing the wheel over and over.
sigrok is cool because we can use the same software to sample from any device, but they can all share the powerful decoding features of the software, no matter how expensive the logic analyser hardware. Then we can begin to do cool stuff by piping the collected data through any script or FOSS tool that we might care to try - even in continuous real time. For example recently I have been working on an IS decoder (digital sound) that can extract the digital data from an audio interconnect, then pipe it into a wav. I can now hear what my DSP chip is producing, and that with a device that costs less than £30.
Bert Vermeulen has been working on adding support for analog sampling for oscillascope devices. Maybe one day soon we will be able to leverage the power of GNU Radio, and have them work as a spectrum anaylser, a demodulator.
The possibilities are endless, and lightyears ahead of anything the proprietory world has to offer.
The first things that comes to my mind when I read the specs of a hardware like a logical analizer, and it says it requires Windows are that it won't interoperate with other tools, it isn't programmable, and it won't export data the way I want it to. Then, I remember that it will only work for 3 years, since nobody will care to port whatever driver it uses to make something like that work on Windows.
It is not that all Windows software is crappy, it is that the people/organizations that create Windows only code have a specific mindset, and that mindset isn't compatible with making good tools for that domain.
Rethinking email
So, where are all the folks who complain there are not enough "tech" articles on /. anymore?? There are only 20 comments in this thread, and it's several hours old.
Posting comments on non tech articles about there not being enough tech articles. Pretty obvious really.
Realistically.. This is beyond the ability of many /. posters to understand. Let alone flame. and they haven't even got a brand to cheer for. So many will take a quick look at the summary, not understand a word of it, and go away again.
This is real tech.. Not consumer tech, like the latest iPhone rumours or who invented tablets.
It is difficult to get a man to understand something when his job depends on not understanding it.