SpinalHDL / openocd_riscv

Spen's Official OpenOCD Mirror
Other
45 stars 33 forks source link

Don't soft reset CPU during first CPU examine. #22

Closed tomverbeure closed 2 years ago

tomverbeure commented 2 years ago

In the existing code, a CPU soft reset is issued when you first connect OpenOCD to the CPU, and there's no way to avoid it.

This is undesirable behavior because it prevents somebody from connecting OpenOCD to a running system without losing the current state of the CPU.

If the user really wants a reset of the CPU, they can always issues a reset themselves with an extra OpenOCD command.

Tom

Dolu1990 commented 2 years ago

Thanks ^^