• AVR Freaks

Hot!Harmony v3: HID Basic (device) example with PIC32MZ2048EFM064-I/PT

Author
yts
Super Member
  • Total Posts : 598
  • Reward points : 0
  • Joined: 2005/09/06 17:45:30
  • Status: offline
2019/08/06 18:43:19 (permalink)
0

Harmony v3: HID Basic (device) example with PIC32MZ2048EFM064-I/PT

Environment:
Harmony 3 (core v3.4.0, csp v3.4.0, usb v3.3.0)
PIC32MZ2048EFM064-I/PT
PC: Windows 10

Five seconds after connecting PC (host) to PIC (device), PIC enters the suspend state and data cannot be sent/received.

One of the solution is written in the topic #31 of https://www.microchip.com/forums/m1075689-p2.aspx (disconnection-reconnection procedure).
However, the reconnection sound, which causes every 5 seconds on PC, is quite noisy.

The other solution is to make the hid+keyboard (or hid+ mouse) composite device and to use only the hid interface.

I don’t think that two solution described above are sophisticated.
Is there any good solution?


#1

2 Replies Related Threads

    nigelwright7557
    Super Member
    • Total Posts : 296
    • Reward points : 0
    • Joined: 2006/11/06 08:15:51
    • Location: 0
    • Status: offline
    Re: Harmony v3: HID Basic (device) example with PIC32MZ2048EFM064-I/PT 2019/08/06 19:08:28 (permalink)
    0
     I had a problem with a USB project.
    If I exited the pc program then went back in after 5 seconds the usb would stop working.
    I was advised to go back to Harmony 2.04 from my 2.06.
    This fixed the problem.
     
    post edited by nigelwright7557 - 2019/08/06 19:09:30
    #2
    yts
    Super Member
    • Total Posts : 598
    • Reward points : 0
    • Joined: 2005/09/06 17:45:30
    • Status: offline
    Re: Harmony v3: HID Basic (device) example with PIC32MZ2048EFM064-I/PT 2019/08/07 01:43:16 (permalink)
    0
    Hi. nigelwright7557:

    Thank you for your quick replay.

    I should have written more precisely.
    I try to move from Harmony v.2 to v.3 now (completely if I can do).
    So I would like to know which part of the sample firmware I should modify within Harmony 3 scheme.

    yts


    #3
    Jump to:
    © 2019 APG vNext Commercial Version 4.5