Skip to main content

IAR Embedded Workbench for RH850 3.20.x

Before running cspybat for the first time

In this section:

Before you run cspybat for the first time using a hardware debugger, you must:

  1. Start the IAR Embedded Workbench IDE and set up the hardware debugger in the Hardware Setup dialog box—available from the C-SPY driver menu when you start a debug session. Save the project. The settings are saved to a file.

  2. Set up the environment variable CSPYBAT_INIFILE to point to the saved hardware settings file (.dnx) in the settings subdirectory in your project directory.

    For example, SET CSPYBAT_INIFILE=C:\my_proj\settings\myproject.dnx. Note that no quotation marks should be used around the path, even if there are blank characters.

    You can also point out this file using the option ‑‑cspybat_inifile, like this: ‑‑cspybat_inifile "C:\my_proj\settings\myproject.dnx", see ‑‑cspybat_inifile.