Skip to main content
Visitor II
August 11, 2021
Question

Setting System registers

  • August 11, 2021
  • 2 replies
  • 1064 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.

    2 replies

    Super User
    August 13, 2021

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

    KS.2Author
    Visitor II
    August 13, 2021

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

    KS.2Author
    Visitor II
    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??