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.

790 次查看
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 回复数

542 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

542 次查看
hotashu
Contributor III

I followed your suggestion that solved our problem.

0 项奖励
回复