Hi
I have the same problem with 84789 microcontroller.
I did not erase the address 0x7FFF0F
i used the following command:
hfm_command(FTFL_ERASE_SECTOR, (UInt16*)(i*FLASHP_PAGE_SIZE + PFLASH_START_ADDR), 0, 0);
where PFLASH_START_ADDR is 0x3000.
After it, i think the chip is locked. I cannot program it any more to try fix the problem.
I dont want to replace chip.
I am using MCU 10.2 (new code warrior for microcontrollers MCU56F84789 (32 bit) with USB TAP.
Please tell what should i do to first remove the unclock and then what code i should run in order to be able to write
and clear the memory for boot loader procedure.
Thanks,
Eli