pk2cmd with libusb 1.0

100 views
Skip to first unread message

Xiaofan Chen

unread,
Feb 17, 2010, 2:11:57 AM2/17/10
to pickit-devel
http://old.nabble.com/Windows-backend-HID---now-with-less-drama-td27611164.html

PICkit 2 (pk2cmd) is used as a testing tool for porting the libusb 1.0 API
(now working under Linux and Mac OS X, a FreeBSD port is on the way)
to Windows. Pete Batard posts this quick Windows only port of
pk2cmd to Windows libusb 1.0 (HID backend, the other backend is WinUSB).
http://libusb-winusb-wip.googlecode.com/files/pk2cmd.zip

I did some further modification and now it can build under Linux.
I will make more modifications so that it can be build under both
Linux and Windows with libusb 1.0.

The only issues are that "-s" and "-D" are not working.

Supposedly libusb 1.0 will be faster than libusb 0.1 since
it supports asynchronous API. But then there may need
more modifications. The above is just a quick modification
which uses the synchronous API.

--
Xiaofan http://mcuee.blogspot.com

Xiaofan Chen

unread,
Feb 18, 2010, 10:37:23 PM2/18/10
to pickit-devel
On Wed, Feb 17, 2010 at 3:11 PM, Xiaofan Chen <xiao...@gmail.com> wrote:
> http://old.nabble.com/Windows-backend-HID---now-with-less-drama-td27611164.html
>
> PICkit 2 (pk2cmd) is used as a testing tool for porting the libusb 1.0 API
> (now working under Linux and Mac OS X, a FreeBSD port is on the way)
> to Windows. Pete Batard posts this quick Windows only port of
> pk2cmd to Windows libusb 1.0 (HID backend, the other backend is WinUSB).
> http://libusb-winusb-wip.googlecode.com/files/pk2cmd.zip
>
> I did some further modification and now it can build under Linux.
> I will make more modifications so that it can be build under both
> Linux and Windows with libusb 1.0.
>
> The only issues are that "-s" and "-D" are not working.

It is fixed now.
http://old.nabble.com/Re%3A-Windows-backend-HID---now-with-less-drama-p27645861.html

Reply all
Reply to author
Forward
0 new messages