---------- Forwarded message ----------
From: Joseph Jezak
Date: Thu, May 28, 2009 at 12:30 PM
Subject: [PIC] PICkit2 Logic Analyzer for Linux
To: piclist
Hi everyone!
I recently purchased a PICkit2 programmer from Microchip and have been
happily using the pk2cmd program to program my PICs, it's a nice piece
of hardware!
Unfortunately, Microchip hasn't also provided a tool to use the Logic
Analyzer or I/O Probe in Linux, so I've figured out the protocol and
written a GUI for it. There are probably bugs, but it works well enough
for what I needed to do with it and I hope someone on the list will find
it useful! I suspect that this will also run under OSX if you have the
right python libraries, but I haven't tested it yet.
I've started a SourceForge project for it at:
http://sourceforge.net/projects/pk2-la
Please let me know if you have any suggestions or improvements that
you'd like to see made.
Thanks,
-Joe
"No module named usb"
What else is required to get this to run?
Thanks,
Jeff
On Wednesday 27 May 2009 22:10, Xiaofan Chen wrote:
> This might be an interesting project for this list.
>
> ---------- Forwarded message ----------
> From: Joseph Jezak
> Date: Thu, May 28, 2009 at 12:30 PM
> Subject: [PIC] PICkit2 Logic Analyzer for Linux
> To: piclist
>
You need to install pyusb.
http://pyusb.berlios.de/
And from the following, I think you need pygtk as well.
### For the logic analyzer
import usb
import sys
from threading import Thread
### For the GUI
import pygtk
import pango
pygtk.require('2.0')
import gtk
--
Xiaofan http://mcuee.blogspot.com