Arduino Forum

Development => Other Hardware Development => Topic started by: graynomad on Sep 07, 2011, 08:41 am

Title: Hardware/software debugging tool
Post by: graynomad on Sep 07, 2011, 08:41 am
We've been talking a bit about debugging tools like logic analysers/sniffers, monitors etc lately and it's got me thinking about a designing a general-purpose debugging tool. Maybe something along the lines of a Bus Pirate on steroids.

Some obvious features could be

Serial sniffing of all serial common protocols
Controlled data generation for all common serial protocols
Logic analyser
Analogue storage (scope)
Analogue waveform generator
Digital waveform generator
Frequency/pulse generator
PWM generator
Monitor interface (as in a monitor program running on a DUT)
DMM (multi metre)
Logic probe

I'm just working on some rough block diagrams at the moment but does anyone have ideas or a pet wish list for features in such a device?

______
Rob
Title: Re: Hardware/software debugging tool
Post by: robtillaart on Sep 07, 2011, 09:39 pm

I'm missing the volt ohm amp meter - with min/max/avg values. The ADMM in short ;)
Title: Re: Hardware/software debugging tool
Post by: CrossRoads on Sep 07, 2011, 11:54 pm
Thinking to use a PC for a display, or something like a large (128x64, 256x128) graphics display for output?
Then implement soft buttons for selecting frequency, moving  cursors for measurements, etc?
Title: Re: Hardware/software debugging tool
Post by: graynomad on Sep 08, 2011, 02:15 am
A simple DMM may be an option, that's getting a little analogue for me but maybe.

I've also added "logic probe".

As for the display, my first thoughts are to use a PC, with something like VB.NET you can do a fantastic UI. But then it's tied to Windows. WinDev looks pretty good but it's > $1000. I suppose there's Java but I've never liked the look and feel of Java apps. Maybe.

I like large GLCDs and I have a couple of 4DS ones with touch right here. Even a QVGA (240 x 320) is pretty small though and I worry that it would be too fiddly. If you look at the Xprotolab

http://www.gabotronics.com/development-boards/xmega-xprotolab.htm (http://www.gabotronics.com/development-boards/xmega-xprotolab.htm)
   
Great product but that display would drive me nuts. It's a lot smaller than 240 x 320 though so maybe the 4DS display would be OK. Straight up though that adds $80 to the cost.

As I write about it I'm leaning more towards a PC program, there's just so much more you can do. Maybe a combination of both, simple stuff like DMM display on an LCD, 1000's of bytes of serial trace data and analysis on the PC.

______
Rob
Title: Re: Hardware/software debugging tool
Post by: graynomad on Sep 08, 2011, 03:05 am
Done some research, DMM doable with a chip like the MAX1492 DVM chip with SPI interface.

______
Rob