FXPS71407 change physaddr

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

FXPS71407 change physaddr

Jump to solution
2,447 Views
gangli_hhh
Contributor I

Hi !

 I use the method in datasheet to change physaddr in otp, but it does not work. How could I change the physaddr in otp.

When the board power on, the physaddr is 0x0. Then I send a crm command 0x08180112 to change the physaddr to 0x1. I want physaddr keep 0x1 when the board reset. So I use the method in the datasheet below. The Lock_UF2 is 0, then I send crm command 0x18118a5b to write to the WRITE_OP_EN register. I can get the correct crm response. But then I send a crm command to read back the register value, I can not communicate with the board. And when I power off and on, the physaddr is still 0x0. How could I change the physaddr to 0x2 permanently?

Thanks!

gangli_weride_0-1735547757778.png

 

0 Kudos
Reply
1 Solution
2,348 Views
RafaR
NXP Employee
NXP Employee

Hi gangli_weride

Can you please confirm the voltage applied to BUS_I during programming ?

It needs to be within 9-11V for at least 10ms after the register $11 write command.

View solution in original post

0 Kudos
Reply
10 Replies
2,393 Views
gangli_hhh
Contributor I

Hi!

  Now I can change the physaddr by sending write $11 register data 0x8a. And the physaddr changed successfully!

  But after I reset, there is a u_otp_err error. And I can not clear this error by reading DEVSTAT2 register. Is there something wrong?

Thanks! Hope for you response!

gangli_weride_0-1735884337190.png

 

0 Kudos
Reply
2,349 Views
RafaR
NXP Employee
NXP Employee

Hi gangli_weride

Can you please confirm the voltage applied to BUS_I during programming ?

It needs to be within 9-11V for at least 10ms after the register $11 write command.

0 Kudos
Reply
2,380 Views
RafaR
NXP Employee
NXP Employee

Hi gangli_weride

Let me confirm with an expert on this device to have a definitive answer.

I will contact you soon

Have a great day and best of luck.

0 Kudos
Reply
2,392 Views
gangli_hhh
Contributor I

And why the u_otp_err happen? How could I clear this error?

0 Kudos
Reply
2,325 Views
gangli_hhh
Contributor I

Hi RafaR:

By the way, Could you show me how to clear u_otp_err in DEVSTAT2?

0 Kudos
Reply
2,311 Views
RafaR
NXP Employee
NXP Employee

Hi gangli_weride

 

I am still in contact with the expert, let me share the information with you.

“The U_OTP_ERR cannot be cleared as the memory is only One Time Programmable (i.e OTP).”

 

I hope this information has helped you

 

Have a great day and best of luck.

0 Kudos
Reply
2,296 Views
gangli_hhh
Contributor I

Hi RafaR

Thanks for your help!

If there is U_OTP_ERR in DEVSTAT2, is it meaning the chip is broken? Because U_OTP_ERR influences the pdcm data

gangli_weride_0-1736474173756.png

And how could I avoid U_OTP_ERR when I write $11 register?

Hope for you response!

Thanks!

0 Kudos
Reply
2,279 Views
RafaR
NXP Employee
NXP Employee

Hi gangli

 

“if there is U_OTP_ERR in DEVSTAT2, is it meaning the chip is broken?”

I contacted the expert to see if there was any way to fix it but no.

“The device will remain definitively in that state.”

 

I hope this information has helped you.

Have a great day and best of luck.

0 Kudos
Reply
2,429 Views
RafaR
NXP Employee
NXP Employee

Hi gangli_weride

RafaR_0-1735584940211.png

 

Could you check if the UF2 regions are not locked before and after the reset?, It seems to be exactly what is happening to you.

 

Have a great day and best of luck.

0 Kudos
Reply
2,412 Views
gangli_hhh
Contributor I

Before send crm 0x1811820c to write OTP:0x5f register data: 0x00, LOCK_UF2 was not set.

Sending crm 0x181182f8, response: 0x18820087. The crm was sending correctly.

After send crm 0x181182f8, I read 0x5f register, there is no response of crm 0x105f00f8, I can check the LOCK_UF2. 

 

Thanks!

0 Kudos
Reply