Flash program example in KSDK 2.2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Flash program example in KSDK 2.2

700件の閲覧回数
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 返信

387件の閲覧回数
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 件の賞賛
返信