S32K3 register protection or error ditection

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K3 register protection or error ditection

624件の閲覧回数
Gitae
Contributor I

hello.
I have a question for S32K312 register protection.

 

1. Can I periodically check the value of the register settings during operation?

    1-1. If possible, how to check or an example project would be appreciated.

 

2. Among the registers that are set at Init, are there any registers that can be written and changed with arbitrary values?
Ex) Write and read with specific values (0xAA, 0x55, etc.) to the register area used, and recover the register after checking the physical integrity.

 

Thank You.

0 件の賞賛
返信
1 返信

595件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

1. Can I periodically check the value of the register settings during operation?

Yes, you can read protected registers with no limitation.

1-1. If possible, how to check or an example project would be appreciated.

Simply perform read and compare it in your SW with expected values.

But I see no sense in this, as if there is any access to protected register, exception is called.

2. Among the registers that are set at Init, are there any registers that can be written and changed with arbitrary values?
Ex) Write and read with specific values (0xAA, 0x55, etc.) to the register area used, and recover the register after checking the physical integrity.

You have 2 lock possibilities:

1. Soft lock - can be unlocked by sequence

2. Hard lock - unlocked only on power on reset.

For more details please refer to Chapter 55 Register Protection (REG_PROT) of reference manual.

Best regards,

Peter

0 件の賞賛
返信