Skip to main content
KS.2
Associate III
August 11, 2021
Question

Setting System registers

  • August 11, 2021
  • 3 replies
  • 1085 views

I am using STM32MP157C and as part of the project i am trying to configure the hardware by enabling and disabling certain security features(tamper detection,trust zones,rd and wr protection etc)

I would like to know if there is a way to access the system registers for these features and write to them using the A7 in the Stm32.

This topic has been closed for replies.

3 replies

KnarfB
Super User
August 13, 2021

You may look at busybox devmem tool which is a nice wrapper to /dev/mem access.

KS.2
KS.2Author
Associate III
August 13, 2021

can i use to write to registers for enabling tamper detection, trust zone features, read write protection registers??

KS.2
KS.2Author
Associate III
August 17, 2021

i used devmem2 command to access PWR,RCC registers i was able to read from the addresses but cannot write to them are these registers write protected by default?? is there a way to change this??