31.2.17.4 PFM Panel Manual Swap

Unlike Boot Swap, the memory region order of the PFM panels is entirely the user’s responsibility. The control bit, SWAP.PFSWAP, provides the manual control to swap the order of the PFM panels. In order to properly swap the PFM panel regions, there must not be any accesses to either panel when changing the PFSWAP bit. Accesses to Boot regions or SRAM is allowed.

A likely method to implement PFM panel swap in boot code is to follow the same procedure as the FCW uses for Boot Swap. The code would be in the Lower Boot region but the sequence numbers, SeqNum, would be read from each panel.

An example device memory map is shown in the following figure with the PFSWAP bit set or cleared.

Figure 31-7. Device Memory Map Example