This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM A76 watchpoint does not work

    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 40960
DAIF 0
OSLSR_EL1 8
CurrentEL 4
MDSCR_EL1 40960
DBGWVR0_EL1 3491870208
DBGWCR0_EL1 249