1886515_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

1886515_en-US

1886515_en-US

SPC5604 - How can I JTAG password lock ?

Hello.

I looking for some examples or documents for JTAG password lock in SPC5604.

How can I JTAG password lock in SPC5604B ?


Best Regards,

SEAN SUNG

Re: SPC5604 - How can I JTAG password lock ?

Hello,

Not sure here. I never tried it using CW.

@stanish could you have a look at this?

best regards,

Peter

Re: SPC5604 - How can I JTAG password lock ?

Hello,

Not sure what you mean.

But if you are asking if SW can write to the shadow flash, then yes.

Shadow flash is same as any other flash block, but used for configuration of device.

Best regards,

Peter

Re: SPC5604 - How can I JTAG password lock ?Sorry, but there's another question. Can I directly inject the required configuration into the corresponding NVSCC0-1 and NVPWD0-1 register of censorship shadow flash through software injection?Re: SPC5604 - How can I JTAG password lock ?

Hello, I am now encountering a problem, I am in the system initialization unlock erase and reprogram shadow flash (using the demo provided by your company), the startup process is Flash memory boot, censorship control register's config is SC == 55AA,CW !=55AA and I set a private password. Now the problem is that when the initialization is completed, when I enter the configured private password when debugging with CW 10.6, the following error will be reported, please help me answer the question of whether I should not directly operate the shadow flash during initialization.

I hope you can help with this answer.

Seek_0-1719744059994.png

Seek_1-1719744327193.png



Re: SPC5604 - How can I JTAG password lock ?

Hello,

You simply program censorship registers as described in reference manual:

petervlna_0-1718260483615.png

petervlna_1-1718260515784.png

petervlna_2-1718260716547.png


You will use common flash programming procedure as for any other flash.

Best regards,

Peter



回复: SPC5604 - How can I JTAG password lock ?How to write to the register NVPWD0 and NVPWD1 and NVSCI0 and NVSCI1?回复: SPC5604 - How can I JTAG password lock ?https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5604B-Shadow-
Flash-Reprogramming/ta-p/1119903, this answers can write shadow block success
Tags (1)
No ratings
Version history
Last update:
‎11-24-2025 07:15 AM
Updated by: