Electronics -- USB Live Oscilloscope: SoftwareUSB Live Oscilloscope SoftwareAlthough the oscilloscope software is in early development and lots of features are missing, the most interesting part, namely the USB low-level routines are working rock-solid. While playing around I had the oscilloscope running for 8 to 12 hours without a single crash. Here's a screen shot of the version 0.27.
(Missing) Features:
DownloadHere's the full software tarball for download. Note that you need some external packages to get it compiled.
BuildingFor build instructions, please see the INSTALL file in the toplevel. You need to do some manual symlinking and similar; just doing configure and make won't do the trick. In order to re-build the FX2 firmware, you need sdcc. Enter the directory firmware/fx2 (in the source dir) and type make. The firmware is compiled into the file liveosci.ihx and automatically downloaded onto the USB-FX2 board by the oscilloscope software. It can also be re-downloaded at runtime. In order to re-build the clock generator firmware, you need gcc for AVR architecture. Go into the directory firmware/ckgen-avr and type make. You then have to program the resulting firmware binary onto the ATtiny2313 chip (e.g. using USB-AtmelPrg). NOTE however that you only have to re-build the firmware when you change it since a working binary is already included in the tarball. (Be careful when changing this code! It works with avr-gcc-3.3.2 and although I used inline assembly to not depend on the compiler producing certain code for accurate timings, you might still experience surprises...)
|