• AVR Freaks

Hot!Windows 10 USB HUB driver failed to connect 18F14K50

Author
PSIR
New Member
  • Total Posts : 29
  • Reward points : 0
  • Joined: 2018/05/27 19:05:17
  • Location: 0
  • Status: offline
2019/05/22 18:57:04 (permalink)
0

Windows 10 USB HUB driver failed to connect 18F14K50

Hello everyone:
 
The CPU used by our company for USB devices: 18F14K50, compiler: XC8, is modified with the custom-HID example of the Microchip Libraries for Applications(MLA)Version: v2017-03-06.  The clock speed of the 18F14K50 runs at the highest speed of 48MHz, and the USB is set to Full-speed.

However, many customers have responded that the newly purchased laptops have Windows 10 operating system installed. It is often failed to connect through the APP and 18F14K50 we developed. It is often necessary to do Windows 10 update before connecting smoothly. If the laptop is installed with Windows 7, There is no such problem, so the enumeration of 18F14K50 is successful. Windows 10 can detect the device, but I don't know why the communication is wrong when I send the packet from Windows 10 to the MCU.

Does Windows 10 have any problems with the USB HUB driver? Why do I need to update to connect to some devices? Is there a way to avoid this problem when designing an app with, for example, Delphi?
 
Best Regards
 
 
#1

5 Replies Related Threads

    Jim Nickerson
    User 452
    • Total Posts : 5958
    • Reward points : 0
    • Joined: 2003/11/07 12:35:10
    • Location: San Diego, CA
    • Status: offline
    Re: Windows 10 USB HUB driver failed to connect 18F14K50 2019/05/23 09:01:20 (permalink)
    0
    PSIR
    Hello everyone:

    The CPU used by our company for USB devices: 18F14K50, compiler: XC8, is modified with the custom-HID example of the Microchip Libraries for Applications(MLA)Version: v2017-03-06.  The clock speed of the 18F14K50 runs at the highest speed of 48MHz, and the USB is set to Full-speed.

    However, many customers have responded that the newly purchased laptops have Windows 10 operating system installed. It is often failed to connect through the APP and 18F14K50 we developed. It is often necessary to do Windows 10 update before connecting smoothly. If the laptop is installed with Windows 7, There is no such problem, so the enumeration of 18F14K50 is successful. Windows 10 can detect the device, but I don't know why the communication is wrong when I send the packet from Windows 10 to the MCU.

    Does Windows 10 have any problems with the USB HUB driver? Why do I need to update to connect to some devices? Is there a way to avoid this problem when designing an app with, for example, Delphi?
     
    Best Regards
     
     


    If I understand your app connects and operates properly after a Windows 10 Update.
    If this is so maybe your app could detect this condition and prompt the user to update their Windows 10.
    It seems to me Windows 10 Update corrects something to make Windows 10 operate as expected with respect to USB.
    #2
    Danno
    Super Member
    • Total Posts : 249
    • Reward points : 0
    • Joined: 2005/09/07 10:12:10
    • Status: offline
    Re: Windows 10 USB HUB driver failed to connect 18F14K50 2019/05/30 16:43:54 (permalink)
    0
    Are these devices plugged directly into the laptop or through a hub?  Are they truly pic18F14k50 devices and not pic18LF14k50's?
     
    Does the same behavior exist on desktops?
     
    How does the Win10 USB HUB driver work with USB HID devices?
     
    Do you have a means of tracing the enumeration process?  If so, please post the trace.
    #3
    NorthGuy
    Super Member
    • Total Posts : 5441
    • Reward points : 0
    • Joined: 2014/02/23 14:23:23
    • Location: Northern Canada
    • Status: offline
    Re: Windows 10 USB HUB driver failed to connect 18F14K50 2019/05/30 17:22:08 (permalink)
    +1 (1)
    We have a HID product and never had any problem with Windows 10 so far. If you have a HID device, Windows uses its own built-in driver. If your device enumerates well on Windows 10, then the problem must be in the PC app you have developed.
     
    I don't understand what you mean by "updating Windows 10". It updates by itself, whether the user wants it or not.
    #4
    PSIR
    New Member
    • Total Posts : 29
    • Reward points : 0
    • Joined: 2018/05/27 19:05:17
    • Location: 0
    • Status: offline
    Re: Windows 10 USB HUB driver failed to connect 18F14K50 2019/05/30 18:22:51 (permalink)
    0
    Dear All:
     
    I used PIC18F14K50 devices instead of PIC18LF14L50's, And plugged directly into the laptop without through a HUB.
    Desktops are hard to exist the same behavior because our customer used to using laptop mostly.
     
    →How does the Win10 USB HUB driver work with USB HID devices?
    I am sorry I don't know how the HUB driver works.
     
    I am sure that enumeration process is succeed. What I don't understand is why the data package can't be sent to the APP when using Win10's built-in driver, and it will succeed when I update Win10. So when update Win10, I must changed the original USB HUB driver. Is it compatible with older devices?
     
    Best Regards
    #5
    Danno
    Super Member
    • Total Posts : 249
    • Reward points : 0
    • Joined: 2005/09/07 10:12:10
    • Status: offline
    Re: Windows 10 USB HUB driver failed to connect 18F14K50 2019/05/31 15:11:44 (permalink)
    0
    "→How does the Win10 USB HUB driver work with USB HID devices?
    I am sorry I don't know how the HUB driver works."

     
    Then why do you think the Win10 HUB driver is involved/at fault?  (That is the title of the original post).
    #6
    Jump to:
    © 2019 APG vNext Commercial Version 4.5