cancel
Showing results for 
Search instead for 
Did you mean: 

BKPSRAM For Userspace

ChrisRCAL
Associate II

The issue I am having is BKPSRAM is not retaining the information I write to it after a power cycle. I can read and write to BKPSRAM after I set it to non-secure in optee, removed the power features in pwr_regulator, and I enabled the CLK bit. I have followed the apps notes on page 440 of the reference manual, and the backup regulator is enabled. Every time I boot it up it reads back 0x00003000, instead of what was written to it. I am trying to ultimately store a 4KB struct that needs to be non-volatile. An FAE already mentioned trying to look through TF-A source code, but I cannot find any place that would clear the BKPSRAM, I only see clk configuration when I search through it, nothing to actual do with the BKPSRAM memory itself.

I am using a custom board, I have OpenSTLinux configured for this custom machine and I am using st-image-core.

Thank you very much for your time. 

0 REPLIES 0