2021-09-17 09:17 AM
Hi,
I'd like to be able to read/write for debug purposes peripheral registers of the MPU and MCU from Linux user space. Of course all under root permissions.
The most straightforward way should be doing it using /dev/mem but I'm not sure if it is a best way to go. Any thought would be highly appreciated.
Thanks.
Solved! Go to Solution.
2021-09-17 09:23 AM
Hi,
Please see https://wiki.st.com/stm32mpu/wiki/How_to_read_or_write_peripheral_registers
See also https://wiki.st.com/stm32mpu/wiki/Debugfs
Regards.
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
2021-09-17 09:23 AM
Hi,
Please see https://wiki.st.com/stm32mpu/wiki/How_to_read_or_write_peripheral_registers
See also https://wiki.st.com/stm32mpu/wiki/Debugfs
Regards.
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
2021-09-17 09:29 AM
Thanks.