[libhid-discuss] USB libhid is writing to PIC but errors out reading from it.

Daniel Yount factorf2 at yahoo.com
Tue Nov 15 08:08:14 UTC 2011


Ok could not compile Qt4.7 packages because of the  Debian 6.0 stable distro,
it seems compiling for the Microchip HIDAPI needed some newer libuuid functions
.so I changed my /etc/apt/sources.list distro setting for source downloads to testing instead of stable

deb-src http://ftp.us.debian.org/debian/ testing main contrib non-free

updated my apt repo :

apt-get update 


downloaded the source for util-linux which contains the libuuid

apt-get source util-linux

uncompressed the tarball ,recompiled and installed and qtcreator compiled fine..
http://qt.nokia.com/downloads


Next will be to see if the compiled bootloader actually works now. Thanks for the help.



________________________________
From: Xiaofan Chen <xiaofanc at gmail.com>
To: Daniel Yount <factorf2 at yahoo.com>
Cc: "libhid-discuss at lists.alioth.debian.org" <libhid-discuss at lists.alioth.debian.org>
Sent: Monday, November 14, 2011 6:50 AM
Subject: Re: [libhid-discuss] USB libhid is writing to PIC but errors out reading from it.

On Mon, Nov 14, 2011 at 6:46 PM, Daniel Yount <factorf2 at yahoo.com> wrote:
> Using Linux 3.x kernel and debian 6.0 stable distro.
>
> USB flash program 1.3
> http://code.google.com/p/mphidflash/
>
> libhid 0.2.16
>
> I have installed a Generic HID bootloader  and a basic p18F2455 circuit
> setup for reading and writing USB data.
> 20mhz crystal no LEDs one jumper for bootloader mode and a switch for
> reset., nothing special.

If you download the latest Microchip USB stack, there is an HIDAPI
based cross-platform HID bootloader, you may want to try that one,
it works for me whereas mphidflash did not seem to work for me
(PIC18F87J50 USB PIM) last time I tried it.


-- 
Xiaofan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/libhid-discuss/attachments/20111115/62ded0ba/attachment.html>


More information about the libhid-discuss mailing list