boards.io

cc3220SF

SimpleLink CC3220SF LaunchPad (CC3220SF-LAUNCHXL)

Inheritance

  1. cc3220SF
  2. base

Key facts

Vendor
Texas Instruments
Bootloader family
MCU
Architecture
Arm Cortex-M (MCU) (guessed from the name)
USB vendor ID
0451
USB product ID
bef3
Connections
serial

Deploy methods

image

Boot methods

openocd gdb

Boot commands

openocd
board_selection_cmd
gdb
openocd

Overridable variables (1)

Variables set with a default value in this template. They can be overridden from the device dictionary or, for some of them, from the job context.

VariableDefault
device_info[{'board_id': board_id, 'usb_vendor_id': usb_vendor_id, 'usb_product_id': usb_product_id}]

Fixed settings (2)

VariableValue
usb_vendor_id'0451'
usb_product_id'bef3'
{# device_type: cc3220SF #}
{% extends 'base.jinja2' %}
{% set usb_vendor_id = '0451' %}
{% set usb_product_id = 'bef3' %}
{% block body %}
board_id: '{{ board_id|default('00000000') }}'
usb_vendor_id: '{{ usb_vendor_id }}'
usb_product_id: '{{ usb_product_id }}'
usb_sleep: {{ usb_sleep|default(10) }}

actions:
  deploy:
    methods:
      image:
        parameters:

  boot:
    connections:
      serial:
    methods:
      openocd:
        board_selection_cmd: "xds110_serial {{ board_id|default('00000000') }}"
        parameters:
          command:
            # Can set 'openocd_bin_override' in device dictionary to
            # override location of OpenOCD executable to point to TI OpenOCD
            # if necessary
            {{ openocd_bin_override|default('openocd') }}
          options:
            file:
              - board/ti_cc3220sf_launchpad.cfg
            # Set 'openocd_scripts_dir_override' in device dictionary to
            # point to TI OpenOCD scripts if necessary
            search: [{{ openocd_scripts_dir_override }}]
            command:
              - gdb_port disabled
              - init
              - targets
              - 'reset halt'
              - 'flash write_image erase {BINARY}'
              - 'reset halt'
              - 'verify_image {BINARY}'
              - 'reset run'
              - shutdown
            debug: 2
      gdb:
        parameters:
          command: gdb-multiarch
          wait_before_continue: {{ wait_before_continue|default(5) }}
        openocd:
          arguments:
          - "{ZEPHYR}"
          commands:
          - target remote | openocd -c "gdb_port pipe" -f {OPENOCD_SCRIPT}
          - monitor reset halt
          - load
          - set remotetimeout 10000
          docker:
            use: {{ docker_use|default(False) }}
            container: '{{ docker_container|default('ti-openocd') }}'
            devices: {{ docker_devices|default([]) }}
{% endblock body %}

{% set device_info = device_info|default([{'board_id': board_id, 'usb_vendor_id': usb_vendor_id, 'usb_product_id': usb_product_id}]) %}

Rendered with the default values (no device dictionary), using LAVA's own template environment.