These properties are applicable to Executable and Externally Built Executable project types.

Target Options

Property Type Save Name Description
Attach Script String target_attach_script The script that is executed when the debugger attaches to the target.
Connect Script String target_connect_script The script that is executed when the target interface is connected to.
Disconnect Script String target_disconnect_script The script that is executed when the target interface is disconnected from.
Reset Script String target_reset_script The script that is executed when the target is reset. This script is typically responsible for resetting the target and configuring memory.
Run Script String target_run_script The script that is executed when the target is released into run state. This script is typically responsible for re-enabling caches previously disabled by the stop script.
Stop Script String target_stop_script The script that is executed when the target enters debug state. This script is typically responsible for disabling or flushing caches.
ARM Debug Interface. Enumeration arm_target_debug_interface_type Specifies the variant of debug interface that the target has. The options are ARM7TDI (for ARM7TDMI/ARM7TDMI-S and ARM720T cores), ARM9TDI (for ARM920T and ARM9E cores), XScale (for XScale XSC1 cores), XScale7BitIR (for XScale XSC2 cores), and ADIv5 - (for Cortex-M3 cores).
Debug Handler Load Address String arm_target_debug_handler_load_address Some debug interfaces require a debug handler or monitor to be downloaded along with the application in order to debug the target. This property specifies the address to load the debug handler.
Debug Handler File Path Filename arm_target_debug_handler_file_path Some debug interfaces require a debug handler or monitor to be downloaded along with the application in order to debug the target. This property specifies the file path to the debug handler to use, it should be left blank if no debug handler is required.
JTAG Data Bits After Integer arm_linker_jtag_pad_post_dr Specifies the number of bits to pad the JTAG data register after the data for the ARM processor being targeted. As the width of the BYPASS register is normally 1 bit this value is usually equal to the number of devices in the scan chain after the device being targeted.
JTAG Data Bits Before Integer arm_linker_jtag_pad_pre_dr Specifies the number of bits to pad the JTAG data register before the data for the ARM processor being targeted. As the width of the BYPASS register is normally 1 bit this value is usually equal to the number of devices in the scan chain before the device being targeted.
JTAG Instruction Bits After Integer arm_linker_jtag_pad_post_ir Specifies the number of bits to pad the JTAG instruction register with the BYPASS instruction (all bits set) after the instruction for the ARM processor being targeted. This value should be the combined length of the instruction registers for all devices in the scan chain after the ARM processor being targeted.
JTAG Instruction Bits Before Integer arm_linker_jtag_pad_pre_ir Specifies the number of bits to pad the JTAG instruction register with the BYPASS instruction (all bits set) before the instruction for the ARM processor being targeted. This value should be the combined length of the instruction registers for all devices in the scan chain before the ARM processor being targeted.
First Loader Program Section String arm_target_loader_first_program_section The name of the loader's first program section. This value is used to tell CrossStudio the area of memory occupied by the loader in order to prevent it from being overwritten during download. This parameter is only required if the program being downloaded overwrites the loader.
Last Loader Program Section String arm_target_loader_last_program_section The name of the loader's last program section. This parameter is only required if the program section specified by First Loader Program Section is not the loader's only program section.
Loader File Path Filename arm_target_flash_loader_file_path Specifies the file path of the loader program to use. This is typically used by targets that support FLASH download. It is not possible to download programs to FLASH using only the ARM's debug interface. A loader program therefore has to be downloaded and run from RAM prior to the download of the main application.
Loader File Type Enumeration arm_target_flash_loader_type Specifies the communication mechanism used to communicate with the loader. Options ares Comms Channel Loader (a loader that communicates using the ARM DCC), Fast Comms Channel Loader (a loader that communicates using the ARM DCC), RAM Loader (a loader that communicates using RAM and breakpoints), and LIBMEM RPC Loader (a loader that communicates using remote procedure calls).
Loader Parameter String arm_target_loader_parameter This field allows a parameter to be passed to the loader. The parameter is loader specific.
Loader Reset Script String target_loader_reset_script The script that is executed when the target is reset prior to downloading a loader program. If not specified Reset Script will be used instead.
Reset After Download Boolean arm_target_loader_reset_after_download Specifies whether the target should be reset after a download using a loader.
Stop CPU Using DBGRQ Boolean arm_target_stop_cpu_using_dbgrq Specifies whether the CPU should be stopped by asserting DBGRQ rather than by using breakpoints.