Logo
CapTIvate™ Technology Guide  v1.10.00.00

Purchase the kit now
Go to ti.com/CapTIvate

Design Center GUI

Introduction

cdc_example_design.png
CapTIvate Design Center

The CapTIvate™ Design Center is a rapid development tool that accelerates capacitive touch designs for CapTIvate™ Technology enabled MSP430 devices. By helping guide the product developer through the capacitive touch development process, the CapTIvate™ Design Center can simplify and accelerate any touch design through the use of innovative user graphical interfaces, wizards and controls.

Key features

  • Intuitive GUI tools for creating, configuring and defining the MSP430 connections for sensors
  • Support for slider, wheel, button group, and proximity sensors
  • Support mutual and self capacitive sensor types in the same design
  • Automated generation of complete source code projects for CCS and IAR IDE's
  • Real time target communication via a HID communication bridge. Enabling target communication allows users to:
    • View detailed sensor data
    • Configure and tune sensor performance
    • Perform SNR measurements

Hardware and software requirements

A PC with the following requirements is required to execute the CapTIvate™ Design Center:

  • Windows 7 operating system with Java version 1.6+
  • Apple OS X 10.10.1+ with Java version 1.7+
  • Linux OS with Java version 1.6+

The source code projects generated by the tool support the following IDEs:

Additional Linux requirements

If you are not running the application using a root account, you may not have permissions to the HID device mounted by the MSP microcontroller.

To enable access perform the one-time setup step:

  • Create the file /etc/udev/rules.d/ti_hid.rules.
  • Add the lines below to the file and save the file.
1 # Allow open access to any usb device with the default Texas Instruments MSP
2 # Vendor Id of 0x2047
3 ATTRS{idVendor}=="2047", MODE="0666"

Licensing

The CapTIvate™ Design Center is released under the BSD 3-clause license. See the license manifest in the installation directory for details.

CapTIvateā„¢ Design Center Quick start

This section is intended to provide a very basic and quick overview of how to use the CapTIvate™ Design Center to define a typical capacitive touch design, generate source code, and communicate with the target. For additional detailed information about the features of the CapTIvate™ Design Center, refer to the CapTIvate™ Design Center user's guide.

When ready to start your own design, check out the workshop guide section, Creating a new sensor design project.

Start the Design Center

Double click on the desktop "CapTIvateDesignCenter" short cut to start the tool.

cdc_quickstart_desktop_shortcut.png
CapTIvate™ Design Center Shortcut



Create a new project

Use the File->Project New menu to create a new project

cdc_quickstart_create_project.png
New Project Name



Place the sensors

Place a slider sensor in the design area

Select the slider by clicking on the sensor icon. Place the new object by clicking on the design canvas.

cdc_quickstart_place_slider.png
Placing a Slider Sensor



Display the sensor properties to configure it to be a Self capacitance slider with 4 elements.

  • Double-click on the slider object in the design area to display its properties.
  • Configure the sensor to have 4 elements and close the properties dialog.
cdc_quickstart_slider_configure.png
Modify Sensor Properties



Place a wheel sensor in the design area

Select the wheel by clicking on the sensor icon. Place the new object by clicking on the design canvas.

cdc_quickstart_place_wheel.png
Placing a Wheel Sensor



Display the sensor properties to configure it to be a Self capacitance wheel with 3 elements.

  • Double-click on the wheel object in the design area to display its properties.
  • Configure the sensor to have 3 elements and close the properties dialog.
cdc_quickstart_wheel_configure.png
Modify Sensor Properties



Place a button group (keypad) sensor in the design area

Select the button group by clicking on the sensor icon. Place the new object by clicking on the design canvas.

cdc_quickstart_place_buttons.png
Placing Button Group Sensor



Display the sensor properties to configure it to be a Self capacitance button group with 8 elements.

  • Double-click on the button group object in the design area to display its properties.
  • Configure the sensor to have 8 elements and close the properties dialog.
cdc_quickstart_buttons_configure.png
Modify Sensor Properties



Place a proximity sensor in the design area

Select the proximity sensor by clicking on the sensor icon. Place the new object by clicking on the design canvas.

cdc_quickstart_place_proximity.png
Place Proximity Sensor



Display the sensor properties to configure it to be a Self capacitance proximity with 1 element.

  • Double-click on the proximity object in the design area to display its properties.
  • Configure the sensor to have 1 element and close the properties dialog.
cdc_quickstart_proximity_configure.png
Modify Sensor Properties



Place the MSP430 controller

Select the MSP430 by clicking on the MCU icon. Place the new object by clicking on the design canvas.

cdc_quickstart_place_controller.png
Place MCU



Connect sensors to MSP430 capacitive touch I/O ports

Double-click on the MSP430 controller object in the design area to display its properties.

  • Configure the MSP430 controller as MSP430FR2633IRHB (32-pin QFN package)
  • Note that the "Errors" LED is red, indicating that there are still unconnected sensor ports.
cdc_quickstart_controller_config_preassign.png
Display MCU Properties



Select the "Auto-Assign" button to automatically assign all the sensor ports to appropriate ports on the MSP430. Note that the "Errors" LED turns green and "OK", indicating that all sensor ports have been assigned to controller ports.

cdc_quickstart_controller_config_postassign.png
CapTIvate™ Auto-Assignment Feature



Generate source code

Select the "Generate Code" button on the MSP430 Controller properties dialog.

cdc_quickstart_controller_codegen.png
Generate Source Code Button



Select "Create new project" then "OK" in the dialog indicating that you want to create a new full project.

cdc_ug_generate_source_options.png
Select New Project



Select "OK" to keep the default location for the generated code.

cdc_quickstart_controller_codegen_location.png
Use Default Location



Load and run the MSP430FR26xx/25xx generated firmware project using CCS or IAR

For information regarding importing/opening project in CCS or IAR and running the generated projects please refer to Loading and Running Generated Projects


Communicating with the target

This section shows some examples of how the data read from the target over HID is displayed.

Note that you will not see any valid sensor data unless your target board is connected to a sensor board that matches the configuration created in the Design Center GUI.

Start HID communication with the target

Enable the HID communication by selecting the menu "Communications->Connect." Verify the HID device is connected by viewing the message in the main window lower left corner.

cdc_quickstart_verify_hid.png
HID Connection Status



Display sensor data

Double click on the slider object to display the properties dialog. The tabs are used to display graphs of the real-time sensor data, and also to enable reading and modifying the sensor's configuration and tuning parameters. The sensor "position" is also reflected in the display.

cdc_quickstart_channel_bar_chart.png
Channel Bar Chart



cdc_quickstart_oscilloscope_plot.png
Oscilloscope Chart



cdc_quickstart_channel_table.png
Channel Table



Tune sensor performance

Sensors can be configured in real-time using the Tuning panel. Modify the desired parameter then click "Apply". All parameters are described directly in the panel for ease of use. Sensor parameters can only be modified when the target is connected.

cdc_quickstart_sensor_tuning.png
Sensor Tuning Parameters



It is possible to "un-dock" any of the tuning views to allow easier viewing of one or more views at one time. Click and drag the handle on the left of the view to position as needed. Closing an un-docked window returns it to the tab pane.

cdc_quickstart_views_undock.png
Un-docking views



For additional detailed information about the features of the CapTIvate™ Design Center, refer to the CapTIvate™ Design Center user's guide.

When ready to start your own design, check out the workshop guide section, Creating a new sensor design project.


CapTIvateā„¢ Design Center Users guide

Design Center GUI panels

The Design Center GUI consists of three main panels; Menu bar, Object selection tab and Design canvas.

cdc_ug_designcenter_panels.png
CapTIvate™ Design Center GUI



Menu bar

The menu bar provides access to the GUI's features and controls.

cdc_ug_menu_bar.png
Menu Bar



Object selection tab

The object selection tab displays objects can be selected for placement in the design canvas. Object types include:

  • Sensors
  • MSP430 controller
  • Miscellaneous objects such as comments
cdc_ug_object_tab.png
Object Selection Bar



Design Canvas

To place an object in the design canvas:

  • Select an object from the object tab with the left mouse button
  • Position the cursor in the design area and place the object by clicking the left mouse button

Objects may be selected and moved anywhere on the canvas. Additional object operations can be displayed by right-clicking the mouse button on the object. To display the properties and configure the object, double-click using the left mouse button. To access the on-line help for an object type, select it and press the F1 key.

cdc_ug_design_canvas.png
Design Canvas



Menu Descriptions

This menu item provides selections for projects, workspaces and printing.

File

cdc_ug_file_menu.png
Menu - File



Print

Allows the user to print the window.

Project Open/Save/SaveAs

Allows the user to:

  • Open a new or existing project in the current workspace
  • Save the current project
  • Save the current project as a different name
cdc_ug_file_open.png
Menu-Project Save



Switch Workspace

The design center stores projects within a workspace directory. This menu allows the user to change open a different workspace. This behavior is similar to the way TI Code Composer Studio uses workspaces and projects.

The default workspace path is USERPROFILE%/CaptivateDesignCenter/CaptivateDesignCenterWorkspace.

Exit

Exit the CapTIvate™ Design Center application.

Edit

This menu item provides options for deleting or restoring one or more selected objects. For example, if the canvas is populated with multiple sensors, to clear the canvas simply select all, then cut (delete).

cdc_ug_edit_menu.png
Menu-Edit



Undo/Redo

Undo or redo a previous edit menu operation.

Cut

Remove the selected object from the design

Select All

Select all the objects in the design canvas

Options

Allows the user to customize the display of the design canvas.

Display

Modifies the canvas.

cdc_ug_options_display.png
Menu-Options-Display



Features

Changes the feature mode. In "Advanced" mode, more sensor tuning and configuration options are displayed.

cdc_ug_options_features.png
Menu-Options-Features



Communications

Modifies the communications.

cdc_ug_communications.png
Menu-Communications



Connect/Disconnect

Controls whether the Design Center communicates with the target board over HID.

Settings

Enables the user to change the HID connection parameters.

NOTE: The parameters default to the correct values for TI's CapTIvate™ Technology EVMs.

Help

Access to the CapTIvate™ Documentation and software version.

cdc_ug_help.png
Menu-Help



Topics

Displays the help documentation in a browser window.

About

Displays software version information.




Controller Properties

Double clicking on the controller object will display the properties dialog.

cdc_ug_controller_object.png
Controller



The properties dialog for a controller object allows the user to:

Device configuration

Select the desired MSP430 device with CapTIvate™ Technology from the pull-down list. When using the CapTIvate™ EVM, choose the MSP430FR2633IRHB.

cdc_ug_select_fr2633.png
Selecting Device



Enable target communications and target MCU communications interface

Enable/disable target communications using this button. This is equivalent to the Communications->Connect/Disconnect menu items. The Communication Interface provides UART and I2C selections for the HID Bridge MCU to target MCU communications interface. To change the current interface, select a new one and click the "Connected" button. The HID Bridge MCU on the CAPTIVATE-PGMR PCB will immediately start using the new interface. When generating source code, the generated project files will be updated to provide support for the new interface.

cdc_ug_target_comms.png
Selecting Communications



Select Compile Time options

Compile options can be selected to enable additional features provided in software. These features, when selected, are added to the code project generated by the CapTIvate™ Design Center.

  • Enable Noise Immunity for improving noise immunity when operating in noisy environments.
  • Wake on Proximity enables ultra-low power proximity detection using the hardware state machine (no CPU) and the selected sensor. The sensor list varies with the types and numbers of sensors in the project. Additional parameters, such as low power scan rate, inactivity timeout and others can be specified in the Controller Conversion Control.
cdc_ug_compile_time_options.png
Compile Time Options



Mapping sensor ports to controller pins

There are three ways to map the sensor ports to controller pins:

  1. Allow the Design Center to automatically map all the connections using the "Auto-Assign" function on the controller "Configure Connections" tab
  2. Manually map the connections using the connection table in the controller "Configure Connections" tab
  3. Graphically connect the sensor and controller pins on the objects in the design canvas

Auto-assign

cdc_ug_auto_assign.png
Auto-Assignment Button



If the "Auto-Assign" button is selected, the Design Center will attempt to optimally connect all of the unconnected the sensor ports to the controller. Note that any connections that already exist will not be changed. In this manner, it is possible to make some connections manually, and then auto-assign the rest.

This is a good option if there are no pre-existing restrictions on the mapping. For example, if the mapping is constrained due to board layout considerations, users should choose one of the other options.

If the assignment completes successfully, the "Errors" indicator will turn green. If the indicator is "red", errors still exist. Clicking on the indicator will display a dialog with a listing of the remaining errors.

Manual mapping using the Configure Connections table

cdc_ug_controller_config_table.png
Manual Mapping using Table



The Configure Connection table enables detailed control for mapping the sensor ports to the controller ports. The table is split into 3 main parts:

  • The "Unconnected" column lists all the sensor ports that are not assigned to a controller pin. The data in this column is read-only.
  • The "Controller" columns display information on the CapTIvate™ Technology enabled ports on the MSP430, any usage mode restrictions, and which of the ports belong to the same parallel sense block.

Port column edits

cdc_ug_controller_config_port.png
Editing Port Column



Selecting a cell in the port column will bring up a pull-down menu that allows the user to control the usage mode of the port. Ths "Use Mode" column will be updated to display any restrictions made a controller pin.

  • Available: Any sensor port may be assigned
  • Reserved: No sensor port may be assigned to this pin
  • RX only: Only sensor RX ports may be assigned to this pin
  • TX only: Only sensor TX ports may be assigned to this pin
  • SELF only: Only self capacitance sensor ports may be assigned to this pin
  • MUTUAL only: Only mutual capacitance sensor ports may be assigned to this pin

Parallel Block column edits

cdc_ug_controller_config_parallel_block.png
Editing Parallel Blocks



Selecting a cell in the port column will bring up a pull-down menu that allows This column allows the user to modify which pins are assigned to each parallel sense block.

  • The "Sensors" section contains a column for each sensor in the design and is used to enable users to individually map each sensor port to the desired controller pin.

Sensor column edits

cdc_ug_controller_config_sensor.png
Editing Sensor Columns



Selecting a cell in a sensor column will display the list of unconnected ports for that sensor which are legally allowed to be assigned to that controller pin. As sensor ports are assigned, the Unconnected and Time Cycle tables are dynamically updated.

  • The Time Cycles section displays which sensor ports will be scanned in parallel by the target. This data is read-only and is updated whenever changes to the sensor connections or configuration are detected.

Making manual connections graphically

Connections between the controller and sensors can be made by clicking the port on the sensor and dragging the connection to the desired port on the controller.

Note: Be sure to display the connections first using the Options->Display menu item.

cdc_ug_gui_connection.png
Graphical Connections



Source Code Generation

Source code for the design can be generated once all the sensor ports have been connected to the controller.

cdc_ug_generate_source_code.png
Generate Source Code Button



Create new project

This option will create a complete project with the design specific definitions, support code, and CSS/IAR project files.

Update existing project

This option will only update the design specific definition files. Use this option to update a project that has already been imported into an IDE.

cdc_ug_generate_source_options.png
Select Output



Controller target data displays

Controller Channel Bar Chart

See Channel Bar Chart

Controller Channel Table

See Channel Table

Controller Conversion Control parameters

There are two groups of parameters that are controlled in this tab; one for data control, the other for wake on proximity. Clicking on any parameter will display a description for it in the "Description" viewing pane to the right of the parameter.

Element and Sensor data enables

These controls provide a method to minimize the amount of data sent from the target MCU to the CapTIvate™ Design Center during real-time tuning. By default, these both should be "checked." For designs with large number of sensors or elements, the data transmission can be very large and potentially slow down the report rate during sensor tuning. Deselecting one or the other will help improve the throughput.

Wake on proximity parameters*

When using wake on proximity for ultra-low power proximity detection, it is possible to select:

  • Ultra-low power Wake on proximity scan rate is the rate at which the hardware state machine (no CPU) scans the selected proximity sensor/electrode. Note: up to 4 electrodes can be scanned in parallel.
  • Active Mode scan rate is the rate at which the CPU scans all the sensors connected to the target MCU.
  • Wake up interval sets a failsafe timeout used by the hardware state machine to force the CPU to wake up and run any background tasks periodically. The wakeup period is based on the "Wake on proximity scan rate" time the "N samples selected in drop down" value. This parameter is optional and can be disabled)
  • Inactivity timeout is the time the CPU continues to scan all the sensors after there is no proximity detection. At the end of the timeout, the MCU re-enters the ultra-low power wake on proximity mode. The timeout period is based on the "Active scan rate" times the "Inactivity Timeout" value.
cdc_ug_controller_params.png
Wake On Proximity Parameters



Controller Scan Time Estimator

The scan time estimator displays the nominal amount of time it will take to measure each sensor, drawn with respect to the overall scan period. The overall scan period is controlled by the System Report Rate parameter.

cdc_ug_scantimeestimator.png
Scan Time Estimator View



Sensor Properties

Double clicking on a sensor object will display the properties dialog. The properties dialog for a sensor object allows the user to:

cdc_ug_sensor_customizer.png
Sensor Properties View



Position Display

Each properties dialog will display the "position" of the sensor. The rendering of this information is specific to the sensor type. The display is active whenever the Design Center target communications are active.

Button Group Sensor Each button in the group is displayed in a grid indexed by the sensor's TX/RX ports.

  • White indicates the button is not being touched
  • Yellow indicates that the proximity threshold has been reached
  • Green indicates that the touch threshold has been reached and that a touch has been detected
cdc_ug_button_group_position.png
Button Group Sensor



Slider Sensor

  • Red indicates the slider is not being touched
  • Green indicates that the touch threshold has been reached and that a touch has been detected
  • The slider position is rendered on the display and the numeric value is also displayed below the GUI.
cdc_ug_slider_position.png
Slider Sensor



Proximity Sensor

cdc_ug_proximity_position.png
Proximity Sensor



  • White indicates the button is not being touched
  • Yellow indicates that the proximity threshold has been reached
  • Green indicates that the touch threshold has been reached and that a touch has been detected

Wheel Sensor

  • Red indicates the wheel is not being touched
  • Green indicates that the touch threshold has been reached and that a touch has been detected
  • The wheel position is rendered on the display and the numeric value is also displayed below the GUI.
cdc_ug_wheel_position.png
Wheel Sensor



Sensor Configuration

The sensor configuration is specified through the properties dialog.

cdc_ug_sensor_config.png
Sensor Configuration



Capacitive Mode

Specify the capacitive mode type for the sensor. Choices are:

Element Count

Specify the number of elements for sensor.

Electrode Configuration

Based on the specified number of elements, the Design Center will calculate the possible TX/RX port configurations along with the number of time cycles that are required for each of the configurations. The Design Center will default to a configuration that takes the minimum number of time cycles.

cdc_ug_electrode_config.png
Electrode Configuration



Configure TX/RX grouping

In some cases, it may be desired to change how the default assignment of the sensor elements to the TX/RX ports. Selecting the "Configure TX/RX Groups" will display a dialog where these mappings can be changed.

cdc_ug_txrx_grouping.png
TX/RX Grouping



The example below shows a typical 4-element self capacitive slider with default TX/RX group assignment. Note how the Design Center assigns RX0..RX3 to one pin from each CapTIvate™ block and to the sensor electrodes E00..E03. When designing the PCB it is important to follow these assignments generated by the Design Center. In the case of a slider or wheel, it is very important that RX0->E00, RX1->E01, RX2->E02, etc., else the algorithm will not work correctly.

cdc_sensor_group_default.png
Typical TX/RX Sensor Group Assigment



There may be instances where a previous PCB design doesn't match the current Design Center configuration or the PCB routing was done incorrectly. Below is an example showing a 4-element slider with RX1 and RX2 swapped (RX1 assigned to slider element E02 and RX2 assigned to slider element E01).

cdc_sensor_group_incorrect.png
Incorrect TX/RX Sensor Group Assignment



The Design Center sensor TX/RX group assignments can be overriden to provide electrode assignments that match the PCB design. Below is an example showing how sensor electrode E02 is assigned to RX02 and E01 is assigned to RX01 using the Sensor TX/RX grouping tool. After the re-assignment the Controller properties view shows the new proper sensor electrode assignments and the software can now processes the slider in the correct order.

cdc_sensor_group_corrected.png
Corrected TX/RX Sensor Group Assignment

Note, this method provides a convenient way to reverse the behavior of either a slider or wheel if desired.


Enable Target Communications from Sensor Properties

Enable/disable target communications. This button is equivalent to the Communications->Connect/Disconnect menu items.

cdc_ug_target_comms.png
Communications Enable



Sensor target data displays

Sensor Channel Bar Chart

See Channel Bar Chart

Sensor Oscilloscope Plot

See Channel Table

Sensor Channel Table

See Channel Table

Tuning Sensor performance

The sensor parameters are specified through the Tuning and Conversion Control tabs. Real-time reading and writing values to the target requires that target communications are enabled.

Parameter values are written to the appropriate structures whenever the source code is generated for the design. The values will take affect after the new source code is compiled and loaded to the target.

It is also possible to read and write values directly to the target in real-time when the target communications are enabled in the Design Center. This enables real-time tuning of sensor performance and can greatly reduce the time necessary to achieve the desired system behavior.

Note: that any values loaded in real time will revert to the original values when the target is reset unless new source code is generated, compiled and loaded to the target.

Tuning Parameters

cdc_ug_sensor_tuning.png
Tuning View



Conversion Control Parameters

cdc_ug_sensor_conversion_control.png
Conversion Control View



Displaying Target Data

The Design Center provides a rich set of tools to view the sensor data from the target.

  • Channel Bar Chart provides a easy way to visualize the interaction between the values related to measurement counts and touch/proximity thresholds
  • Oscilloscope Plot provides a way to look a historical traces of the sensor data measurements
  • Channel Table provides a tabular rendering of the data present in the Channel Bar chart along with the sensor to controller mapping for each sensor element
  • Zoom in/out/full zoom
    • To zoom in, click and drag down and to the right to define the zoom area
    • To zoom out, click and drag up and to the left to define the amount to zoom out
    • Click the right mouse button to do a full zoom out
  • Plot Display options will display a dialog with several options for changing the plot display.
    cdc_ug_plot_display_options.png
    Polt Options



Channel Bar Chart

Data displayed for each channel:

cdc_ug_channel_bar_chart.png
Channel Bar View



Oscilloscope Plot

Data displayed for each channel:

cdc_ug_oscilloscope_plot.png
Oscilloscope View



Channel Table

cdc_ug_channel_table.png
Channel View



SNR Measurements

The CapTIvate™ Design Center provides a built-in SNR measurement capability that makes it very easy to perform SNR data collection and calculations in real-time. The SNR measurement view is available on every sensor.

cdc_snr_tab.png
SNR View



SNR Formula

cdc_snr_formula.png
SNR Formula



SNR Options

The SNR options provide flexibility for the data collection and measurement process.

  • Filtering Enabled can be used to control the data being collected by the target MCU and provide either raw or filtered data. Refer to the sensor's Tuning view to configure the filtering weight.
  • Sample size determines the number of samples to be collected during the measurement process.
  • Export to CSV and Overwrite CSV control how the sample data is to be stored.
cdc_snr_options.png
SNR Options



SNR Prompts

The SNR measurement process is automated, but does require interaction (touch) with the sensors. Only one electrode can be measured at a time. In the table under the SNR options, click to select the electrode to be measured, then click the "Measure SNR" button. The first prompt will appear. Touch and hold the target electrode and click the "OK" button. After the number of samples have been acquired, the second prompt will appear. Remove your finger from the electrode and click the "OK" button.

cdc_snr_prompts.png
SNR Measurement Prompts



When the measurement sequence is complete, the SNR calculations are displayed in the selected electrode row.

cdc_snr_results.png
SNR Measurements



Loading and running generated projects

Importing/opening projects

Code Composer Studio

To import a CCS project generated by the Design Center, follow the instructions below.

  • Launch CCS
    cdc_ccs_startup.png



  • Select "Project->Import CCS Projects"
    cdc_ccs_import_project.png



  • Provide the location of the generated project source and select the project
    cdc_ccs_select_project.png



  • Click "Finish"
  • Compile and load the code onto the target MSP430
    • Click the "debug" button
      cdc_ccs_debug.png



  • Click the "run" button
    cdc_ccs_run.png



  • Click the "stop" button
    cdc_ccs_stop.png



Click the "stop" button to stop the debugger.

IAR Embedded Workbench

To open an IAR project generated by the Design Center, follow the instructions below.

  • Launch IAR Embedded Workbench
    cdc_iar_startup.png



  • Go to "File->Open Workspace" and navigate to the generated source directory
    cdc_iar_open_workspace.png



  • Select the workspace file found under "IAR/<PROJECT_NAME>.eww"
    cdc_iar_select_project.png



  • Compile and load the code onto the target MSP430
    • Start debugging (Project->Download And Debug)
      cdc_iar_download_and_debug.png



  • Start execution (Debug->Go)
    cdc_iar_debug_go.png



  • Stop execution (Debug->Stop Debugging)
    cdc_iar_debug_stop.png



Click the "Stop Debugging" menu item to stop the debugger.

Enable target communications in the Design Center

cdc_start_comms.png



Once the code has been loaded onto the target, select the "Communications->Connect" menu in the Design Center to enable the HID communications.