MKS22FN vs MK22FN flash programme

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

MKS22FN vs MK22FN flash programme

ソリューションへジャンプ
1,028件の閲覧回数
chris_f
Contributor V

I'm trying to use openocd to programme an MKS22FN256VLL12. Openocd doesn't yet support the MKS parts but does support the MK22FN parts.

How different is an MKS22FN256 to a MK22FN256 from a flash programming perspective?

I've tried patching openocd to treat the MKS22 part as if it is an MK22 but am getting flash erase and memory write errors though this is a new PCB so may have other problems.

ラベル(1)
0 件の賞賛
返信
1 解決策
886件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

I don't find there with Flash programming difference between MKS22FN256 vs.MK22FN256.

You can porting Flash program algorithm for MK22FN256 to MKS22FN256 .

The only difference of Flash command is that:

MKS22FN256 has Erase All Blocks Unsecure command (0x49),

MK22FN256 doesn't has this Flash command.

Wish it  helps.


Have a great day,
Mike

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
887件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

I don't find there with Flash programming difference between MKS22FN256 vs.MK22FN256.

You can porting Flash program algorithm for MK22FN256 to MKS22FN256 .

The only difference of Flash command is that:

MKS22FN256 has Erase All Blocks Unsecure command (0x49),

MK22FN256 doesn't has this Flash command.

Wish it  helps.


Have a great day,
Mike

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
886件の閲覧回数
chris_f
Contributor V

Thanks for the confirmation Mike.

0 件の賞賛
返信