Commit 11d91c34 authored by Håkon Øye Amundsen's avatar Håkon Øye Amundsen Committed by Andrzej Puzdrowski
Browse files

docs: fix incorrect state reference

The TEST is state I and PERM is state II.

Signed-off-by: default avatarHåkon Øye Amundsen <haakon.amundsen@nordicsemi.no>
parent 4c1c5b09
Loading
Loading
Loading
Loading
+3 −3
Changes for docs/design.md: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -606,10 +606,10 @@ process is presented below.
The boot loader swaps the contents of the two image slots for two reasons:

  * User has issued a "set pending" operation; the image in the secondary slot
    should be run once (state II) or repeatedly (state III), depending on
    should be run once (state I) or repeatedly (state II), depending on
    whether a permanent swap was specified.
  * Test image rebooted without being confirmed; the boot loader should
    revert to the original image currently in the secondary slot (state IV).
    revert to the original image currently in the secondary slot (state III).

If the image trailers indicates that the image in the secondary slot should be
run, the boot loader needs to copy it to the primary slot.  The image currently
@@ -657,7 +657,7 @@ according to the following procedure:
The additional caveats in step 2f are necessary so that the secondary slot image
trailer can be written by the user at a later time.  With the image trailer
unwritten, the user can test the image in the secondary slot
(i.e., transition to state II).
(i.e., transition to state I).

Note1: If the region being copied contains the last sector, then swap status is
temporarily maintained on scratch for the duration of this operation, always