Hello !
Could you point me to application/examples for K82 for how-to access to
System Register File 32 byte and 128-byteVBAT register file.
Thank you !
Eugene
Hi !
Looks like no any dependencies to RTC clock and line CLOCK_EnableClock(kCLOCK_Rtc0) is not mandatory
for read/write to those Register Files. And there are keep values over reboot operation.
But access with User priviliges cause BusFault.
How ro activate AIPSx type of restriction to those areas and have access with User privileges and able to write protect it from Supervisor accesses ?
Regards,
Eugene
Hi,
You may would like to look at this post on how to access VBAT register
Hi !
Do I undestand right :
- VBAT and SR addresses window spaces mapped to AIPSx bridge areas directly
- As result access to VBAT&SR can't be protected by MPU or AIPSx bridge settings
and it is possible to access to those spaces in User execution mode ( And Supervisor as well ) ?
- for enable access to VBAT & SR , bit29 ( RTC access control bit ) should be enabled in SIM_SCGC6 register ?
Regards,
Eugene