Skip to main content

IAR Embedded Workbench for RH850 3.20.x

Summary of C-SPY command line options

In this section:

General cspybat options

‑‑application_args

Passes command line arguments to the debugged application.

‑‑attach_to_running_target

Makes the debugger attach to a running application at its current location, without resetting the target system.

‑‑backend

Marks the beginning of the parameters to be sent to the C-SPY driver (mandatory).

‑‑code_coverage_file

Enables the generation of code coverage information and places it in a specified file.

‑‑cycles

Specifies the maximum number of cycles to run.

‑‑debug_file

Specifies an alternative debug file.

‑‑download_only

Downloads a code image without starting a debug session afterwards.

-f

Extends the command line.

‑‑leave_target_running

Makes the debugger leave the application running on the target hardware after the debug session is closed.

‑‑macro

Specifies a macro file to be used.

‑‑macro_param

Assigns a value to a C-SPY macro parameter.

‑‑plugin

Specifies a plugin file to be used.

‑‑silent

Omits the sign-on message.

‑‑sockets

Makes the debugger use sockets instead of pipes for its internal communication.

‑‑suppress_entrypoint_warning

Disables the warning when the ELF entry point is at address 0x0.

‑‑timeout

Limits the maximum allowed execution time.

Options available for the simulator driver

‑‑disable_interrupts

Disables the interrupt simulation.

‑‑function_profiling

Analyzes your source code to find where the most time is spent during execution.

‑‑mapu

Activates memory access checking.

‑‑multicore_nr_of_cores

Specifies the number of cores on the device for multicore debugging.