Flash program example in KSDK 2.2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Flash program example in KSDK 2.2

584 Views
mastupristi
Senior Contributor I

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

0 Kudos
1 Reply

271 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Massimiliano Cialdi

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

0 Kudos