Writes to SNVS_LPCR from either uboot or linux do not persist after a power cycle

cancel
Showing results for 
Search instead for 
Did you mean: 

Writes to SNVS_LPCR from either uboot or linux do not persist after a power cycle

55 Views
Contributor I

I need to change the debounce and on time fields for the power on event.  I've tried

mw.l 20cc038 00300020

from uboot, which does update the register.  But when I power cycle and read the register again, it is back to its default value, 0x00000020.

I've also tried /sbin/devmem to write this register from linux, with the same result.

Is there something I need to do before or after this write to make it persist after a power cycle?

0 Kudos
4 Replies

53 Views
Contributor I

Some additional details, this is an imx6ulz. U-Boot 2018.03, and Linux 4.14

0 Kudos

44 Views
NXP TechSupport
NXP TechSupport

Hi todd_hb

 

regarding "data persist after a power cycle" one can check if backup battery/coin

was attached to VDD_SNVS_IN and was within voltage range defined in

Table 9. Operating ranges i.MX 6ULZ Applications Processors for Consumer Products

check it with oscilloscope during power cycles.

 

Best regards
igor

0 Kudos

39 Views
Contributor I

I'm getting the sinking feeling that you're telling me that the Secure Non Volatile Storage peripheral isn't actually nonvolatile.  Are these registers only retained as long as the VDD_SNVS_IN is within the ranges in the table you pointed to? 

0 Kudos

30 Views
NXP TechSupport
NXP TechSupport

>I'm getting the sinking feeling that you're telling me that the Secure Non Volatile

>Storage peripheral isn't actually nonvolatile.

 

right

 

 

>Are these registers only retained as long as the VDD_SNVS_IN is within the ranges

>in the table you pointed to?

 

yes

 

Best regards
igor

0 Kudos