On Fri, Sep 10, 2010 at 5:21 PM, Xiaofan Chen <[email protected]> wrote: > On Fri, Sep 10, 2010 at 6:40 PM, Ozkan Sezer <[email protected]> wrote: >> On Fri, Sep 10, 2010 at 1:34 PM, Xiaofan Chen <[email protected]> wrote: >>> On Fri, Sep 10, 2010 at 6:31 PM, Ozkan Sezer <[email protected]> wrote: >>> >>>> Speaking of linkage to usbd.sys, where did you get libusbd.a for linking >>>> to it? AFAICS, we don't provide it (shame on us.) Your libusb0.sys looks >>>> for a _USBD_CreateConfigurationRequestEx, notice the leading underscore, >>>> so can this be the problem? >>>> >>> >>> I think you are onto something. I was suspecting that actually. >>> >>> In the Makefile, I will try again with removing the --add-underscore. >>> >> >> Ouch, no! I think that's your problem. Yes, can you please remove that >> and try with the attached import library? > > You are the hero. ;-) > > I change the Makefile to not to build libusbd.a and instead use your > attached import library, and then I build libusb0.sys and sign it. > Now it works under Windows 7 64bit. > > Updated source and binary archive: > http://code.google.com/p/picusb/downloads/list > File name: libusb-win32-src-1.2.1.20_mingw64.zip > > Initial tests show that it is working. >
Oh yes! This is good news! > D:\work\mingw-w64\libusb-win32-src-1.2.1.20>testlibusb.exe (64bit app) > Dev #0: 0000 - 0000 > Dev #1: Microchip Technology Inc. - Microchip Custom USB Device > > D:\work\picusb\fsusb\fsusb_demo\libusb0_mingw>fsusb_demo --readpot (32bit > app) > Locating Microchip(tm) PICDEM(tm) FS USB Demo Board (vendor 0x04d8/product > 0x000 > c) > setting USB debug on by adding usb_set_debug(255) > Found USB PICDEM FS USB Demo Board as device > '\\.\libusb0-0001--0x04d8-0x000c' o > n USB bus bus-0 > Communication established. > answer was correct! > Onboard firmware version is 1.0 > Potentiometer now reads 446 > > D:\work\picusb\fsusb\fsusb_demo\libusb0_mingw>fsusb_demo --reset > Locating Microchip(tm) PICDEM(tm) FS USB Demo Board (vendor 0x04d8/product > 0x000 > c) > setting USB debug on by adding usb_set_debug(255) > Found USB PICDEM FS USB Demo Board as device > '\\.\libusb0-0001--0x04d8-0x000c' o > n USB bus bus-0 > Communication established. > answer was correct! > Onboard firmware version is 1.0 > Board resetted > > > -- > Xiaofan > -- Ozkan ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
