Erase code memory and eeprom memory from flash in MC9S12ZVL32F0CLF controller

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Erase code memory and eeprom memory from flash in MC9S12ZVL32F0CLF controller

647 Views
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 Kudos
Reply
2 Replies

629 Views
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 Kudos
Reply

620 Views
Ramsai
Contributor I

Hi Ladislav,

Thank you for the response.

0 Kudos
Reply