Skip to main content

IAR Embedded Workbench for Arm 9.70.x

__hwJetResetWithStrategy

In this section:
Syntax
__hwJetResetWithStrategy(halt_delay, strategy)
Parameters
halt_delay

The delay, in milliseconds, between the end of the reset pulse and the halt of the CPU. Use 0 (zero) to make the CPU halt immediately after reset—only when strategy is set to 0.

strategy

The reset strategy number. For information about supported reset strategies, see ‑‑jet_standard_reset.

Return value

Result

Value

Successful. The delay feature is not supported by the debugging probe

-1

Unsuccessful. The reset strategy is not supported by the debugging probe

-3

Unsuccessful. Other

-4

Table 38. __hwJetResetWithStrategy return values 


For use with

The C-SPY I-jet driver.

Description

Specifies the reset strategy to perform.

Example
__hwJetResetWithStrategy(0,2)

Performs a hardware reset.

Note

User-defined millisecond timeouts and delays are generated using the host operating system clock ticks. Because the host operating system is not a real-time OS, the actual delay or timeout will vary each time with approximately 5–20 ms.