Uploaded image for project: 'MCUboot'
  1. MCUB-38

Random resets don't always run the right image

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Done
    • Affects versions: None
    • Fix versions: 1.0.0
    • Components: None
    • Labels:
      None
    • Environment:
      Tested with both Mynewt-built and Zephyr-built code.
      Running on FRDM-K64F

      Description

      In testing on FRDM-K64F, I find that periodic resets sometimes result in either:
      * The upgrade not happening, and the existing slot0 image being run
      * During a revert, the image remaining, and the revert never happening
      Both seem quite similar behavior. I can reproduce with just a dozen or so upgrades with reboots.

      Since this should be caught by the simulator, I would suggest first trying to reproduce this in the simulator to see if there is any window being missed.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                utzig Fabio Utzig
                Reporter:
                david.brown David Brown
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync