• AVR Freaks

Not all USB stick work under H2.06

Author
kuku
Senior Member
  • Total Posts : 139
  • Reward points : 0
  • Joined: 2012/03/03 08:05:54
  • Location: 0
  • Status: online
2020/03/23 10:03:17 (permalink)
5 (1)

Not all USB stick work under H2.06

I have 6 stick in home. Two from this stay at "WAIT_FOR_DEVICE_ATTACH". Is much, I wonder to know that it's normall or what can be possible reason?. Stick is supply from ferrite and 2x47uF (close to connector)
#1

7 Replies Related Threads

    NKurzman
    A Guy on the Net
    • Total Posts : 18372
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: online
    Re: Not all USB stick work under H2.06 2020/03/23 10:07:04 (permalink)
    0
    There is an issue.
    It is fixed In Harmony 3.
    I will try to post it later.
    I got a patched file from Microchip for V2.XX
    #2
    NKurzman
    A Guy on the Net
    • Total Posts : 18372
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: online
    Re: Not all USB stick work under H2.06 2020/03/23 10:07:11 (permalink)
    0
    Duplicate
    post edited by NKurzman - 2020/03/23 10:08:46
    #3
    kuku
    Senior Member
    • Total Posts : 139
    • Reward points : 0
    • Joined: 2012/03/03 08:05:54
    • Location: 0
    • Status: online
    Re: Not all USB stick work under H2.06 2020/03/23 10:23:17 (permalink)
    0
    Patch sound good. I made too many work and I won't discover H3 now.
     
    -----edit. I will continue here
    My first post is about USB HOST bootloader who I made under H2. Now I try to add USB stick to my app code. For sure- I have custom board but if bootloader work then hardware is ok.
     
     
    - In harmony I add USB HOST, and file system. Settings is the same like in my bootloader (attachement).
    - From msd_basic demo project I add app.c and .h file to own code
     
    And now...
    - appData.state stuck at popular place "_WAIT_FOR_DEVICE_ATTACH" which can mean everything.
    - _SYSFSEventHandler who change appData.state to MOUNT/UNMOUNT never come.
    - _USBHostEventHandler also never come.
    - SYS_FS_MEDIA_MANAGER_Tasks(); Not see any connected device (mediaIndex = 0xFF).
     
    -  work USB interrupt, when I plug/unplug sticker
     
    void __ISR( _USB_VECTOR , IPL4AUTO)_IntHandler_USB_stub ( void )
    {
        DRV_USBHS_Tasks_ISR(sysObj.drvUSBObject);
    }

     
    What I need to check as next?
     
    post edited by kuku - 2020/03/23 15:43:33

    Attached Image(s)

    #4
    NKurzman
    A Guy on the Net
    • Total Posts : 18372
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: online
    Re: Not all USB stick work under H2.06 2020/03/23 15:17:51 (permalink)
    5 (1)
    This is a Microchip Provided Patch for Harmony 2.06 that fixes an Issue where some USB memory Sticks are not recognized.
    It can be used as a Template to fix Harmony V1.XX Applications
    #5
    kuku
    Senior Member
    • Total Posts : 139
    • Reward points : 0
    • Joined: 2012/03/03 08:05:54
    • Location: 0
    • Status: online
    Re: Not all USB stick work under H2.06 2020/03/23 15:45:14 (permalink)
    5 (1)
    I confirm, all my six stick work now.

    (BTW have you some idea about my previous post?)
    #6
    NKurzman
    A Guy on the Net
    • Total Posts : 18372
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: online
    Re: Not all USB stick work under H2.06 2020/03/23 15:48:47 (permalink)
    0
    Glad it works for you.
    Which Post?  But I looked at you last few an probably not.
    #7
    kuku
    Senior Member
    • Total Posts : 139
    • Reward points : 0
    • Joined: 2012/03/03 08:05:54
    • Location: 0
    • Status: online
    Re: Not all USB stick work under H2.06 2020/03/23 15:52:42 (permalink)
    #8
    Jump to:
    © 2020 APG vNext Commercial Version 4.5