Flash program example in KSDK 2.2

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Flash program example in KSDK 2.2

619 次查看
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 项奖励
回复
1 回复

306 次查看
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 项奖励
回复