Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2650, SYSBIOS, CC2640, BLE-STACK
Tool/software: Code Composer Studio
Hey,
I was wondering if it was possible to run the examples from the cc2640r2_SDK_1.35.00.33 on the Launchpadxl-CC2650. if so, how would I proceed with this?
So far, I have imported an example project(pwmled) from the example folder of the cc2640r2_SDK_1.35.00.33. This project successfully builds and generates an {.out} file. However, when I try to debug on the board, it doesnt run to main or flash the LED's. Also, I Have change the project properties Including the variant and linker command files to match the CC2650.
In addition, I realised that the output type of this project is an executable, whereas the other projects which have been able to successfully run on the board where RTSC Application (executable) files. Could this is be affecting it ? I tried to change the output type by creating a RTSC configuration file and changing the target name to ti.platforms.simplelink:CC2650F128 but this is giving these errors.
**** Build of configuration Debug for project pwmled_CC2640R2_LAUNCHXL_tirtos_ccs ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 8 all -O
gmake[1]: Entering directory 'C:/Users/vince/workspace_v7/pwmled_CC2640R2_LAUNCHXL_tirtos_ccs/Debug'
'Building file: ../pwmled_CC2640R2_LAUNCHXL_tirtos_ccs.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source;C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2650F128 -r debug -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS" "../pwmled_CC2640R2_LAUNCHXL_tirtos_ccs.cfg"
'Building file: ../ccfg.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/bin/armcl" -mv7M3 --code_state=16 --float_support=vfplib -me --include_path="C:/Users/vince/workspace_v7/pwmled_CC2640R2_LAUNCHXL_tirtos_ccs" --include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/kernel/tirtos/packages/ti/sysbios/posix" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include" --define=DeviceFamily_CC26X0R2 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="ccfg.d" --cmd_file="configPkg/compiler.opt" "../ccfg.c"
'Finished building: ../ccfg.c'
' '
'Building file: ../pwmled.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/bin/armcl" -mv7M3 --code_state=16 --float_support=vfplib -me --include_path="C:/Users/vince/workspace_v7/pwmled_CC2640R2_LAUNCHXL_tirtos_ccs" --include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/kernel/tirtos/packages/ti/sysbios/posix" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include" --define=DeviceFamily_CC26X0R2 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="pwmled.d" --cmd_file="configPkg/compiler.opt" "../pwmled.c"
'Finished building: ../pwmled.c'
' '
'Building file: ../main_tirtos.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/bin/armcl" -mv7M3 --code_state=16 --float_support=vfplib -me --include_path="C:/Users/vince/workspace_v7/pwmled_CC2640R2_LAUNCHXL_tirtos_ccs" --include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/kernel/tirtos/packages/ti/sysbios/posix" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include" --define=DeviceFamily_CC26X0R2 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="main_tirtos.d" --cmd_file="configPkg/compiler.opt" "../main_tirtos.c"
'Finished building: ../main_tirtos.c'
' '
'Building file: ../CC2640R2_LAUNCHXL.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/bin/armcl" -mv7M3 --code_state=16 --float_support=vfplib -me --include_path="C:/Users/vince/workspace_v7/pwmled_CC2640R2_LAUNCHXL_tirtos_ccs" --include_path="C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/kernel/tirtos/packages/ti/sysbios/posix" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include" --define=DeviceFamily_CC26X0R2 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="CC2640R2_LAUNCHXL.d" --cmd_file="configPkg/compiler.opt" "../CC2640R2_LAUNCHXL.c"
'Finished building: ../CC2640R2_LAUNCHXL.c'
' '
configuring pwmled_CC2640R2_LAUNCHXL_tirtos_ccs.xem3 from package/cfg/pwmled_CC2640R2_LAUNCHXL_tirtos_ccs_pem3.cfg ...
subdir_rules.mk:40: recipe for target 'build-1478659407-inproc' failed
js: "C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/kernel/tirtos/packages/ti/targets/linkUtils.xs", line 94: xdc.services.global.XDCException: xdc.FILE_NOT_FOUND: can't locate file 'ti/targets/rts6000/link.xdt' along the path: C:\ti\simplelink_cc2640r2_sdk_1_40_00_45\kernel\tirtos\packages\ti\platforms\simplelink;C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source;C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/kernel/tirtos/packages;C:/ti/xdctools_3_32_00_06_core/packages;..;
"C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/kernel/tirtos/packages/ti/platforms/simplelink/linkcmd.xdt#93(eval)", line 1
"C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/kernel/tirtos/packages/ti/platforms/simplelink/linkcmd.xdt", line 93
"C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/kernel/tirtos/packages/ti/platforms/simplelink/linkcmd.xdt", line 134
xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/pwmled_CC2640R2_LAUNCHXL_tirtos_ccs_pem3.xdl] Error 1
xdctools_3_32_00_06_core\gmake.exe: *** Deleting file `package/cfg/pwmled_CC2640R2_LAUNCHXL_tirtos_ccs_pem3.xdl'
xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/pwmled_CC2640R2_LAUNCHXL_tirtos_ccs_pem3.xdl] Deleting file `package/cfg/pwmled_CC2640R2_LAUNCHXL_tirtos_ccs_pem3.h'
xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/pwmled_CC2640R2_LAUNCHXL_tirtos_ccs_pem3.xdl] Deleting file `package/cfg/pwmled_CC2640R2_LAUNCHXL_tirtos_ccs_pem3.c'
js: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-1478659407-inproc] Error 1
gmake: *** [build-1478659407] Error 2
gmake[1]: Leaving directory 'C:/Users/vince/workspace_v7/pwmled_CC2640R2_LAUNCHXL_tirtos_ccs/Debug'
subdir_rules.mk:37: recipe for target 'build-1478659407' failed
gmake: Target 'all' not remade because of errors.
**** Build Finished ****