Skip to content

Dmexttrigger for haltgroup and resumegroup #1126

@zhangdujiao

Description

@zhangdujiao

Regarding the implementation of haltgroup and resumegroup through dmexttrigger, for example, we have two triggers: triggerin0 to halt the core and triggerin1 to resume the core.

For the debugger software, when dmcs2 is configured as haltgroup, the DM will trigger a core halt upon receiving triggerin0. Then, after reconfiguring dmcs2 as resumegroup, the core will resume upon receiving triggerin1.

The protocol mandates setting dmcontrol.haltreq=0 before resuming core (dmcontrol.resumereq=1). ——"resumereq is ignored if haltreq is set."
Is this equally required for dmexttrigger? Specifically, if the core is halted, must dmcontrol.haltreq=0 be set before triggering its resume?

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions