Thank you for answer.
It helped a lot.
I checked the datasheet for backdoor key access.
By comparing the FCCOB1~FCCOB4 registers with the key value through the external on-chip serial port, it was confirmed that the security mode can be disabled.
If I send the key value to the FCCOB1~FCCOB4 registers through SCI communication, can I use the backdoor key access function?
1. Write the code as 0x01 for all key values in FCCOB1~FCCOB4 registers.
2. Using a PC program, send data to 0x01 via SCI communication.
3. MCU compares FCCOB1~FCCOB4 register value with data value 0x01 received through SCI communication.
4. MCU security mode is disabled, so you can use debug mode.
5. All source code is done in the main statement.
In detail,
I use s12zvca192mlf MCU from codewarrior 11.1.
as a global variable
const unsigned char secure @ 0xFF0F = 0xFC;
declared this.
And inside the main statement
FCCOB0 = 0x0C;
FCCOB1 = 0x01;
FCCOB2 = 0x01;
FCCOB3 = 0x01;
FCCOB4 = 0x01;
I wrote it like this.
I will compare FCCOB0~FCCOB4 registers by SCI communication.
Is my understanding correct?
After that, I'm curious what the action is after comparing FCCOB0~FCCOB4.
Best Regards,
s_kim1.