Erase code memory and eeprom memory from flash in MC9S12ZVL32F0CLF controller

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

Erase code memory and eeprom memory from flash in MC9S12ZVL32F0CLF controller

1,101 次查看
Ramsai
Contributor I

Hi Team,

I am working on MC9S12ZVL32F0CLF controller for my project. 

I wanted to erase both code memory and eeprom memory from flash during or before flashing of the application code using P&E multilink.

I am using CW MCU v11.1 ide for this project.

Please someone suggest me how to erase both code and eeprom memories at a time.

Regards,

V. Ramsai

0 项奖励
回复
2 回复数

1,083 次查看
lama
NXP TechSupport
NXP TechSupport

Hi,

It is not absolutely clear what you want to do because if you use CodeWarrior eclipse version it automatically erase and unsecure flash before programming it.

 

If you, however want to erase flash from flash you can use bootlaoader code which will be responsible for your code updates. The bootlader is a special application which is permanently stored in the MCU. You are responsible to flash it into the MCU.

At the page...

https://community.nxp.com/t5/S12-MagniV-Microcontrollers/List-of-MagniV-and-S12-X-Application-notes/...

search for AN12086, AN4723.

Best regards,

Ladislav

0 项奖励
回复

1,074 次查看
Ramsai
Contributor I

Hi Ladislav,

Thank you for the response.

0 项奖励
回复