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 v7AR debug architecture DCC register access

Dear sirs,

The ARM v7ar manual says that DCC data registers DBGDTRTX and DBGDTRRX have RW attributes from external view.

It confuses me why DBGDTRTX can be written from external debugger. what is the purpose for this function?

The same confusion to DBGDTRRX why it can be read from external debugger?

Can any expert explain it to me? Thanks.

cray

Parents
  • One use would be when you are using a JTAG debugger to debug an on-chip debug agent on one core that is using DCC to communicate with a target core. By reading the target core's RX you can see the value that the debug agent has written to the target core, and by writing TX you can change the value that the debug agent reads from the target core.

    As a general rule, debuggers should be able to read and write registers - even registers that are dedicated to debug. Because debuggers also need to be debugged.

Reply
  • One use would be when you are using a JTAG debugger to debug an on-chip debug agent on one core that is using DCC to communicate with a target core. By reading the target core's RX you can see the value that the debug agent has written to the target core, and by writing TX you can change the value that the debug agent reads from the target core.

    As a general rule, debuggers should be able to read and write registers - even registers that are dedicated to debug. Because debuggers also need to be debugged.

Children