gnupic: Re: [gnupic] pk2 on amd64 fc4
Subject:
Re: [gnupic] pk2 on amd64 fc4
From:
John Sheahan ####@####.####
Date:
21 Mar 2006 11:48:33 +0000
Message-Id: <441FE80D.4060201@optushome.com.au>
Xiaofan Chen wrote:
> On 3/21/06, John Sheahan ####@####.#### wrote:
>> Locating USB Microchip PICkit2 (vendor 0x04d8/product 0x0033)
>> Found USB PICkit as device '010' on USB bus 001, devnum 10
>> removing driver module: rmmod usbhid
>> send_usb() PICkit write : Device or resource busy
>> Fatal error> send_usb() PICkit USB write failed
>>
>
> Maybe you can try using the following CFLAGS in the Makefile. I am using
> this CFLAGS for Ubuntu Breezy and FC4 (both 32bit --> I do not see any
> advantages running 64-bit for personal use).
my verilog sims run twice as quick when compiled for 64 bits.
Th x server seems to leak memory though, I need to quit X once a month :(
>
> # ----- Use the following for kernel 2.6.x: -----
> CFLAGS=$(OPTS) -I$(LIBUSB)/include -DLINUX -DUSE_DETACH -DCLAIM_USB
>
Locating USB Microchip PICkit2 (vendor 0x04d8/product 0x0033)
Found USB PICkit as device '010' on USB bus 001, devnum 10
Fatal error> Error setting USB configuration.
different but not quite...
#############
CFLAGS=$(OPTS) -I$(LIBUSB)/include -DLINUX -DUSE_DETACH
Locating USB Microchip PICkit2 (vendor 0x04d8/product 0x0033)
Found USB PICkit as device '010' on USB bus 001, devnum 10
Communication established. PICkit2 firmware version is 1.0.1
thats a bit happier :)
###################
CFLAGS=$(OPTS) -I$(LIBUSB)/include -DLINUX -DCLAIM_USB
Locating USB Microchip PICkit2 (vendor 0x04d8/product 0x0033)
Found USB PICkit as device '010' on USB bus 001, devnum 10
Fatal error> Error setting USB configuration.
also not there, but the prior worked.
thanks a lot for your help Xiaofan.
I gather I need to update the firmware next?
(and also to persuade the code not to need to be root)
John
> Regards,
> Xiaofan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>