TI 最新一代超低功耗多协议芯片ZigBee/6LoWPAN/BLE/Thread 芯片CC2652正式发布

状元 58556 points

TI 最新一代超低功耗多协议芯片ZigBee/6LoWPAN/BLE/Thread 芯片CC2652正式发布

芯片介绍 CC2652R, http://www.ti.com/product/CC2652R

协议栈下载,CC2652R SDK, http://www.ti.com/tool/simplelink-cc26x2-sdk

开发板,CC2652 LaunchPad, http://www.ti.com/tool/LAUNCHXL-CC26X2R1

开发环境,CCS 7.4, http://processors.wiki.ti.com/index.php/Download_CCS

Our first complete release of SimpleLink Zigbee SDK Plugin is now available for download on TI.com at the link below. This package is intended to be a plugin to the SimpleLink CC26x2 SDK, also available at the link below. Simply download and install both of these installers along with CCS 7.4 in order to get started with development.

Like Z-Stack 3.0.1 for CC2530/CC2538, the Zigbee stack provided in this plugin is based on the Zigbee 3.0 specification and provides various sample applications that will help you quickly get started with Zigbee networking and also kickstart development for your own custom applications.

This release is intended to be used with the CC2652R1 LaunchPad and Code Composer Studio 7.4 (IAR is no longer supported). More information about the LaunchPads can be found at the link below.

Please refer to the documentation in this plugin for more information, as well as the README files included with each sample application.

<plugin path>\docs\zigbee_user_guide\docs\zigbee_user_guide\zigbee-users-guide.html

<plugin_path>\examples\rtos\CC26X2R1_LAUNCHXL\zstack\<sample-app>\README.html

_____________________________________________________________________________________________________________

42 个回复

  • 128KB的FLASH可以跑协议栈?一个M3的core和一个M0的core,是面向高端应用么?

  • 状元 58556 points

    回复 Aries Lord:

    @Aries,

    是的,你可以下载Z-Stack Home 1.2.2安装以后编译下。M3是32bit的,所以代码量会少点。

    没有高端应用这样的说法,只要合适,并且能够发挥它的特点的应用都可以的,再说现在M3也不是很高端的东西了。

  • 回复 VV:

    下载了,EW ARM7.30.4环境,编译后出现

    0 file(s) deleted.
    Updating build tree...
    Variable expansion failed for Pre-Build command line.
    Offending text: ""$XDCROOT$/xs" --xdcpath="$XDCPATH$" iar.tools.configuro -c "$TOOLKIT_DIR$" --cc "$COMPILER_PATH$" --device "$DEVICE$"
    --compileOptions $COMPILER_ARGS_ROOT_QUOTED$ --linkOptions $LINKER_ARGS_QUOTED$ --profile release --projFile "$PROJ_PATH$""

    的错误,怎么解决?

  • 状元 58556 points

    回复 Aries Lord:

    @Aries,

    下次可以但是开一个帖子。 

    IAR->Tools->Configuration Customer Argument Variables 把环境变量的路径加上去

    Import配置的位置在每个工程下面

    C:\ti\simplelink\zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\SampleSwitch.custom_argvars

  • 回复 VV:

    1,协议栈里面有好几个custom_argvars文件,用哪一个?我一个project添加了后,其它的project为什么也自动就有了?

    2,CC2630有两个内核,一个M3,一个M0,最新的协议栈也是分成两个部分,APP和z-stack。APP和Z-stack是分别运行于两个不同的内核么?OSAL和TI-RTOS又是什么关系?

  • 状元 58556 points

    回复 Aries Lord:

    那可能是你的IAR第一次添加这个环境变量的缘故。

    2,M3是主MCU的,M0只是负责RF 射频部分,包括调制解调,校验等等。

    协议栈程序分为两部分,一部分是Application Stack, 另外一部分是Core Stack,这两部分都在M3中运行,放在同一个Flash,不同的地址上。

    TI-RTOS是整个协议栈的操作系统,然后Application Stack 和 Core Stack只是两个RTOS上的任务,那么Core stack这个任务还是用了OASL操作系统。

    具体参考协议栈安装目录下的文档

    另外具体问题,可以单独发帖

  • 进士 7136 points

    回复 VV:

    Game changer~~

    If my reply answers your question, please click on Verify Answer.Thanks

    Best Regards,

    SZ

  • 回复 VV:

    照做以后接着出现了这个问题:

    Error while running "c:\ti\xdctools_3_30_06_67_core/xs" --xdcpath="C:\ti\tirtos_simplelink_2_11_01_09\packages;C:\ti\tirtos_simplelink_2_11_01_09\products\
    bios_6_41_02_41\packages;C:\ti\tirtos_simplelink_2_11_01_09\products\cc26xxware_2_20_06_14829\inc;C:\ti\tirtos_simplelink_2_11_01_09\products\
    cc26xxware_2_20_06_14829\driverlib;C:\ti\tirtos_simplelink_2_11_01_09\products\cc26xxware_2_20_06_14829" iar.tools.configuro -c "C:\Program Files\IAR Systems\
    Embedded Workbench 7.0_0\arm" --cc "C:\Program Files\IAR Systems\Embedded Workbench 7.0_0\arm\bin\iccarm.exe" --device "CC2650F128" --compileOptions 
    "-D ZSTACK_MANUAL_START -D ZCL_READ -D ZCL_WRITE -D ZCL_BASIC -D ZCL_ON_OFF -D ZCL_IDENTIFY -D ZCL_EZMODE -D xZCL_GROUPS -D 
    xZCL_SCENES -D ZCL_STANDALONE -D ZG_SECURE_ENABLED -D ewarm -D USE_ICALL -D HEAPMGR_SIZE=4096 -D 
    ICALL_HOOK_ABORT_FUNC=halAssertHandler -D xdc_runtime_Log_DISABLE_ALL -D xdc_runtime_Assert_DISABLE_ALL -D MODULE_CC26XX_7X7 -D 
    TI_DRIVERS_LCD_INCLUDED --diag_suppress Pa050 -o C:\ti\simplelink\zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\
    SmartRF06\Obj\ --debug --endian=little --cpu=Cortex-M3 -f C:\ti\simplelink\zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\
    configPkg\compiler.opt.defs -f C:\ti\simplelink\zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\..\Core\Thread\CC26xx\
    Config\coreEndDevice.cfg -e --fpu=None --dlib_config \"C:\Program Files\IAR Systems\Embedded Workbench 7.0_0\arm\INC\c\DLib_Config_Normal.h\" -I C:\ti\
    simplelink\zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\.\ -I C:\ti\simplelink\zstack_home_1_02_02_42930\Projects\
    zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\Source\ -I C:\ti\simplelink\zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\
    CC26xx\..\..\..\common\CC26xx\ -I C:\ti\simplelink\zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\..\common\CC26xx\
    appport\ -I C:\ti\simplelink\zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\..\common\CC26xx\SmartRF06\ -I C:\ti\
    simplelink\zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\..\..\..\Components\applib\heap\ -I C:\ti\simplelink\
    zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\..\..\..\Components\mac\include\cc26xx\ -I C:\ti\simplelink\
    zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\..\..\..\Components\hal\include\ -I C:\ti\simplelink\
    zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\..\..\..\Components\hal\target\_common\cc26xx\ -I C:\ti\simplelink\
    zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\..\..\..\Components\hal\target\CC2650\rom\ -I C:\ti\simplelink\
    zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\..\..\..\Components\hal\target\CC2650TIRTOS\ -I C:\ti\simplelink\
    zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\..\..\..\Components\icall\include\ -I C:\ti\simplelink\
    zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\..\..\..\Components\osal\include\ -I C:\ti\simplelink\
    zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\..\..\..\Components\services\nv\ -I C:\ti\simplelink\
    zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\..\..\..\Components\services\nv\cc26xx\ -I C:\ti\simplelink\
    zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\..\..\..\Components\services\saddr\ -I C:\ti\simplelink\
    zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\..\..\..\Components\stack\icall\ -I C:\ti\simplelink\
    zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\..\..\..\Components\stack\icall\client\ -I C:\ti\simplelink\
    zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\..\..\..\Components\stack\zcl\ -I C:\ti\tirtos_simplelink_2_11_01_09\
    products\cc26xxware_2_20_06_14829/\ -I C:\ti\tirtos_simplelink_2_11_01_09\products\cc26xxware_2_20_06_14829/inc\ -I C:\ti\tirtos_simplelink_2_11_01_09\products\
    cc26xxware_2_20_06_14829/driverlib\ -Ohz" --linkOptions "-o C:\ti\simplelink\zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\
    SmartRF06\Exe\SampleSwitch.out --config_def CC2650=1 --config_def USE_SYSBIOS_IN_ROM=1 --map C:\ti\simplelink\zstack_home_1_02_02_42930\Projects\
    zstack\HomeAutomation\SampleSwitch\CC26xx\SmartRF06\List\SampleSwitch.map --config C:\ti\simplelink\zstack_home_1_02_02_42930\Projects\zstack\
    HomeAutomation\SampleSwitch\CC26xx\cc26xx_app.icf --keep __vector_table -f C:\ti\simplelink\zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\
    SampleSwitch\CC26xx\configPkg\linker.cmd -f C:\ti\simplelink\zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\..\Core\
    Thread\CC26xx\Config\coreEndDevice.xcl --semihosting C:\ti\tirtos_simplelink_2_11_01_09\products\cc26xxware_2_20_06_14829/driverlib/bin/iar/driverlib.lib C:\ti\
    simplelink\zstack_home_1_02_02_42930\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\..\..\..\..\..\Projects\common\TIMAC_ROM_Release\03282014\
    timac_rom_PATCH.symbols --entry __iar_program_start --vfe" --profile release --projFile "C:\ti\simplelink\zstack_home_1_02_02_42930\Projects\zstack\
    HomeAutomation\SampleSwitch\CC26xx\SampleSwitch.ewp"

    请问怎样解决

  • 状元 58556 points

    回复 shuming ye:

    把协议栈卸载了,重新安装下,一定要装到默认路径下。

    在第一次编译application的时候,需要等一段时间,不要终止点。之后编译就会快点

  • 回复 VV:

    卸载了协议栈,重新装了一遍再编译还是有那个错误