NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

Template:CCS BLE-REMO GSG

From Texas Instruments Wiki
Jump to: navigation, search


1. Open CCS and select/create a workspace. A "workspace" in context of CCS is a root directory in which one can store one or more CCS projects. In this example, we'll call it myworkspace.

Myworkspace.png


2. Every time CCS starts up it performs a product discovery in the default installation directory. For Windows users, the default installation directory is C:/ti. In this step, it is important that the newly installed TI-RTOS and XDCTools products are discovered by CCS. After the discovery process, CCS will prompt for a restart.

Product discovery.png
BLE SDK {{{BLE_SDK_VER}}} RemoTI {{{REMOTI_VER}}}
TI-RTOS for CC13xx/CC26xx
{{{BLE_SDK_TIRTOS_VER}}}
TI-RTOS for CC13xx/CC26xx
{{{REMOTI_TIRTOS_VER}}}









3. After restarting CCS, the next step is to Import the example projects included with the SDK. An example consists of an "app" and "stack" projects. You need to select both projects in order for the application to work properly. Each project need to be flashed to the device separately.

Import ccs project.png
Select cc2650rc projects.png
BLE SDK {{{BLE_SDK_VER}}} RemoTI {{{REMOTI_VER}}}
Select search-directory
C:\ti\simplelink\ble_sdk_{{{BLE_SDK_VER_}}}\examples
Select search-directory
C:\ti\simplelink\remoti_{{{REMOTI_VER_}}}\examples
Application project
hid_adv_remote_cc2650rc_app
Application project
cc2650rc_app
Stack project
hid_adv_remote_cc2650rc_stack
Stack project
cc2650rc_stack





















4. The next step is to build the imported projects. Select the Stack Project and click on Hammer.png. Observe that the project builds without any errors in the Console window. Repeat these steps with the Application Project.

Building each project.png

  Note, the project names depicted in the image above depend on which software development kit you are using. See step 3.

5. With both projects built, the next step is to load each image (.out) file onto the target. Select the Stack Project project and click on Bug.png. This project does not have a main(), so CCS (and IAR) will complain that it can't run to the main symbol. This is OK. After loading the Stack Project, terminate the debug session CCS Stop.png and repeat the debug steps for the Application Project project.

At main.png