cancel
Showing results for 
Search instead for 
Did you mean: 

Could someone help me with some documentation on the configuration of watchpoints in STM32MP157A board?

janice123
Associate

I was working on the STM32MP157A-DK1 board which has Cortex-A7 + Cortex-M4 processors. I wanted to configure the watchpoints present specifically on the Cortex-A7 processor via C code. The Cortex-A7 technical reference manual indicates the use of MRC and MCR instructions for the same, which I think should be inlined into my C code. But I am not completely sure about this. If I try to configure using MCR instruction, it would involve configuring the general-purpose register first(R0-R14) first to move some value into the debug register, which I was not able to do.

Kindly someone help me with some required documentation.

0 REPLIES 0