The demo code does the swap as follows: result = FLASH_Swap(&s_flashDriver, swapIndicatorAddress, false); This disables the SWAP, the last parameter should be set to TRUE With driver fsl_flash v.2.3.1 we did not have this issue. You have done a lot of modifi...