Part Number:CC2642ROther Parts Discussed in Thread: SYSCONFIG, CC1352P, CC2650
你好
1.CC2642R
2. 重装电脑系统
3. 安装simplelink_cc13xx_cc26xx_sdk_5_30_01_01
4. 安装IAR8.50.9
5.打开demo(simple_peripheral /simple_central)后编译失败
Kevin Qiu1:
需要先配置环境,按照里面的步骤操作:https://dev.ti.com/tirex/explore/node?node=AHUJaYeT1MCD7Y8tapS-0g__BSEc4rl__LATEST
,
user5983202:
配置环境后 ,编译又报其他错误
,
Kevin Qiu1:
链接里面说的sysconfig安装了吗,环境变量都配置好了?
,
user5983202:
都做了
1.
2.
,
Kevin Qiu1:
IAR中的source browse log打印的信息是什么
,
user5983202:
Building configuration: simple_peripheral_CC13X2P_2_LAUNCHXL_tirtos_iar – Release Updating build tree… Performing Pre-Build Action Error while running "c:/ti/xdctools_3_62_01_15_core/xs" –xdcpath="c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/kernel/tirtos/packages;c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source" iar.tools.configuro -c "C:\IARSystems\ EmbeddedWorkbench8.5\arm" –cc "C:\IARSystems\EmbeddedWorkbench8.5\arm\bin\iccarm.exe" –device "CC1352P1F3" –compileOptions "dummy.c -D DeviceFamily_CC13X2 -D FLASH_ROM_BUILD -D NVOCMP_NWSAMEITEM=1 -o C:\ti\simplelink_cc13xx_cc26xx_sdk_5_30_01_01\examples\rtos\CC1352P_2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\IARProject\Release\Obj –endian=little –cpu=Cortex-M4 -fC:\ti\ simplelink_cc13xx_cc26xx_sdk_5_30_01_01\examples\rtos\CC1352P_2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\IARProject/configPkg/compiler.opt.defs -fC:\ti\simplelink_cc13xx_cc26xx_sdk_5_30_01_01\examples\rtos\ CC1352P_2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\IARProject/ti_ble_app_config.opt -fC:\ti\simplelink_cc13xx_cc26xx_sdk_5_30_01_01\examples\rtos\CC1352P_2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\ IARProject/ti_build_config.opt -fc:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/config/build_components.opt -fc:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/config/factory_config.opt –debug –silent -e –aeabi –thumb –diag_suppress=Pa050 -e –fpu=VFPv4_sp –dlib_config C:\IARSystems\EmbeddedWorkbench8.5\arm\inc\c\DLib_Config_Normal.h -I C:\ti\simplelink_cc13xx_cc26xx_sdk_5_30_01_01\examples\rtos\ CC1352P_2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\IARProject\ -I C:\ti\simplelink_cc13xx_cc26xx_sdk_5_30_01_01\examples\rtos\CC1352P_2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\IARProject/Application\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/npi/src\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/npi/src/inc\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/common/cc26xx/rcosc\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/kernel/tirtos/packages\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/controller/cc26xx/inc\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/inc\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/rom\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/common/cc26xx\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/icall/inc\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/hal/src/target/_common\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/hal/src/target/_common/cc26xx\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/hal/src/inc\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/heapmgr\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/profiles/dev_info\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/profiles/simple_profile\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/icall/src/inc\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/osal/src/inc\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/services/src/saddr\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/services/src/sdata\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/common/nv\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/common/cc26xx\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/profiles/simple_profile/cc26xx\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/ble5stack/hal/src/target/cc2650/rom\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/devices/cc13x2_cc26x2\ -I c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/posix/iar\ -Ohz –vla" –linkOptions "–no_out_extension -o C:\ti\simplelink_cc13xx_cc26xx_sdk_5_30_01_01\examples\rtos\CC1352P_2_LAUNCHXL\ble5stack\simple_peripheral\ tirtos\IARProject\Release\Exe\simple_peripheral_CC13X2P_2_LAUNCHXL_tirtos_iar.out –map C:\ti\simplelink_cc13xx_cc26xx_sdk_5_30_01_01\examples\rtos\CC1352P_2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\IARProject\ Release\List\simple_peripheral_CC13X2P_2_LAUNCHXL_tirtos_iar.map –config C:\ti\simplelink_cc13xx_cc26xx_sdk_5_30_01_01\examples\rtos\CC1352P_2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\ IARProject/cc26xx_app_and_stack_agama.icf -fC:\ti\simplelink_cc13xx_cc26xx_sdk_5_30_01_01\examples\rtos\CC1352P_2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\IARProject/configPkg/linker.cmd –keep __vector_table -Lc:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source –config_def CC2642=1 –config_def PAGE_ALIGN=-1 –config_def FLASH_ROM_BUILD=2 -Lc:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/kernel/tirtos/packages -fC:\ti\ simplelink_cc13xx_cc26xx_sdk_5_30_01_01\examples\rtos\CC1352P_2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\IARProject/ti_utils_build_linker.cmd.genlibs c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/source/ti/devices/cc13x2_cc26x2/driverlib/bin/iar/driverlib.lib –silent –cpu=Cortex-M4F –semihosting –entry __iar_program_start –inline –vfe –text_out locale" –profile release –projFile "C:\ ti\simplelink_cc13xx_cc26xx_sdk_5_30_01_01\examples\rtos\CC1352P_2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\IARProject\simple_peripheral_CC13X2P_2_LAUNCHXL_tirtos_iar.ewp" -o C:\ti\ simplelink_cc13xx_cc26xx_sdk_5_30_01_01\examples\rtos\CC1352P_2_LAUNCHXL\ble5stack\simple_peripheral\tirtos\IARProject/configPkg c:/ti/simplelink_cc13xx_cc26xx_sdk_5_30_01_01/examples/rtos/CC1352P_2_LAUNCHXL/ble5stack/simple_peripheral/Tools/ble_Release.xscfg Total number of errors: 1 Total number of warnings: 0 Build failed.
,
user5983202:
,
Kevin Qiu1:
看你上面的截图似乎是将SDK安装在IAR目录下,不是默认安装路径则需要自己修改下面对应的路径:
,
user5983202:
每日路径的
,
Kevin Qiu1:
你用win10系统64位的电脑和SDK5.40试一下,我测试没有问题
如果没有其他电脑或者一直不行,建议你使用CCS
,
user5983202:
1.我用两台电脑 一个Win7 64位 一个win10 64位。
2. SDK5.20 SDK5.30 SDK5.40 都试过了,都是一样的问题。
3. 为什么这个SDK 跟CC2640R2 相差这么大呢?
4. 我按照https://dev.ti.com/tirex/explore/node?node=AHUJaYeT1MCD7Y8tapS-0g__BSEc4rl__LATEST
操作步骤操作后,为什么无论放在什么路径,要打开源文件的时候,都提示路径不对
有什么药特别注意的吗?
,
Kevin Qiu1:
没什么特别注意的,按照步骤操作应该不会有问题
你上面的路径不对,C:\2642\不是默认的安装路径,将所有都按照默认安装路径安装试试
,
user5983202:
1. 按照资料操作, 保存新路径的时候,我新建了c:/CC2642 文件夹,保存在这里 就出现了这个问题
2.安装路径都是默认的
3.请问你打开官方例程后,提示保存新文件夹后,你是保存在什么路径下面的?
我无论保存在哪里都会报错的
,
Kevin Qiu1:
user5983202 说:请问你打开官方例程后,提示保存新文件夹后,你是保存在什么路径下面的?
在C盘建了一个文件夹,这应该不影响,建在其他盘也没问题
下面是我测试的: