We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I want to monitor a specified address on the ARM A76 machine and enter an exception when the address is load. However, I did the configuration and did not enter the exception.
My process as follows:
1. Set MDSCR_EL1 KDE and MDE 1 to enable debug exception in El1;
2. Configures the OSLAR_EL1 register, unlocked. OS.
4. Configure DBGWVR0_EL1 and DBGWCR0_EL1, and make sure instruction store (LSC == 0b10) to the address in DBGWVR0_EL1 will happen.My machine as follows:1. ARM A76+Threadx Rtos 2. The exception to running the program is el1。
I use mrs Instruction to read the relevant register, but can not find the reason, there is a big guy can help
Register print as follows
mdscr_el1 40960DAIF 0OSLSR_EL1 8CurrentEL 4MDSCR_EL1 40960DBGWVR0_EL1 3491870208DBGWCR0_EL1 249