This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LC4357: Cortex-r5F How to Access CP14 Register using Source Code

Part Number: TMS570LC4357


Hello
I want to use Breakpoint in the source code.
I found the MRC and MCR approaches in the Achitecture documentation.
First, the user permissions were changed to previlage.
The problem is that an exception occurs when the CP14 register is accessed.

An exception also occurs when writing a value to DBGLAR. (__MCR(14, 0, 0xC5ACCE55, 7, 12, 6);)
How can I access the CP14 register?