Hello,
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??
Regards
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:
https://www.nxp.com/docs/en/reference-manual/MPC5674FRM.pdf
If you are using your own debugger, I believe these chapters are understandable to you.
I could also point out following appnote:
https://www.nxp.com/docs/en/application-note/AN4365.pdf
Hope it helps a bit
Hello,
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???
Regards
Hi,
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.
regards,
Peter