I am using my own JTAG programmer and I was having difficulty inputting JTAG censorship value for my MPC5674F. I am able to read memory of an uncensored device, but when I put a censorship value, I am not able to read the memory. I was wondering at what moment the censorship data was compared to the one in Flash??? Is it right after it is sent via JTAG or is it when requesting a read command??
Hi, please pay attention to sections
8.5.7 Enabling Debug of a Censored Device and
31.3.4 CENSOR_CTRL Register
of device's RM:
If you are using your own debugger, I believe these chapters are understandable to you.
I could also point out following appnote:
Hope it helps a bit
I am still unable to uncensor the device through JTAG. Maybe my timings are not good. At which point the password entered through JTAG is compared with the one strored in memory. Is is right after reset is released??? At which point in time this comparison takes place???
JTAG censorship is compared during reset phase.
Once you send the correct password the JTAG module will start communicating. Until then it behaves as there is no JTAG module on chip to external world.