1 Reply Latest reply on Sep 14, 2010 9:00 AM by richard.nixon

    USBFS_EnterBootloader

    richard.nixon

      I'm working with the BootLdrUSBFS module but I'm struggling to get the upgrader to work properly.

         

      If I invoke the bootloader at the beginning of main.c, the upgrade does seem to transfer successfully however the changes don't stick.

         

      If I invoke the bootloader after USB enumeration has occured I seem to end up in a hung state.

         

      Is there some obvious things that I'm missing here?

        • 1. Re: USBFS_EnterBootloader
          richard.nixon

          Solved my own problem (fortunately!!).

             

          Two issues were are work here.

             

          1. So the "ICE_Debug_FLASH_DISABLE" is poorly named. I'm not using ICE at all so I thought that this didn't apply to me. A more accurate name for this field would simple be "DISABLE_FLASH_WRITE" !!

             

          2. A resistor on the board was making the USB reset not happen. Hence it wouldn't enter bootloader mode from the main application.