Hello,
I ran simulation tests in a single step and found that after FLASH initialization, the value of register LOCK2 was 0xFFFFC000. During FLASH erase,
when erasing the first 256K Block, the value of register SEL2 was 0x0000001.
When erasing the second 256K Block, the value of register SEL2 was 0x0000002.
When erasing the third 256K Block, the value of register SEL2 was 0x0000004.
When erasing the fourth 256K Block, the value of register SEL2 was 0x0000008.
When erasing the fifth 256K Block, the value of register SEL2 was 0x00000010.
When the sixth 256K BLOCK is reached, the value of register SEL2 is 0x00000020,
Therefore, this corresponds exactly to six 256KB Code Flash blocks.
The setting operation of ERS and EHV in registers MCR is also normal.
When initializing Lock2, the value of the register is 0XFFFFC000, indicating that 14 256KB Code Flash blocks have been unlocked, which corresponds exactly to the 14 256KB Code Flash blocks of MPC5746R, as shown in the following figure:

And I used two controllers, and the test results were the same.
Do you think my understanding is correct?
From the diagram below, it can be seen that only Pation 6 can be programmed and erased, while Pation 7 can only be programmed but not erased. Is this related to this configuration?

Thank you!