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

Clarity on EDBGRQ on CM4

All,

 

We are using CM4 in our design. I am looking for a way to halt the CM4 core using non-JTAG based debugger. One particular signal on CM4 that caught our attention is "EDBGRQ". From the manual we are not 100% clear on the functionality of this signal.

 

Can someone help us understand the functionality of this signal more and also provide some ideas on how to halt the core using non-JTAG interface?

 

Thanks.

 

Regards,

Dhaval

  • Hi Dhaval,
    EDBGRQ can trigger halt, but the debug enable in DHCSR must be set to 1 in the first place for that to work. This signal is commonly used for multi-core system so that when one processor reach a breakpoint and halt, we can propagate the halting event to other processors and trigger halting using this signal.
    If you don't have a debugger connected, it sound strange to halt the processor as the system would stuck there. Do you have other components controlling the debug access port? If not, it might be better to use NMI (Non-maskable Interrupt) and execute WFI to get the processor into sleep.
    regards,
    Joseph