Print

HomePage

WHY?

I just want to tell you why.
Because we love electronics and I love challenges.
After I saw companies like USBee or Saleae designing apparently sophisticated usb logic analyzer and selling them to a considerably high price, I told myself: "how hard is to make one of those test pods?".
And the answer came the next day:" very very simple".
There where many talented people in many forums building their own analyzer based on the Cypress chips.
Considering that I had some experience with the DUX Board and Comedi, it was straightforward to design a small PCB with a small BOM.
Then I found another talented very hands on designer in Beijing called XZL who made it happen.
And in few days we had the first prototypes.
We realized that Windows users cannot take advantage of the Comedi framework, so we decided to start developing our own firmware.
As USBee and Saleae suggested, software interface is the most expensive task and that's why now we need your support.
We will finance the open source software development with the sales of the hardware.

Having said that, please read the warnings here before using the boards.

BugLogic

We are finally proud to present the BugLogic version2!
The BugLogic board is an effort to produce a low cost usb logic analyser which supports pre-existing commercial software as well as an open firmware.
So in essence:
  • open source hardware and software
  • low cost
  • supports existing softwares like the Salae, USBee and Sigrok
  • small
  • easy to customize
After a year of reversing, designing, prototyping and God knows how many failed boards, we have a fully functioning product!
This is the bare PCB:


This is the aluminium case:


Supported Software

The BugLogic board supports automagically:
  • the Saleae USB logic software here (external link)
  • the open source project Sigrok here (external link).
  • the USBee SX and USBee ZX software (free or pro) here

Please be careful when you play with those softwares as the BugLogic has a direction switch for the IO ports.
That means they are either input only or output only.
Read the manual before using it.
I keep a mirror of the last version of each software working with the board on my directory here,
this is nothing illegal, is just a mirror copy of freely downloadable software from the usb logic companies.

The jumper on the board is to select which EEPROM bank will be used to fetch the VID and PID for the USB identification.
So you just need to switch the jumper to use the Salee or the USBee firmware which will be loaded by the host computer.
You can also use the Cypress Utility? to program the VID and PID. I need to write a tutorial about that too. biggrin


Documentation

The documentation available at the moment is mostly 2 pdfs:
The schematic is not available at the moment as I'm converting to a standard Eagle design sheet.

Video tutorials

A short introduction by myself!



Dressing the board with the aluminium case is quite simple.
You need to do it at least one time to set the jumper for the software selection.



I will put more videos soon.

Application examples


I'm writing some tutorials describing how to connect the header for debugging common protocols like:
  • a serial interface?
  • an SPI interface?

Here's a screenshot of a debugging session with a serial interface:


Developing open source firmware


The Cypress FX2-based devices, such as the Saleae Logic and the USBee SX, use only a minimal vendor-provided firmware.
The only thing it really does is to set the sample rate and turn on the chip's auto-mode with 2 end points. Nevertheless, the vendors provide the firmware as a binary blob, with no source.
We are trying to develop a simple open source firmware in cooperation with the Sigrok (external link) group, with free software such as:

  • SDCC (external link), the Small Devices C Compiler, is a compiler specifically suited to small MCUs, and has support for the 8051 core in the FX2.
  • fx2lib (external link) is an open-source library for writing firmware on the FX2. It has a number of interesting functions, including implementing custom USB vendor commands.
  • GNU Radio's USRP2 (external link) board has an FX2 on it, and GNU Radio has extensive custom firmware for it.

Uwe Hermann (external link) is working on an open-source FX2 firmware for use with various logic analyzers.



Google Search

 
buglogic.robomotic.com
WWW