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