Is there any information on what a valid password is for use in censoring a device? The Reference Manual for the MPC5674F states that a "valid password" should be programmed but I cannot find any mention of what "valid" entails.
Certain flash passwords, generally ones with low values, do not appear to work correctly. For instance a password of 0x1 will not allow the device to be accessed over JTAG. Other passwords work just fine. I can verify that both the control word and password are set correctly so I know it's not a problem with that.
I am not sure if reference manual mentions it somewhere or not but values 0x0000 and 0xFFFF cannot be used for Censorship Control Word (0x00FF_FDE0) or Serial Boot Control (0x00FF_FDE2).
Although I have found it described anywhere is the device’s RM, some related MCUs (for instance MPC5604B) has this restriction aslo specified for passwords:
When configuring the private password, each half word (16-bit) must contain at least one "1" and one "0".
I suppose it works same way for all MPC5xxx devices.