cancel
Showing results for 
Search instead for 
Did you mean: 

Setting System registers

KS.2
Associate III

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.

3 REPLIES 3
KnarfB
Principal III

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

KS.2
Associate III

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

KS.2
Associate III

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??