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
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!
-----------------------------------------------------------------------------------------------------------------------