Skip to main content

IAR Embedded Workbench for RISC-V 3.40

‑‑reset_style

In this section:
Syntax
‑‑reset_style="reset_id,reset_name,selected,menu_command"
Parameters
reset_id

The number of the reset strategy, 0-9, as described for ‑‑jet_standard_reset

reset_name

The name of the reset strategy, according to the file specified by ‑‑jet_script_file.

For the built-in reset strategies, this parameter is -. To override a built-in reset strategy, enter the label or function name in your reset script file.

selected

0 or 1, where 1 sets the default reset strategy for the Reset drop-down menu

menu_command

The name of the reset strategy as it will be displayed on the Reset drop-down menu.

For use with

The C-SPY I-jet driver.

Description

Use this option to specify the reset strategies that will be available when debugging, once for each reset strategy.

Example

This example specifies a script file, sets the standard reset strategy, and specifies the reset strategies that will be available when debugging:

‑‑jet_script_file=myDir\myProbeScriptFile
‑‑jet_standard_reset=9,0,0
‑‑reset_style="0,-,0,Disabled (no reset)"
‑‑reset_style="1,-,0,Software"
‑‑reset_style="2,-,0,Hardware"
‑‑reset_style="3,-,0,Core"
‑‑reset_style="4,-,0,System"
‑‑reset_style="5,Custom,0,Custom reset"
‑‑reset_style="9,ConnectUnderReset,1,Connect during reset"
See also

‑‑jet_script_file and ‑‑jet_standard_reset

Caution

To set this option, use Project>Options>Debugger>Extra Options.