Knowledge Base Article

Why does the processor connected to Nios® V Debug IP remain halted after executing “monitor swreset 1 0” in Ashling* RiscFree* IDE 26.3-B?

Description

Due to a problem in the Ashling* RiscFree* IDE software version 26.3-B, executing the following command may leave the processor halted instead of running after the processor is reset, for designs targeting Nios V processor connected to Nios® V Debug IP.

monitor swreset 1 0

From ash-riscv-gdb-server –-help:

monitor swreset <reset mode> <halt> <hart id> - Issue a software reset.

<reset mode>

<halt>

1, NDM(Non-Debug Module) reset

0, Do not halt after reset

2, Reset harts only

1, Halt after reset

3, Reset specific hart <hart ID>. <hart ID> is indexed from 1

 

The <halt> argument of 0 specifies “Do not halt after reset.” However, the processor has stopped immediately after Ashling* GDBServer asserted the software reset thru Nios V Debug IP.

This is an issue in the affected Ashling* GDBServer.

Resolution

To work around this problem in the Ashling* RiscFree* IDE software version 26.3-B, switch to OpenOCD (such as applying “-o” argument with niosv-download)

This problem is currently scheduled to be resolved in a future release of the Ashling* RiscFree* IDE Software.

Updated 3 hours ago
Version 2.0
No CommentsBe the first to comment