I use Kinetis K64
in the old KSDK 1.3 there was some source file about programming flash using swap (C90TFS in KSDK_1.3.0/platform/drivers/src/flash/C90TFS/drvsrc).
I wonder if in KSDK2.2 yhere is something similar
best regards
max
From KSDK 2.x, we merged all original KSDK 1.3 flash source filess in fsl_flash.c
For example, for Frdm-K64f, this file is under the below folder
SDK_2.2_FRDM-K64F\devices\MK64F12\drivers\fsl_flash.c
I guess below two flash APIs are what your are looking for.
FLASH_SwapControl()
FLASH_Swap
Regards
Daniel