none
USB freezing. RRS feed

  • Question

  • I have designed a usb pc oscilloscope using a PIC32MX microcontroller.

    The C# pc software is from www.waitingforfriday.com

    This works great and has no problems.

    I have now ported this across to a PIC32MZ microcontroller.

    Again this works great.

    However, if I exit the pc program 5 seconds later the USB bus goes into suspend.

    Then if I go back into the pc program the usb bus is frozen in suspend mode.

    If I go back in before 5 seconds are up then it runs fine.

    I have disabled power down and selective suspend on my pc but the problem persists.

     Is there a C# command I can use to take the USB bus out of suspend ?


    n.Wright

    Saturday, February 16, 2019 11:21 PM

Answers

  • Turned out to be a bug in the microcontroller part of the project.

    I rolled back the libraries to a previous version and the problem went away.


    n.Wright

    Friday, February 22, 2019 5:24 AM

All replies

  • Hi n.Wright,

    Welcome to the MSDN forum.

    According to the description, this issue is about the C# development. Since our forum is to discuss the VS IDE, I will help you move this thread to the appropriate forum for better support, thank you for your understanding.

    Best regards,

    Sara


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Monday, February 18, 2019 7:15 AM
  • Turned out to be a bug in the microcontroller part of the project.

    I rolled back the libraries to a previous version and the problem went away.


    n.Wright

    Friday, February 22, 2019 5:24 AM