How to access peripheral registers and physical memory from user space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-17 9: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.
- Labels:
-
STM32MP15 Lines
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-17 9: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'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-17 9: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'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-17 9:29 AM
Thanks.
