I'm trying to program a censorship word for the MPC56XX but I'm getting locked out. Ideally I would like to set a password(and not be locked out :smileyhappy:). I'm using PROGPPCNEXUS and a JTAG device.
I'm looking at this diagram
Lets say I have the default password programmed: FEEDFACECAFEBEEF
And I have the censorship and serial boot set as so: 0xAA5555AA (Censorship word != 0x55AA and serial boot control == 0x55AA)
I would think that this would make it so it censors the device unless I give it the correct password(FEEDFACECAFEBEEF). However, it looks like I'm just completely locked out.
I'm confused what the BOOTCFG pertains to, especially since my MCU only has one BOOTCFG pin. I've tried pulling it high but it doesn't seem to do anything, still locked out.
Any help?
Hi, I guess it could be caused by used debugger.
Try to see WARNING no.2 I have published with following example code:
Example MPC5644A Censorship CW210
The smallest package has only BOOTCFG1 pin, BOOTCFG0 is hardwired to 0.
Hope it helps