Tool Options

This tab allows you to select and change the debugger platform for the current project.

Tip:

Click on the Device button on the Device and Debugger toolbar to get to this tab quickly while editing.





Select tool/debugger from the drop-down list. The current selection is shown.

Select Interface from the drop-down list. The current selection is shown.

Note: Only tools and interfaces valid for the current device selection are shown.

Further Properties are dependent on the tool and interface selected.

JTAG

If you have selected JTAG as the programming interface clock speed, use external reset - and daisy-chain setting may be available. This depends on the tool and device.

JTAG clock

JTAG clock is the maximum speed the tool will try to clock the device at. The clock range is different for different tools and devices. If there are restrictions, they will be stated in a message below the clock slider.

The clock can be set to Manual (all tools), Auto (SAM-ICE only), or Adaptive (SAM-ICE only).

Use external reset

If checked, the tool will pull the external reset line low when trying to connect to the device.

JTAG daisy-chain settings

Specify the JTAG daisy-chain settings relevant to the device to program.

Target is not part of a daisy-chain. Select this option when the target device is not part of a daisy-chain.

Daisy chain - Manual. Allows you to manually configure the JTAG daisy-chain in case you are programming in a system-on-board.

Daisy chain-Auto. Automatically detects the devices in the JTAG daisy-chain. Allows you to select the device in the JTAG daisy-chain. Auto-detection is supported only for SAM devices.



PDI

The PDI interface has only one setting – the PDI clock speed.

PDI Clock is the maximum speed the tool will try to clock the device at. The clock range is different for different tools and devices. If there are restrictions, they will be stated in a message below the clock slider.

The clock cannot be adjusted on all tools, so an empty Interface settings page will be presented.

Programming and debug settings

In the drop-down menu, it is possible to specify which parts of memory that should be erased during a programming/debug cycle.

The 'Preserve Eeprom' option lets you decide whether EEPROM data should be written when launching a debug session. The EESAVE fuse will be set and cleared accordingly.

When a device is programmed at the start of a debug session, the default behavior is to erase the content of the device (chip erase, if available). This can be changed by selecting a different option from the drop-down box under 'Programming settings'.

Keep timers running in stop mode

When checked, the timers set in the program will continue to run even when the program breaks at breakpoint or is halted

This setting is enabled for only certain tool/interfaces.

Override Vector Table Offset Register

At reset, load PC and SP from the specified address.

Note: The tool you select on this page is also used with the command Start without Debugging. That is why you can also select tools that do not have debugging capabilities. See Start without Debugging for more information.