- IAR Embedded Workbench for Arm 9.70.x
- C-SPY Debugging
- The C-SPY command line utility—cspybat
- Summary of C-SPY command line options
Summary of C-SPY command line options
General cspybat options
Passes command line arguments to the debugged application. | |
Makes the debugger attach to a running application at its current location, without resetting the target system. | |
Marks the beginning of the parameters to be sent to the C-SPY driver (mandatory). | |
Enables the generation of code coverage information and places it in a specified file. | |
Specifies the maximum number of cycles to run. | |
Specifies an alternative debug file. | |
Specifies a C-SPY device macro file. | |
Downloads a code image without starting a debug session afterwards. | |
Extends the command line. | |
Specifies a flash loader specification XML file. | |
Specifies a macro file to be used. | |
Assigns a value to a C-SPY macro parameter. | |
Specifies a plugin file to be used. | |
Enables C-RUN runtime error checking in | |
Specifies to | |
Makes | |
Specifies a file for the C-RUN rules to | |
Omits the sign-on message. | |
Makes the debugger use sockets instead of pipes for its internal communication. | |
Disables the warning when the ELF entry point is at address | |
Limits the maximum allowed execution time. |
Options available for all C-SPY drivers
Uses the big-endian format BE8. For reference information, see ‑‑BE8. | |
Uses the big-endian format BE32. For reference information, see ‑‑BE32. | |
Specifies a processor variant. For reference information, see ‑‑cpu. | |
Specifies the name of the device. | |
Specifies the communication link to be used. | |
Excludes memory ranges from being verified. | |
Omits setting the | |
Disables memory caching and memory range checking in C-SPY. | |
Restores automatically any breakpoints that were destroyed during system startup. | |
Suppresses download of the executable image. For reference information, see Download, specifically the option Suppress download. | |
Specifies the location of the Cortex-M reset vector and the initial stack pointer value. | |
Verifies the target program. For reference information, see Download, specifically the option Verify download. Available for all hardware drivers. | |
Specifies the byte order of the generated code and data. For reference information, see ‑‑endian. | |
Selects the type of floating-point unit. For reference information, see ‑‑fpu. | |
Starts the execution on the target and then exits but leaves the target running. | |
Specifies the device description file to be used. | |
Provides C-SPY with information about reserved stacks. | |
Enables semihosted I/O. |
Options available for the simulator driver
Disables the interrupt simulation. (Not available for all cores and devices.) | |
Analyzes your source code to find where the most time is spent during execution. (Not available for all cores and devices.) | |
Activates memory access checking. (Not available for all cores and devices.) | |
Specifies the number of cores on the device for multicore debugging. (Not available for all cores and devices.) |
Options available for the C-SPY GDB Server driver
Sets the type of breakpoint resource to be used when setting breakpoints. | |
Prevents the driver from accessing any memory ranges in the zone | |
Sends a command string to the GDB Server. |
Options available for the C-SPY I-jet driver
Provides C-SPY with information needed for setting flash breakpoints. | |
Specifies that the authentication procedure should be executed when automatic detection fails. | |
Specifies the XML file that stores parameters required for the authentication. | |
Specifies the mechanism used for the debug authentication. | |
Makes the application stop for certain exceptions. | |
Sets the type of breakpoint resource to be used when setting breakpoints. | |
Prevents the driver from accessing any memory ranges in the zone | |
Selects the communication interface. | |
Specifies the JTAG and SWD interface speed. | |
Enables Live Watch and Live Memory reads for Cortex-A and Cortex-R devices. | |
Specifies the mechanism and interface for trace data collection. | |
Specifies a probe configuration file. | |
Selects which CPU to debug on a multicore system. | |
Specifies the frequency of the internal processor clock. | |
Disables the PMU event counting. | |
Disables the PMU DAP channel and uses CP15 instructions for PMU event counting. | |
Specifies the number of IR bits preceding the Arm core to connect to. | |
Specifies the power supply from the I-jet or I-jet Trace probe. | |
Specifies which debug system the C-SPY I-jet driver is an interface to. | |
Specifies the reset script file. | |
Selects the reset strategy to be used when C-SPY starts. | |
Prolongs the time that the C-SPY driver tries to connect to the target board. | |
Specifies that SWO trace data is output on the trace data pin | |
Specifies the SWO prescaler for the CPU clock frequency. | |
Selects the SWO communication protocol. | |
Selects a specific device in the JTAG scan chain. | |
Specifies the reset strategies that will be available when debugging. | |
Specifies the debug architecture used for SDM debug authentication. | |
Specifies the library file used for SDM debug authentication. | |
Specifies an alternate authentication method if the SDM library does not use the standard SDM API. | |
Specifies a manifest file that points out the SDM debug authentication library file. |
Options available for the C-SPY CMSIS-DAP driver
Specifies that the authentication procedure should be executed when automatic detection fails. | |
Specifies the XML file that stores parameters required for the authentication. | |
Specifies the mechanism used for the debug authentication. | |
Makes the application stop for certain exceptions. | |
Sets the type of breakpoint resource to be used when setting breakpoints. | |
Prevents the driver from accessing any memory ranges in the zone | |
Selects the communication interface. | |
Specifies the JTAG and SWD interface speed. | |
Specifies a probe configuration file. | |
Selects which CPU to debug on a multicore system. | |
Specifies which debug system the C-SPY driver is an interface to. | |
Specifies the reset script file. | |
Selects the reset strategy to be used when C-SPY starts. | |
Prolongs the time that the C-SPY driver tries to connect to the target board. | |
Selects a specific device in the JTAG scan chain. | |
Specifies the reset strategies that will be available when debugging. | |
Specifies the debug architecture used for SDM debug authentication. | |
Specifies the library file used for SDM debug authentication. | |
Specifies an alternate authentication method if the SDM library does not use the standard SDM API. | |
Specifies a manifest file that points out the SDM debug authentication library file. |
Options available for the C-SPY J-Link/J-Trace driver
Makes the application stop for certain exceptions. | |
Sets the type of breakpoint resource to be used when setting breakpoints. | |
Prevents the driver from accessing any memory ranges in the zone | |
Selects the communication interface. | |
Specifies the JTAG and SWD interface speed. | |
Specifies the CPU clock and the wanted SWO speed. | |
Specifies the timeout for a pending request from C-SPY to the DCC agent on target. | |
Selects a specific device in the JTAG scan chain. | |
Calls the | |
Sets the initial JTAG communication speed in kHz. | |
Sets the number of IR bits preceding the Arm core to connect to. | |
Selects the reset strategy to use at debugger startup. | |
Specifies the script file for setting up hardware. | |
Selects either ETB or ETM as the trace source. |
Options available for the C-SPY TI MSP-FET driver
Prevents the driver from accessing any memory ranges in the zone | |
Specifies which flash memory to erase before download. | |
Specifies the interface communication speed. | |
Selects the reset strategy to use at debugger startup. | |
Specifies a delay that will be used between switching on the target VCC and starting the identification of the Arm device. | |
Specifies the target VCC voltage. |
Options available for the C-SPY TI Stellaris driver
Prevents the driver from accessing any memory ranges in the zone | |
Selects the communication interface. | |
Specifies the JTAG and SWD interface speed. | |
Selects the reset strategy to use at debugger startup. |
Options available for the C-SPY TI XDS driver
Makes the application stop for certain exceptions. | |
Sets the type of breakpoint resource to be used when setting breakpoints. | |
Prevents the driver from accessing any memory ranges in the zone | |
Selects the communication interface. | |
Specifies the JTAG and SWD interface speed. | |
Specifies the CPU clock and the wanted SWO speed. | |
Overrides the default board file. | |
Specifies the reset strategy to use. | |
Specifies the installation directory of the TI XDS driver package. |
Options available for the C-SPY ST-LINK driver
Specifies that the authentication procedure should be executed when automatic detection fails. | |
Specifies the XML file that stores parameters required for the authentication. | |
Specifies the mechanism used for the debug authentication. | |
Makes the application stop for certain exceptions. | |
Prevents the driver from accessing any memory ranges in the zone | |
Selects the communication interface. | |
Specifies the JTAG and SWD interface speed. | |
Specifies the CPU clock and the wanted SWO speed. | |
Specifies the debug architecture used for SDM debug authentication. | |
Specifies the library file used for SDM debug authentication. | |
Specifies an alternate authentication method if the SDM library does not use the standard SDM API. | |
Specifies a manifest file that points out the SDM debug authentication library file. | |
Specifies the reset strategy to use. |
Options available for the C-SPY third-party drivers
For information about any options specific to the third-party driver you are using, see its documentation.