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

How to do hardware debug in EL3?

Hi, experts.

After I invoke my EL3 service through SMC call, I find that the system hang in EL3. 

Then I try to use ds-5 to do hardware debug to check the register value.

However, ds-5 can not stop the running core and give following message:

Target Message: CTI debug request failed to halt the core. Trying imprecise entry to debug state (EDRCR.CBRRQ). If this works at all, memory accesses will be unpredictable and register values may be incorrect.

I heard that this can be solved by modifying a configuration file in Arm Trusted Firmware. However, I do not know more details about it.

I would appreciate with it if someone could help me to solve it.

0