MPC5744p censorship

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

MPC5744p censorship

342 Views
abdelrhman
Contributor III

Hi all,
I'm using MPC5744p, I flashed the following array,
{0x55555555, 0x0100000C, 0x55555555, 0x01000008, 0x55555555, 0x01000004},
in the UTest memory section at address starting from 0x00400208.
the array data means that securing the microcontroller is enabled since the DCF record NVSCI is programmed by 0x5555555 other than the default value 55AA55AA. and accordingly, as expected, the microcontroller is now secured. I'm expecting that the uncensor password will be 0x5555555555555555 since the Non-Volatile Password Low (NVPWDL) and Non-Volatile
Password High (NVPWDH) are configured by 0x 55555555 and 0x55555555. However, when I tried to uncensor the microcontroller using this password, I couldn't connect to it duo to wrong password.

My question is 
is the uncensor password, 0x5555555555555555, wrong? 
If yes, how I can calculate the correct password based on the flashed array ?
If no, is there something else missing ?


Thanks in advance



0 Kudos
7 Replies

332 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Password seem to me valid.

I would suspect the way you enter the password.

I have posted guide for it:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/MPC5744P-Censorship-programing-with-Lauterbach/t...

Best regards,

Peter

0 Kudos

323 Views
abdelrhman
Contributor III

Hello Petervlna,
Thank you for your response
I'm using S32 design studio IDE, GCC compiler.
Does it make any difference ? as I'm trying to flash a new file with entering the password at the GDB server parameter and it always fails.

0 Kudos

256 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I'm trying to flash a new file with entering the password at the GDB server parameter and it always fails.

Ok, so you can attach with debugger after providing the password? Are you able to debug?

Best regards,

Peter

0 Kudos

252 Views
abdelrhman
Contributor III

No, I can't
I can't neither flash a new file nor start a debug session.

0 Kudos

182 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I was talking to guys from S32DS team.

There will pop up window where you enter the password. So it should be pretty simple.

You dont need a script or something else like in case of Lauterbach.

Best regards,

Peter

0 Kudos

305 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Sorry I am not familiar with S32DS and these low cost debuggers.

@jiri_kral do we have guide for Censoring / unlocking MPC devices via S32DS?

In advance could you specify which debugger and S32DS are you using?

Best regards,

Peter

 

0 Kudos

303 Views
abdelrhman
Contributor III

I'm using openSDA Embedded Debug - USB port

0 Kudos