Microchip Technology
Welcome to www.microchip.com
Search: Click here to Search Microchip.com
Forums Home Register LoginLog Out Inbox Address Book My Subscription Member List Search My Profile FAQ
Vista and PICDEM FS USB bootloader not working

Vista and PICDEM FS USB bootloader not working

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Microcontroller Discussion Group] >> USB >> Vista and PICDEM FS USB bootloader not working Page: [1] 2   next >   >>
Login
Message << Older Topic   Newer Topic >>
Vista and PICDEM FS USB bootloader not working - Mar. 29, 2007 5:56:57 PM   
juanfhj

 

Posts: 9
Joined: Dec. 28, 2006
From: 0
Status: offline
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.

Any help will be much appreciated.

Regards,

Juan Herrera
Post #: 1
RE: Vista and PICDEM FS USB bootloader not working - Mar. 29, 2007 6:20:00 PM   
mihooper

 

Posts: 209
Joined: Jun. 28, 2004
Status: offline
Juan,

Here's what I have heard.
http://forum.microchip.com/tm.aspx?m=222432&mpage=1&key=vista&#229333

Let me know if you find something different. I would like to see a real fix for this problem.

(in reply to juanfhj)
Post #: 2
RE: Vista and PICDEM FS USB bootloader not working - Mar. 29, 2007 8:58:33 PM   
juanfhj

 

Posts: 9
Joined: Dec. 28, 2006
From: 0
Status: offline
Ok, not holding my breath to it.

I found out about this Diolan HID bootloader alternative, but only the firmware is there. What should I run on the PC side?

(in reply to mihooper)
Post #: 3
RE: Vista and PICDEM FS USB bootloader not working - Mar. 30, 2007 5:04:10 PM   
juanfhj

 

Posts: 9
Joined: Dec. 28, 2006
From: 0
Status: offline
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.

Juan

(in reply to juanfhj)
Post #: 4
RE: Vista and PICDEM FS USB bootloader not working - Mar. 31, 2007 7:46:43 PM   
juanfhj

 

Posts: 9
Joined: Dec. 28, 2006
From: 0
Status: offline
Hmmm... might I add it's not needed to run it as admin either. It suffices to run it in Windows XP compatibility mode.

(in reply to juanfhj)
Post #: 5
RE: Vista and PICDEM FS USB bootloader not working - Apr. 4, 2007 8:48:47 AM   
c6jones720

 

Posts: 21
Joined: Jan. 24, 2007
From: 0
Status: offline
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!

(in reply to juanfhj)
Post #: 6
RE: Vista and PICDEM FS USB bootloader not working - Apr. 6, 2007 7:55:42 PM   
corvette321
5+ years with MCHP products

 

Posts: 723
Joined: Oct. 31, 2006
From: Florida
Status: offline
ive used it under vista...

if your running UAC you have to run as administartor...

also right click and run in winxp sp2 compatability mode.



and heres a biggie,...


goto the control panel and the pic18f4550 family of drivers and TURN OFF the power saving feature..

was having a big problem with it under vista...(thats why it didnt recognize it...)


:)


(in reply to c6jones720)
Post #: 7
RE: Vista and PICDEM FS USB bootloader not working - Apr. 10, 2007 1:23:02 AM   
c6jones720

 

Posts: 21
Joined: Jan. 24, 2007
From: 0
Status: offline
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.

(in reply to corvette321)
Post #: 8
RE: Vista and PICDEM FS USB bootloader not working - Jun. 28, 2007 12:25:02 PM   
spaceman

 

Posts: 15
Joined: Apr. 18, 2007
Status: offline
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 ?

Thanks, Dan

(in reply to juanfhj)
Post #: 9
RE: Vista and PICDEM FS USB bootloader not working - Jun. 28, 2007 1:46:01 PM   
xiaofan

 

Posts: 5331
Joined: Apr. 14, 2005
From: Singapore
Status: offline
I do not have Vista. But it is said that libusb-win32 does work for Vista 33bit (not yet working for 64bit).

If this is true, perhaps you can try the alternative libusb-win32 based bootloader application here:

http://forum.microchip.com/tm.aspx?m=106426

(in reply to spaceman)
Post #: 10
RE: Vista and PICDEM FS USB bootloader not working - Aug. 24, 2007 12:36:23 PM   
spaceman

 

Posts: 15
Joined: Apr. 18, 2007
Status: offline
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

(in reply to juanfhj)
Post #: 11
RE: Vista and PICDEM FS USB bootloader not working - Aug. 24, 2007 6:24:38 PM   
xiaofan

 

Posts: 5331
Joined: Apr. 14, 2005
From: Singapore
Status: offline
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.

Edit: the driver will work under Vista 32.
Vista and PICDEM FS USB bootloader
http://forum.microchip.com/tm.aspx?m=241830
http://forum.microchip.com/tm.aspx?m=222432 

< Message edited by xiaofan -- Jan. 20, 2008 7:12:04 AM >

(in reply to spaceman)
Post #: 12
RE: Vista and PICDEM FS USB bootloader not working - Aug. 27, 2007 3:12:29 PM   
hadv

 

Posts: 14
Joined: Aug. 26, 2007
From: 0
Status: offline
I'm getting the same error and I'm running XP Home/SP2....no luck when switching off power management (sob)

(in reply to xiaofan)
Post #: 13
RE: Vista and PICDEM FS USB bootloader not working - Dec. 29, 2007 4:53:02 AM   
xodr

 

Posts: 11
Joined: Dec. 29, 2007
From: 0
Status: offline
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.

(in reply to hadv)
Post #: 14
RE: Vista and PICDEM FS USB bootloader not working - Dec. 29, 2007 11:15:16 PM   
corvette321
5+ years with MCHP products

 

Posts: 723
Joined: Oct. 31, 2006
From: Florida
Status: offline
i think if u add a device descriptor then you wont have to keep making the changes when you change to another USB port..

but my memory sux.


(in reply to xodr)
Post #: 15
RE: Vista and PICDEM FS USB bootloader not working - Dec. 30, 2007 3:16:52 AM   
DarioG
5+ years with MCHP products

 

Posts: 23244
Joined: Feb. 25, 2006
From: Trana (TO), Italy
Status: online
quote:

ORIGINAL: corvette321

i think if u add a device descriptor then you wont have to keep making the changes when you change to another USB port..

but my memory sux.



Oh, that one does come back once in a while: I seem to remember that it should be "Serial Number" i USB descriptor...

_____________________________

Dario Greggio

(in reply to corvette321)
Post #: 16
RE: Vista and PICDEM FS USB bootloader not working - Jan. 19, 2008 5:04:36 PM   
robodude666

 

Posts: 61
Joined: Jan. 10, 2007
From: 0
Status: offline
Hey,

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?

Cheers,
-robodude666

(in reply to juanfhj)
Post #: 17
RE: Vista and PICDEM FS USB bootloader not working - Jan. 19, 2008 6:22:19 PM   
xiaofan

 

Posts: 5331
Joined: Apr. 14, 2005
From: Singapore
Status: offline
J1M made this work in Vista32/64 with WinUSB. The Microchip Driver will not work under Vista 64.

http://forum.microchip.com/tm.aspx?m=283064

For WinUSB examples, please refer to the following thread.
http://forum.microchip.com/tm.aspx?m=264046

Mike Zoran has also published two examples in his website.
http://www.raccoonrezcats.com/

_____________________________

Blog: http://mcuee.blogspot.com USB links: http://www.microchip.com/forums/tm.aspx?m=123533
No PMs for technical questions, use the forum!

(in reply to robodude666)
Post #: 18
RE: Vista and PICDEM FS USB bootloader not working - Jan. 19, 2008 8:28:45 PM   
robodude666

 

Posts: 61
Joined: Jan. 10, 2007
From: 0
Status: offline
Hey,

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.

Cheers,
-robodude666

(in reply to xiaofan)
Post #: 19
RE: Vista and PICDEM FS USB bootloader not working - Jan. 20, 2008 7:08:36 AM   
xiaofan

 

Posts: 5331
Joined: Apr. 14, 2005
From: Singapore
Status: offline
J1M's WinUSB example is not free but you only need to pay 5 Euro if you really want to get it.
http://www.hobbypic.com/index.php?option=com_content&task=view&id=31&Itemid=40

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.

_____________________________

Blog: http://mcuee.blogspot.com USB links: http://www.microchip.com/forums/tm.aspx?m=123533
No PMs for technical questions, use the forum!

(in reply to robodude666)
Post #: 20
Page:   [1] 2   next >   >>
All Forums >> [Microcontroller Discussion Group] >> USB >> Vista and PICDEM FS USB bootloader not working Page: [1] 2   next >   >>
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


  Site Index  |  Legal Information  |  microchipDIRECT  |  Samples  |  Technical Support  |  Investor Information  |  Careers at Microchip  |  Contact Us  |  RSS Feeds ©2009 Microchip Technology Inc.  
  Shanghai ICP Recordal No.09049794  
Forum Software © ASPPlayground.NET Advanced Edition 2.5.5 Unicode

0.141