This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
I am trying to import the heart rate sensor example project from the most recent example pack (v1.50.00.62) into Code Composer Studio.
Resource Explorer only has BLE example pack v1.40.00.50 and does not recognize the latest example pack- even in the online version of the resource explorer:
How can I import the heart rate example into CCS? I have tried importing the older version and changing the project properties and linked resources to the correct versions, but it will not build the project, citing that I need an older version of the XDC tools:
js: "C:/ti/xdctools_3_50_05_12_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: Error: Can't find the platform package 'ti.platforms.simplelink'. TI platforms are no longer shipped as part of XDCtools (C:\ti\xdctools_3_50_05_12_core). Please ensure you are either using a pre-3.30 version of XDCtools or you have added a product that includes your platform support along the path ';C:\ti\xdctools_3_50_05_12_core/packages'. Check that this path names a directory containing the necessary platform support and that the platform name is properly spelled.
Should I install a pre-3.30 version of XDCtools? If so, where can I find them?
What do you mean by "cc2640 support" exactly?
I downloaded and installed all of the relevant modules with CCS and have been programming/debugging the cc2640 using them. I am able to import, build, and debug the older heart rate example (from version 1.4) with the older version of the BLE SDK (v1.4) from CCS on my desktop.
Jo,
You are correct, Resource Explorer does not yet have the latest version of the BLE example pack. If you already have the latest version of the Example Pack installed (from ti.com), you can use the CCS menu Project->Import CCS Projects and browse to the directory with the heart rate example to import it directly.
Is this what you did when you got the build error? If not, could you please provide the exact steps you followed to import the example so I can try to reproduce it at my end? Also which version of SDK is selected in the Products tab for the project?
I successfully imported the CCS project from C:\ti\simplelink_cc2640r2_sdk_ble_example_pack_1_50_00_62\examples\rtos\CC2640R2_LAUNCHXL\bleapps\heart_rate\tirtos\ccs
and it builds cleanly.
However, the program does not debug properly-- CCS will load and run the program on the launchpad, but no bluetooth signal appears. I also tried flashing the device using the .out file (.../workspace_v8/heart_rate_cc2640r2lp_app/FlashROM_StackLibrary/heart_rate_cc2640r2lp_app.out), but it still does not produce a BLE signal.
I think it has to do with the project build and launch configurations:
Glad to hear the build issues are resolved.
I don't believe the specific error you show above should impact whether the program runs on Launchpad. For the issue with BLE signal, could you please start a new post in the Bluetooth device forum? The experts there would be in the best position to help with that.
We will close out this thread since the original question with import/build is resolved.