DBT-RISE-RISCV icon indicating copy to clipboard operation
DBT-RISE-RISCV copied to clipboard

Debugger cannot regain control after core executes WFI

Open quic-egmc opened this issue 1 year ago • 0 comments

We need a way for a debugger to regain control while the core is in in WFI.

The RISC-V Debug Specification states in section 4.3:

If halt is requested while wfi is executing, then the hart must leave the stalled state, completing this instruction’s execution, and then enter Debug Mode.

So we need something equivalent to this behavior.

quic-egmc avatar Aug 28 '24 21:08 quic-egmc