FXPS71407 change physaddr

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

FXPS71407 change physaddr

Jump to solution
2,862 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,763 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,808 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,764 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,795 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,807 Views
gangli_hhh
Contributor I

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

0 Kudos
Reply
2,740 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,726 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,711 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,694 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,844 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,827 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
%3CLINGO-SUB%20id%3D%22lingo-sub-2020437%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFXPS71407%20change%20physaddr%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2020437%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20!%3C%2FP%3E%3CP%3E%26nbsp%3BI%20use%20the%20method%20in%20datasheet%20to%20change%20physaddr%20in%20otp%2C%20but%20it%20does%20not%20work.%20How%20could%20I%20change%20the%20physaddr%20in%20otp.%3C%2FP%3E%3CP%3EWhen%20the%20board%20power%20on%2C%20the%20physaddr%20is%200x0.%20Then%20I%20send%20a%20crm%20command%200x08180112%20to%20change%20the%20physaddr%20to%200x1.%20I%20want%20physaddr%20keep%200x1%20when%20the%20board%20reset.%20So%20I%20use%20the%20method%20in%20the%20datasheet%20below.%20The%20Lock_UF2%20is%200%2C%20then%20I%20send%20crm%20command%200x18118a5b%20to%20write%20to%20the%20WRITE_OP_EN%20register.%20I%20can%20get%20the%20correct%20crm%20response.%20But%20then%20I%20send%20a%20crm%20command%20to%20read%20back%20the%20register%20value%2C%20I%20can%20not%20communicate%20with%20the%20board.%20And%20when%20I%20power%20off%20and%20on%2C%20the%20physaddr%20is%20still%200x0.%20How%20could%20I%20change%20the%20physaddr%20to%200x2%20permanently%3F%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22gangli_weride_0-1735547757778.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22gangli_weride_0-1735547757778.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F317632i11CDDC996204EEE0%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22gangli_weride_0-1735547757778.png%22%20alt%3D%22gangli_weride_0-1735547757778.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2026073%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20FXPS71407%20change%20physaddr%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2026073%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20gangli%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CEM%3E%E2%80%9Cif%20there%20is%20U_OTP_ERR%20in%20DEVSTAT2%2C%20is%20it%20meaning%20the%20chip%20is%20broken%3F%E2%80%9D%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3EI%20contacted%20the%20expert%20to%20see%20if%20there%20was%20any%20way%20to%20fix%20it%20but%20no.%3C%2FP%3E%0A%3CP%3E%3CEM%3E%E2%80%9CThe%20device%20will%20remain%20definitively%20in%20that%20state.%E2%80%9D%3C%2FEM%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EI%20hope%20this%20information%20has%20helped%20you.%3C%2FP%3E%0A%3CP%3EHave%20a%20great%20day%20and%20best%20of%20luck.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2025357%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20FXPS71407%20change%20physaddr%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2025357%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20RafaR%3C%2FP%3E%3CP%3EThanks%20for%20your%20help!%3C%2FP%3E%3CP%3EIf%20there%20is%20U_OTP_ERR%20in%20DEVSTAT2%2C%20is%20it%20meaning%20the%20chip%20is%20broken%3F%20Because%20U_OTP_ERR%20influences%20the%20pdcm%20data%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22gangli_weride_0-1736474173756.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22gangli_weride_0-1736474173756.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F318869iBB3D0F10745668A6%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22gangli_weride_0-1736474173756.png%22%20alt%3D%22gangli_weride_0-1736474173756.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EAnd%20how%20could%20I%20avoid%20U_OTP_ERR%20when%20I%20write%20%2411%20register%3F%3C%2FP%3E%3CP%3EHope%20for%20you%20response!%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2025150%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20FXPS71407%20change%20physaddr%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2025150%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20gangli_weride%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EI%20am%20still%20in%20contact%20with%20the%20expert%2C%20let%20me%20share%20the%20information%20with%20you.%3C%2FP%3E%0A%3CP%3E%3CEM%3E%E2%80%9CThe%20U_OTP_ERR%20cannot%20be%20cleared%20as%20the%20memory%20is%20only%20One%20Time%20Programmable%20(i.e%20OTP).%E2%80%9D%3C%2FEM%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EI%20hope%20this%20information%20has%20helped%20you%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EHave%20a%20great%20day%20and%20best%20of%20luck.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2024403%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20FXPS71407%20change%20physaddr%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2024403%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20RafaR%3A%3C%2FP%3E%3CP%3EBy%20the%20way%2C%20Could%20you%20show%20me%20how%20to%20clear%20u_otp_err%20in%20DEVSTAT2%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2023464%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20FXPS71407%20change%20physaddr%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2023464%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20gangli_weride%3C%2FP%3E%0A%3CP%3ECan%20you%20please%20confirm%20the%20voltage%20applied%20to%20BUS_I%20during%20programming%20%3F%3C%2FP%3E%0A%3CP%3EIt%20needs%20to%20be%20within%209-11V%20for%20at%20least%2010ms%20after%20the%20register%20%2411%20write%20command.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2022023%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20FXPS71407%20change%20physaddr%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2022023%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20gangli_weride%3C%2FP%3E%0A%3CP%3ELet%20me%20confirm%20with%20an%20expert%20on%20this%20device%20to%20have%20a%20definitive%20answer.%3C%2FP%3E%0A%3CP%3EI%20will%20contact%20you%20soon%3C%2FP%3E%0A%3CP%3EHave%20a%20great%20day%20and%20best%20of%20luck.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2021647%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20FXPS71407%20change%20physaddr%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2021647%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EAnd%20why%20the%20u_otp_err%20happen%3F%20How%20could%20I%20clear%20this%20error%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2021637%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20FXPS71407%20change%20physaddr%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2021637%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi!%3C%2FP%3E%3CP%3E%26nbsp%3B%20Now%20I%20can%20change%20the%20physaddr%20by%20sending%20write%20%2411%20register%20data%200x8a.%20And%20the%20physaddr%20changed%20successfully%EF%BC%81%3C%2FP%3E%3CP%3E%26nbsp%3B%20But%20after%20I%20reset%2C%20there%20is%20a%20u_otp_err%20error.%20And%20I%20can%20not%20clear%20this%20error%20by%20reading%20DEVSTAT2%20register.%20Is%20there%20something%20wrong%3F%3C%2FP%3E%3CP%3EThanks!%20Hope%20for%20you%20response!%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22gangli_weride_0-1735884337190.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22gangli_weride_0-1735884337190.png%22%20style%3D%22width%3A%20375px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F317978i720015EE3295BCDD%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22gangli_weride_0-1735884337190.png%22%20alt%3D%22gangli_weride_0-1735884337190.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2020616%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20FXPS71407%20change%20physaddr%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2020616%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EBefore%20send%20crm%200x1811820c%20to%20write%20OTP%EF%BC%9A0x5f%20register%20data%3A%200x00%2C%20LOCK_UF2%20was%20not%20set.%3C%2FP%3E%3CP%3ESending%20crm%200x181182f8%2C%20response%3A%200x18820087.%20The%20crm%20was%20sending%20correctly.%3C%2FP%3E%3CP%3EAfter%20send%20crm%200x181182f8%2C%20I%20read%200x5f%20register%2C%20there%20is%20no%20response%20of%20crm%200x105f00f8%2C%20I%20can%20check%20the%20LOCK_UF2.%26nbsp%3B%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2020552%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20FXPS71407%20change%20physaddr%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2020552%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20gangli_weride%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22RafaR_0-1735584940211.png%22%20style%3D%22width%3A%20482px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22RafaR_0-1735584940211.png%22%20style%3D%22width%3A%20482px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F317662i9E51B26EDA3D8681%2Fimage-dimensions%2F482x158%3Fv%3Dv2%22%20width%3D%22482%22%20height%3D%22158%22%20role%3D%22button%22%20title%3D%22RafaR_0-1735584940211.png%22%20alt%3D%22RafaR_0-1735584940211.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ECould%20you%20check%20if%20the%20UF2%20regions%20are%20not%20locked%20before%20and%20after%20the%20reset%3F%2C%20It%20seems%20to%20be%20exactly%20what%20is%20happening%20to%20you.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EHave%20a%20great%20day%20and%20best%20of%20luck.%3C%2FP%3E%3C%2FLINGO-BODY%3E