Hello,
I am using MC9S12ZVCRM micro.
I have a question about the memory erasing.
Currently I reached to erase a P-Flash sector (512Bytes) by using Erase P-Flash Sector command.
But I need to erase all application block (from 0xFD0000 to 0xFF7FFF -> 160 Kb), I can do it by calling Erase P-Flash Sector command 320 times… but it is very long and not clean...
There is a command Erase Flash Block, but I do not understand how to use it.
How can use "Erase Flash Block" command to erase P-Flash memory from 0xFD0000 to 0xFF7FFF ?
How can use "Erase Flash Block" command to erase the whole EEPROM memory?
Someone can explain or share an example?
Thanks a lot for your help!!!
Best Regards