I want to avoid erasing of EEPROM memory while Flashing the program in Freescale MC9s12VH128.

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

I want to avoid erasing of EEPROM memory while Flashing the program in Freescale MC9s12VH128.

1,623 次查看
ponalagappan
Contributor III

I am using codewarrior. I need to aviod erasing of eeprom while falshing program.

I am seeing 2 things to do in IDE:

1. In .prm file i changed EEPROM area to NO_INIT from READ_ONLY

2. I am seeing DO_MASS_ERASE_AND_RESET in

   C:\Freescale\CW MCU v10.7\MCU\bin\Plugins\support\s12z\gdi\P&E\freescale_9s12zvh128_1x16x64k_all.s12zp file.

I think i need to change DO_MASS_ERASE_AND_RESET which is doing mass erase of flsah and EEPROM content.

What (command) i need to replace or add to avoid erase of EEPROM during flashing

THanks

0 项奖励
回复
1 回复

1,518 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Pon.

I ever did partly program flash under CW10 for kinetis. But I think the method is the same if use HCS12Z.

Please refer document. see how it works for your chip.

please make sure you select the correct xml for your chip.


Have a great day,
Jennie Zhang

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

0 项奖励
回复