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:IAR BLE-REMO GSG

From Texas Instruments Wiki
Jump to: navigation, search

1. Open IAR Embedded Workbench and go to File->Open->Workspace.

Open workspace iar remoti.png


2. Navigate and open the IAR workspace for the software development kit you've chosen.

Remote_control_workspace_iar.png
BLE SDK {{{BLE_SDK_VER}}} RemoTI {{{REMOTI_VER}}}
Workspace directory
C:\ti\simplelink\ble_sdk_{{{BLE_SDK_VER_}}}\examples\cc2650rc\hid_adv_remote\iar
Workspace directory
C:\ti\simplelink\remoti_{{{REMOTI_VER_}}}\examples\cc2650rc\remote_control\iar
Workspace
hid_adv_remote.eww
Workspace
remote_control.eww

3. The IAR Embedded Workspace includes 2 projects; an Application Project and a Stack Project. Select the Stack Project and click on Make IAR RemoTI.png. Observe that the project builds without any errors in the Build output window. Repeat these steps with the Application Project.

Building each project iar.png

  Note, the project configurations depicted in the image above depend on which software development kit you are using.
Embedded Workbench project configuration BLE SDK {{{BLE_SDK_VER}}} RemoTI {{{REMOTI_VER}}}
Application Project cc2650rc_app - FlashROM cc2650rc_app - controller
Stack Project cc2650rc_stack - FlashROM cc2650rc_stack - controller_rom

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

At main iar.png