can anyone send me kinetis L emmulate eeprom sample code under Codewarrior? I referred an2296, the program routine works under IAR, but can't under Codewarrior.

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

can anyone send me kinetis L emmulate eeprom sample code under Codewarrior? I referred an2296, the program routine works under IAR, but can't under Codewarrior.

639件の閲覧回数
hotashu
Contributor III

hello,

 

can anyone send me kinetis L emmulate eeprom sample code under Codewarrior? I referred an2295sw, the program routine works under IAR, but can't under Codewarrior10.6.

after copying flash routine from rom to ram, FLASH_FlashCommandSequence can't work, program got fly everytime when run this code.

anyone please send me a demo code on Codewarrior KL flash programming is very appreciated.

ラベル(1)
2 返答(返信)

391件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

hi hotas,

FLASH_FlashCommandSequence is copied to RAM flash programming routines. from my experience, the CW version flash programming routine code size is larger than IAR version's, increase buffer[128] to buffer[200] to make sure all the flash programming routine is copied to RAM. please try it.


Have a great day,
Zhang Jun

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

391件の閲覧回数
hotashu
Contributor III

I followed your suggestion that solved our problem.

0 件の賞賛