微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI蓝牙设计交流 > CC2640 APP编译不通过

CC2640 APP编译不通过

时间:10-02 整理:3721RD 点击:

IAR编译cc2640 APP工程时出错,但编译stack工程正常通过。在另外几台电脑上运行,也有一台出现了相同的问题,其余电脑皆运行正常。求解~

错误信息如下:

Error while running "C:\ti\xdctools_3_31_01_33_core/xs" --xdcpath="C:\ti\tirtos_simplelink_2_13_00_06\products\bios_6_42_00_08\packages" iar.tools.configuro -c "D:\Program Files (x86)\IAR Systems\Embedded Workbench 7.2\arm"  --cc "D:\Program Files (x86)\IAR Systems\Embedded Workbench 7.2\arm\bin\iccarm.exe" --device "CC2640F128" --compileOptions "-D USE_ICALL -D POWER_SAVING -D HEAPMGR_SIZE=2672 -D  TI_DRIVERS_SPI_DMA_INCLUDED -D TI_DRIVERS_LCD_INCLUDED -D ICALL_MAX_NUM_TASKS=3 -D ICALL_MAX_NUM_ENTITIES=6 -D xdc_runtime_Assert_DISABLE_ALL -D xdc_runtime_Log_DISABLE_ALL -D CC26XXWARE  -D CC26XX --diag_suppress Pa050 -o C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Obj\ --debug --endian=little --cpu=Cortex-M3 -f C:\ti\simplelink\ ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\..\Projects\ble\config\buildComponents.opt -f C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\ CC26xx\IAR\Application\CC2640\configPkg\compiler.opt.defs -f C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\..\..\Config\IAR-Boundary.bdef -e --fpu=None --dlib_config \ "D:\Program Files (x86)\IAR Systems\Embedded Workbench 7.2\arm\INC\c\DLib_Config_Normal.h\" -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\ -I C:\ti\simplelink\ ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../Source/Application\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\ CC2640/../../../../../../../Projects/ble/Include\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/ICall/Include\ -I C:\ti\simplelink\ ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/Roles/CC26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\ IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/Roles\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/DevInfo\ -I C:\ti\ simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/SimpleProfile/CC26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\ SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Projects/ble/Profiles/SimpleProfile\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\ CC2640/../../../../../../../Projects/ble/common/cc26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/applib/heap\ -I C:\ti\simplelink\ ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/hci\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\ Application\CC2640/../../../../../../../Components/ble/controller/CC26xx/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/host\ -I C:\ti\ simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/target/CC2650/rom\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\ SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/target/CC2650TIRTOS\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\ CC2640/../../../../../../../Components/hal/target/_common/cc26xx\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/hal/include\ -I C:\ti\simplelink\ ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/osal/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\ Application\CC2640/../../../../../../../Components/services/sdata\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/services/saddr\ -I C:\ti\ simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640/../../../../../../../Components/icall/include\ -I C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\ CC26xx\IAR\Application\CC2640/../../../../../../../Components/ble/include\ -I C:\ti\tirtos_simplelink_2_13_00_06\products\cc26xxware_2_21_01_15600\ -I C:\ti\tirtos_simplelink_2_13_00_06\packages\ -I C:\ti\tirtos_simplelink_2_13_00_06\ packages\ti\boards\SRF06EB\CC2650EM_7ID\ -Ohz" --linkOptions "-o C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\Exe\ SimpleBLEPeripheralAppFlashROM.out --map C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\FlashROM\List\SimpleBLEPeripheralAppFlashROM.map --config C:\ti\ simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\..\..\..\..\..\common\cc26xx\IAR\cc26xx_ble_app.icf --keep __vector_table -f C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\configPkg\linker.cmd -f C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\..\..\Config\IAR-Boundary.xcl C:\ti\ tirtos_simplelink_2_13_00_06\products\cc26xxware_2_21_01_15600\driverlib\bin\iar\driverlib.lib C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\drivers\lib\drivers_cc26xxware.arm3 --entry __iar_program_start --vfe" --profile release  --projFile "C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\CC2640App.ewp"

在论坛上也看到雷类似的问题,解决方法为重装IAR或者重装BLE2.1协议栈,但是这些方法我都尝试过后,仍然显示相同的错误。

另外,我的安装步骤都是按照开发指南操作的,这个问题已经纠结了好几天了,求一个靠谱的解决方法!

谢谢!

mingda,

安装SDK,然后什么都不要动,不要把SDK移到其他路径,编译。

需要IAR7.40.

SDK就是安装在默认路径下的,IAR是7.40.3

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top