Vista and PICDEM FS USB bootloader not working

Page: 12 > Showing page 1 of 2
Author
juanfhj
New Member
  • Total Posts : 9
  • Reward points : 0
  • Joined: 2006/12/28 08:07:42
  • Location: 0
  • Status: offline
2007/03/29 17:56:57 (permalink)
0

Vista and PICDEM FS USB bootloader not working

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
#1

27 Replies Related Threads

    mihooper
    Super Member
    • Total Posts : 212
    • Reward points : 0
    • Joined: 2004/06/28 13:50:00
    • Status: offline
    RE: Vista and PICDEM FS USB bootloader not working 2007/03/29 18:20:00 (permalink)
    0
    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.
     
    #2
    juanfhj
    New Member
    • Total Posts : 9
    • Reward points : 0
    • Joined: 2006/12/28 08:07:42
    • Location: 0
    • Status: offline
    RE: Vista and PICDEM FS USB bootloader not working 2007/03/29 20:58:33 (permalink)
    0
    Ok, not holding my breath to it. sad
     
    I found out about this Diolan HID bootloader alternative, but only the firmware is there. What should I run on the PC side?
    #3
    juanfhj
    New Member
    • Total Posts : 9
    • Reward points : 0
    • Joined: 2006/12/28 08:07:42
    • Location: 0
    • Status: offline
    RE: Vista and PICDEM FS USB bootloader not working 2007/03/30 17:04:10 (permalink)
    0
    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. grin
     
    Juan
    #4
    juanfhj
    New Member
    • Total Posts : 9
    • Reward points : 0
    • Joined: 2006/12/28 08:07:42
    • Location: 0
    • Status: offline
    RE: Vista and PICDEM FS USB bootloader not working 2007/03/31 19:46:43 (permalink)
    0
    Hmmm... might I add it's not needed to run it as admin either. It suffices to run it in Windows XP compatibility mode.
    #5
    c6jones720
    New Member
    • Total Posts : 21
    • Reward points : 0
    • Joined: 2007/01/24 04:09:46
    • Location: 0
    • Status: offline
    RE: Vista and PICDEM FS USB bootloader not working 2007/04/04 08:48:47 (permalink)
    0
    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!
    #6
    corvette321
    Super Member
    • Total Posts : 727
    • Reward points : 0
    • Joined: 2006/10/31 19:17:07
    • Location: Florida
    • Status: offline
    RE: Vista and PICDEM FS USB bootloader not working 2007/04/06 19:55:42 (permalink)
    0
    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...)
     
     
    :)
     
     
    #7
    c6jones720
    New Member
    • Total Posts : 21
    • Reward points : 0
    • Joined: 2007/01/24 04:09:46
    • Location: 0
    • Status: offline
    RE: Vista and PICDEM FS USB bootloader not working 2007/04/10 01:23:02 (permalink)
    0
    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.
    #8
    spaceman
    New Member
    • Total Posts : 15
    • Reward points : 0
    • Joined: 2007/04/18 05:07:13
    • Status: offline
    RE: Vista and PICDEM FS USB bootloader not working 2007/06/28 12:25:02 (permalink)
    0
    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
    #9
    xiaofan
    Super Member
    • Total Posts : 6247
    • Reward points : 0
    • Joined: 2005/04/14 07:05:25
    • Location: Singapore
    • Status: offline
    RE: Vista and PICDEM FS USB bootloader not working 2007/06/28 13:46:01 (permalink)
    0
    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
    #10
    spaceman
    New Member
    • Total Posts : 15
    • Reward points : 0
    • Joined: 2007/04/18 05:07:13
    • Status: offline
    RE: Vista and PICDEM FS USB bootloader not working 2007/08/24 12:36:23 (permalink)
    0
    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
    #11
    xiaofan
    Super Member
    • Total Posts : 6247
    • Reward points : 0
    • Joined: 2005/04/14 07:05:25
    • Location: Singapore
    • Status: offline
    RE: Vista and PICDEM FS USB bootloader not working 2007/08/24 18:24:38 (permalink)
    0
    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 

    post edited by xiaofan - 2008/01/20 07:12:04
    #12
    hadv
    New Member
    • Total Posts : 29
    • Reward points : 0
    • Joined: 2007/08/26 13:57:15
    • Location: Amstelveen, The Netherlands
    • Status: offline
    RE: Vista and PICDEM FS USB bootloader not working 2007/08/27 15:12:29 (permalink)
    0
    I'm getting the same error and I'm running XP Home/SP2....no luck when switching off power management (sob)
    #13
    xodr
    New Member
    • Total Posts : 11
    • Reward points : 0
    • Joined: 2007/12/29 04:47:50
    • Location: 0
    • Status: offline
    RE: Vista and PICDEM FS USB bootloader not working 2007/12/29 04:53:02 (permalink)
    0
    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.

    #14
    corvette321
    Super Member
    • Total Posts : 727
    • Reward points : 0
    • Joined: 2006/10/31 19:17:07
    • Location: Florida
    • Status: offline
    RE: Vista and PICDEM FS USB bootloader not working 2007/12/29 23:15:16 (permalink)
    0
    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.
     
     
    #15
    DarioG
    leaving this planet
    • Total Posts : 52974
    • Reward points : 0
    • Joined: 2006/02/25 08:58:22
    • Location: porcodioland
    • Status: offline
    RE: Vista and PICDEM FS USB bootloader not working 2007/12/30 03:16:52 (permalink)
    0
    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.


    SmileSmile
    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
    --
    how does it feel, never having been loved? as life fades away, day after day, on this planet made of s h i t...

    #16
    robodude666
    Starting Member
    • Total Posts : 61
    • Reward points : 0
    • Joined: 2007/01/10 13:30:49
    • Location: 0
    • Status: offline
    RE: Vista and PICDEM FS USB bootloader not working 2008/01/19 17:04:36 (permalink)
    0
    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
    #17
    xiaofan
    Super Member
    • Total Posts : 6247
    • Reward points : 0
    • Joined: 2005/04/14 07:05:25
    • Location: Singapore
    • Status: offline
    RE: Vista and PICDEM FS USB bootloader not working 2008/01/19 18:22:19 (permalink)
    0
    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/

      USB_Links and libusb
    #18
    robodude666
    Starting Member
    • Total Posts : 61
    • Reward points : 0
    • Joined: 2007/01/10 13:30:49
    • Location: 0
    • Status: offline
    RE: Vista and PICDEM FS USB bootloader not working 2008/01/19 20:28:45 (permalink)
    0
    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
    #19
    xiaofan
    Super Member
    • Total Posts : 6247
    • Reward points : 0
    • Joined: 2005/04/14 07:05:25
    • Location: Singapore
    • Status: offline
    RE: Vista and PICDEM FS USB bootloader not working 2008/01/20 07:08:36 (permalink)
    0
    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.

      USB_Links and libusb
    #20
    Page: 12 > Showing page 1 of 2
    Jump to:
    © 2017 APG vNext Commercial Version 4.5