• AVR Freaks

Hot!USB bootloader sample don't connect to the bootloader software

Author
ffb.boy.30
Super Member
  • Total Posts : 192
  • Reward points : 0
  • Joined: 2016/08/31 00:59:51
  • Location: 0
  • Status: offline
2019/03/11 15:06:45 (permalink)
5 (1)

USB bootloader sample don't connect to the bootloader software

Hi,
I'm trying to use the sample USB project :"usbdevice_pic32mz_ef_sk".
The project compile correctly , the "HID USB bootloader" appears in windows and the led toggle.
When I try to connect with the bootloader software, the software block and impossible to make the connection.
I know that the usb works , I use it for an other application.
Is there something to add to make the bootloader sample working correclty ?
 
Thanks you
 
 
Harmony V2.06
XC32 1.44
PIC32MZ2048EFH144
 
#1

4 Replies Related Threads

    nigelwright7557
    Super Member
    • Total Posts : 274
    • Reward points : 0
    • Joined: 2006/11/06 08:15:51
    • Location: 0
    • Status: offline
    Re: USB bootloader sample don't connect to the bootloader software 2019/03/11 17:16:47 (permalink)
    4.5 (2)
    I had a problem with USB and Harmony 2.05 and 2.06
    If the pc program exits then about 5 seconds later the USB suspends and stays in suspend and doesn't come out when pc program starts again. 
    I reverted to Harmony 2.04 and then it was fine.
     
     
    #2
    ffb.boy.30
    Super Member
    • Total Posts : 192
    • Reward points : 0
    • Joined: 2016/08/31 00:59:51
    • Location: 0
    • Status: offline
    Re: USB bootloader sample don't connect to the bootloader software 2019/03/11 19:33:53 (permalink)
    0
    ok thanks I will try.
    #3
    ffb.boy.30
    Super Member
    • Total Posts : 192
    • Reward points : 0
    • Joined: 2016/08/31 00:59:51
    • Location: 0
    • Status: offline
    Re: USB bootloader sample don't connect to the bootloader software 2019/03/12 05:25:07 (permalink)
    0
    crazy problem is works directly with the 2.04 , it takes 5min.
    #4
    b!tm@ster
    New Member
    • Total Posts : 10
    • Reward points : 0
    • Joined: 2019/01/15 14:03:18
    • Location: 0
    • Status: offline
    Re: USB bootloader sample don't connect to the bootloader software 2019/04/23 13:26:47 (permalink)
    0
    Dang, the propsed workaround (downgrading to harmony v2.04) worked for me as well.
     
    I was using harmony framework v2.06. Needed to add bootloader to existing application for PIC32MZ so I enabled the bootloader library in the harmony configuration and enabled generating the linker script. I created a separate bootloader project, enabled harmony config settings, set it's DEVCFGx registers, clock settings & pin settings to be identical to the existing application. I then added the bootloader project as a loadable project within the existing application project. Bootloader showed up fine as HID device in the windows device manager but was unable to connect to the bootloader firmware with the PC application supplied with the source for AN1338. I would hit the connect button and the PC application would pretty much just freeze. After downgrading from harmony v2.06 to v2.04 all is well.
    #5
    Jump to:
    © 2019 APG vNext Commercial Version 4.5