I'm trying to use the PICDEM FS USB demo tool bootloader under Vista. The device is detected and the MCHPUSB driver installs fine, but when I run PDFSUSB.exe to program the device, it simply doesn't detect the board.
I use a custom board built around the PIC18F4455. I had been using it under XP with no problem.
Ok. I just found out how to use the bootloader software in Vista. I did right-click on PDFSUSB.exe, and selected Properties -> Compatibility -> Run program as administrator.
Whew, at last. This was the only thing keeping me from running Vista.
After reading this forum thread I tried to run my PIC18F4550 based USB 2.0 peripheral with Vista Business on a dual core Dell and it wouldnt work in either XP SP2 compatibility mode or administrator mode. I couldnt even properly use the bootloader or test app. I kept getting error "997 overlapped handle error". Can anyone help, everything works perfectly under XP Pro!
Thanks!!! - I can confirm that in Vista if you run your driver program as admin, and set compatibility to XPSP2 and then Turn off the power management features, the FS USB2.0 electronics work as they should.
I have the compatibility and adminstrator boxes checked, power management shut off box unchecked for the usb driver. I can communicate fine when the driver is running under the normal mode but when I attempt to upgrade the code, vista doesn't recognize the bootloader version of the usb driver(mchpusbapi.dll). Any one else every experience this ?
I've tested this driver sucessfully on two Vista PCs(both Toshiba's of the same model). The install is a two pass process, once for the normal mode and again when you get it into boot mode(XP does this as well). Initially I tested with an Acer Aspire 5100 which still doesn't work under boot mode(I've seen this same symptom on two new Dell towers with XP). I'm releived I got it working on Vista, especially since I've read it wasn't supported and had a ticket response with the same opinion. It is important to run your app in XP compatibility mode and uncheck the power off option in the drivers Power Management tab. Other than that there were no code changes to my app. I'm thinking it maybe the differences between the pc vendors more than Vista. I was glad to see this since we are getting close to shipping our 4455 product and didn't want to have to redo the driver with WINusb or something of that vintage. Now if I can only figure out last two PC
It is best that Microchip can fix the driver (it is not written by Microchip but by the famous Windows driver expert Walter Oney) so that it works natively under Vista.
I had the same problem and the solution that works for me (and the fellows around me) is the following:
Go to device manager. Turn off usb power-down support for your PIC. (I don't remember the exact phrase right now, but it's in one of the tabs of the device)
Beware: You must repeat the same procedure if you plug your device to another usb port.
Anyone know how to make it work under 64-bit Vista? The PIC shows up as unknown device. When I tell it to install the drivers it gives me either a "driver is not intended for this platform" error or "driver is for 98 and later" error. I can't change the power setting because the device hasn't been installed. Any ideas?
Thanks for the info! I tried out the PicUSB Drivers but windows gives me an error (paraphrased) "Either there are no drivers for this device or they aren't 64-bit compatible."
Is this WinPIC/PicWinUSB stuff compatible with Microchip's bootloader? Or is it totally different stuff? I currently have all my projects written for Microchip's bootloader and have been using it for a while. Also... All of his comments are in spanish =/ But I guess if its needed, I'm willing to learn this WinPIC/PicWinUSB stuff if its better (And works!). I do like the C# support as I plan to use C# for my windows control app.
I think he has not ported the bootloader to Vista 64. The driver will work but you need to write your own host software based on the API.
Mike Zoran's free examples include a USB bootloder (different from Microchip's). His example is for Visual C++.Net.
By the way, Vista 64 is not for prime time as Microchip (along with many other companies) does not support it. Other than writing your own driver, WinUSB is your best hope to get things (USB bootloader and other stuff) working under Vista 64. Another choice is HID.