Please post the full log. There are something missing here.
> .
> No PICkit 2 found.
>
> Command issued as root. Fedora 8, 32 bit
Have you tried this patch for pk2usb.cpp?
//#if HAVE_LIBUSB_INTERRUPT_MODE
// latest libusb: interrupt mode, works with all kernels
# define PICKIT_USB(direction) usb_interrupt_##direction //only keep this line
//#else
// older libusb: bulk mode, will only work with older kernels
//# define PICKIT_USB(direction) usb_bulk_##direction
//#endif
What does "lsusb" says about PICkit 2?
--
Xiaofan http://mcuee.blogspot.com
[root@firefly]# lsusb
Bus 002 Device 011: ID 04d8:0033 Microchip Technology, Inc.
Bus 002 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 002 Device 002: ID 0bda:0111 Realtek Semiconductor Corp. Card Reader
Bus 002 Device 001: ID 1d6b:0002
Bus 007 Device 001: ID 1d6b:0001
Bus 008 Device 002: ID 045e:00e1 Microsoft Corp. Wireless Laser Mouse
6000 Reciever
Bus 008 Device 001: ID 1d6b:0001
Bus 006 Device 001: ID 1d6b:0001
Bus 005 Device 001: ID 1d6b:0001
Bus 001 Device 001: ID 1d6b:0002
Bus 004 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0001
[root@firefly]# pk2cmd -V
No PICkit 2 found.
[root@firefly]# ls -l /dev/bus/usb/002
total 0
crw-r--r-- 1 root root 189, 128 2009-05-30 18:28 001
crw-r--r-- 1 root root 189, 129 2009-05-30 18:28 002
crw-r--r-- 1 root root 189, 131 2009-05-30 18:28 004
crw-rw---- 1 root microchip 189, 138 2009-06-03 09:18 011
[root@firefly]# chmod 666 /dev/bus/usb/002/011
[root@firefly]# pk2cmd -V
-P is a required option
I put the changes in /etc/udev/rules.d/26-microchip
#PICKit 2
ATTR{idVendor}=="04d8", ATTR{idProduct}=="0033", OWNER:="root",
GROUP:="microchip",MODE:="0666"
Now to get c30 to generate images!
George
Glad to know that you solved the problems.
I will update this wiki.
http://piklab.wiki.sourceforge.net/USB+Port+Problems
I've used Fedore version since Core 6. But the only
exception is Fedora 8 since it failed to be installed last time.
http://mcuee.blogspot.com/2007/11/new-fc8-install-hangs-at-message.html
--
Xiaofan http://mcuee.blogspot.com
Thanks. Successfully burned a 18F2620 part using pk2cmd.
Required a 1 line change to the Makefile.
George