Hi, Stephen,
As you know that the MC56F83xxx has TWO independent flash block, while the MC56F8355 has only ONE flash block. The MC56F83xxx has ROM flash bootloader and ROM flash driver, you can call the ROM flash driver to operate Flash like erasing/programming operation. Regarding the erasing/programming the same flash block where the code is saved in and executed from, pls refer to comment in flash driver for MC56F83xxx:
"
* MC56F83xxx has two flash blocks, it support read/execute code on one flash block while erase/program on another flash
* block. Make sure don't access the flash block while it performs erase/program operation.
*
* If put the code(including ISR) only in one flash block, and erase/program another flash block, then it is OK to
* enable the interrupt since there is no access(even the ISR) to the flash block which is performing erase/program
* operation.
*
* If move the vector table, ISR code to RAM(mapping to flash space), then it is also OK to enable the interrupt, since
* there is no access(even the ISR) to the flash block which is performing erase/program operation.
*
* Anyway for safety reason, it is highly recommended to disable the interrupt before ROM flash API call.
*
"
Hope it can help you
BR
Xiangjun Rong