Z-stack 1.2.2a CC2630编译,发生以下错误,IAR为7.40版
我已在工程中导入了argvrs文件,argvrs文件更新如下
XDCROOT d:\ti\xdctools_3_30_06_67_core XDCPATH D:\ti\tirtos_simplelink_2_11_01_09\packages;D:\ti\tirtos_simplelink_2_11_01_09\products\bios_6_41_02_41\packages;D:\ti\tirtos_simplelink_2_11_01_09\products\cc26xxware_2_20_06_14829\inc;D:\ti\tirtos_simplelink_2_11_01_09\products\cc26xxware_2_20_06_14829\driverlib;D:\ti\tirtos_simplelink_2_11_01_09\products\cc26xxware_2_20_06_14829 DRIVERLIB D:\ti\tirtos_simplelink_2_11_01_09\products\cc26xxware_2_20_06_14829 Error while running "d:\ti\xdctools_3_30_06_67_core/xs" --xdcpath="D:\ti\tirtos_simplelink_2_11_01_09\packages;D:\ti\tirtos_simplelink_2_11_01_09\products\bios_6_41_02_41\packages;D:\ti\tirtos_simplelink_2_11_01_09\products\ cc26xxware_2_20_06_14829\inc;D:\ti\tirtos_simplelink_2_11_01_09\products\cc26xxware_2_20_06_14829\driverlib;D:\ti\tirtos_simplelink_2_11_01_09\products\cc26xxware_2_20_06_14829" iar.tools.configuro -c "D:\IAR Systems\ Embedded Workbench 7.2\arm" --cc "D:\IAR Systems\Embedded Workbench 7.2\arm\bin\iccarm.exe" --device "CC2650F128" --compileOptions "-D ewarm -D FLASH_ROM_BUILD -D USE_ICALL -D HEAPMGR_SIZE=6500 -D FEATURE_MAC_SECURITY -D FEATURE_GREEN_POWER -D FEATURE_ENHANCED_BEACON -D ICALL_HOOK_ABORT_FUNC=halAssertHandler -D CC26XX -D xdc_runtime_Log_DISABLE_ALL -D xdc_runtime_Assert_DISABLE_ALL -D MODULE_CC26XX_7X7 -D xMODULE_CC26XX_5X5 -D xMODULE_CC26XX_4X4 -D ZDO_API_ADVANCED -D HAL_ASSERT_SPIN -D NEAR_FUNC= -D DATA= -D FEATURE_SYSTEM_STATS -D ZDNWKMGR_MIN_TRANSMISSIONS=0 -D SECURE=1 -D TC_LINKKEY_JOIN -D DSECMGR_TC_DEVICE_MAX=16 -D HOLD_AUTO_START -D ROM_SBL -D FEATURE_NVEXID -D NPI -D NPI_SREQRSP -D NPI_USE_UART -D NPI_UART_BR=115200 --diag_suppress pa050 -o D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx\Coordinator-Pro_Secure_Link_Key_Join\Obj\ --debug --endian=little --cpu=Cortex-M3 -f D:\ti\simplelink\ zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx\znp.cfg -f D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx\..\..\Tools\CC26xx\znp_f8wConfig.cfg -f D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\ CC26xx\..\..\Tools\CC26xx\f8wCoord.cfg -f D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/configPkg/compiler.opt.defs --aeabi -e --fpu=None --dlib_config \"D:\IAR Systems\Embedded Workbench 7.2\arm\INC\c\ DLib_Config_Normal.h\" --preinclude D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../../tools/CC26xx_Tracer/dbg.h -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx\ -I D:\ti\simplelink\ zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/StackTask\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/AppTask\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\ CC26xx/../../../../Projects/zstack/common/CC26xx/SmartRF06\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../../../Components/npi\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\ CC26xx/../../../../Components/mt\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../../../Components/mt/icall\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\ CC26xx/../../../../Components/stack/icall\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../../../Components/stack/icall/client\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\ CC26xx/../../../../Components/applib/heap\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../../../Components/hal/include\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\ CC26xx/../../../../Components/hal/target/_common/cc26xx\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../../../Components/hal/target/CC2650/rom\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ ZNP\CC26xx/../../../../Components/hal/target/CC2650TIRTOS\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../../../Components/osal/include\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\ CC26xx/../../../../Components/services/sdata\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../../../Components/services/saddr\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\ CC26xx/../../../../Components/services/nv\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../../../Components/services/nv/cc26xx\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\ CC26xx/../../../../Components/services/aes\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../../../Components/icall/include\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\ CC26xx/../../../../Components/mac/include\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../../../Components/mac/include/cc26xx\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\ CC26xx/../../../../Components/mac/high_level\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../../../Components/mac/low_level/cc26xx\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\ CC26xx/../../../../Components/mac/low_level/cc26xx/ROM_Support\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../../../Components/mac/low_level/cc26xx/CM0_Patch\ -I D:\ti\simplelink\ zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../../../Components/stack/icall\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../../../Components/stack/zdo\ -I D:\ti\simplelink\zstack_home_1_02_02a\ Projects\zstack\ZNP\CC26xx/../../../../Components/stack/af\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../../../Components/stack/nwk\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\ CC26xx/../../../../Components/stack/sec\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../../../Components/stack/sys\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\ CC26xx/../../../../Components/stack/sapi\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../../../Components/zmac\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\ CC26xx/../../../../Components/zmac/f8w\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../../../Components/mac/include\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\ CC26xx/../../../../Projects/zstack/ZNP/Source\ -I D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/../../common/CC26xx\ -I D:\ti\tirtos_simplelink_2_11_01_09\products\cc26xxware_2_20_06_14829/\ -I D:\ti\ tirtos_simplelink_2_11_01_09\products\cc26xxware_2_20_06_14829/inc\ -I D:\ti\tirtos_simplelink_2_11_01_09\products\cc26xxware_2_20_06_14829/driverlib\ -Ohz" --linkOptions "-o D:\ti\simplelink\zstack_home_1_02_02a\Projects\ zstack\ZNP\CC26xx\Coordinator-Pro_Secure_Link_Key_Join\Exe\znp_coordinator_pro_secure_linkkeyjoin.out --config_def CC2650=1 --config_def USE_SYSBIOS_IN_ROM=1 --config_def FLASH_ROM_BUILD=1 --map D:\ti\simplelink\ zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx\Coordinator-Pro_Secure_Link_Key_Join\List\znp_coordinator_pro_secure_linkkeyjoin.map --config D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx\ cc26xx_app_stack_combined.icf -f D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx/configPkg/linker.cmd --keep __vector_table --semihosting D:\ti\tirtos_simplelink_2_11_01_09\products\ cc26xxware_2_20_06_14829/driverlib/bin/iar/driverlib.lib D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx\..\..\Libraries\CC26xx\bin\Router.a D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx\..\..\ ..\..\Projects\common\TIMAC_ROM_Release\03282014\timac_rom_PATCH.symbols --entry __iar_program_start --vfe" --profile release --projFile "D:\ti\simplelink\zstack_home_1_02_02a\Projects\zstack\ZNP\CC26xx\znp.ewp"
首先建议您将IAR安装到默认的路径试试 C盘
另外建议您设置下windows权限,把所有的协议栈文件都改为everyone拥有全完权限即可。
还是不能解决
据说CC2640也有这种错误,http://www.deyisupport.com/question_answer/wireless_connectivity/bluetooth/f/103/t/83295.aspx
同样,我在另一台笔记本电脑上面,把Zstack home 1.2.2a装在D盘,TI-RTOS装在D盘,却能正常编译,我把笔记本上面的工程(包含协议栈文件和TI-RTOS文件)拷贝到我的电脑上,依然报错。
你在第一次编译的时候有没有中途停止过,如果有的话,后续编译是会出现错误的。因为第一次编译需要等待的时间会长点。
建议你把协议栈重新按装,或者将编译产生的文件删除掉。C:\ti\simplelink\zstack_home_1_02_02a_44539\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\configPkg