AnsweredAssumed Answered

K82:  access to SRF and VBAT register files with User privileges

Question asked by Eugene Hiihtaja on Sep 4, 2018
Latest reply on Sep 11, 2018 by Eugene Hiihtaja

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 ?


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 ?