This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] LAUNCHXL-CC2640R2:在 IAR Workbench 中从 CC2640R2 SDK 1.30构建简单外设时出错?

Guru**** 2589300 points
Other Parts Discussed in Thread: CC2650, LAUNCHXL-CC2650, LAUNCHXL-CC2640R2, SYSBIOS, LAUNCHXL-CC1350

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/588481/launchxl-cc2640r2-errors-building-simple-peripheral-from-cc2640r2-sdk-1-30-at-iar-workbench

器件型号:LAUNCHXL-CC2640R2
主题中讨论的其他器件:CC2650LAUNCHXL-CC2650SYSBIOSLAUNCHXL-CC1350

您好!

  我在 IAR 工作平台上从 CC2640R2 SDK 1.30构建简单外设时遇到以下所有错误。 如何解决这些问题。

加载 simple_peripheral IAR Workbench 工作区时出错:

生成堆栈项目错误:

ERROR[Li005]:
运行链接器时没有"main"的定义[引用自 cmain.o (rt7M_tL.a)]错误 

生成应用程序项目错误:

编译配置:cc2640r2lp_app - FlashROM
正在更新编译树...

已删除1个文件。
正在更新生成树...
对于"CC26XX.c
gatt_user_config.c
board.c
ccfg_app_ble.c
devinfoservice.c
gatt_uid.c
eccromCC26XX.c
gattservapp_util.c
iCall_api_cc2600.c
iCall_user_config.c

gatt_rom_init_ram_ram_ram_event_ram_ram_event_ram_event_ram_event_ram_event_init_ram_ram_event_ram_event_init_ram_event_init_init_ram_ram_event_init_ram_event_init_init_r2_r_r_r_r_init_ram_init_init_ram_en_en_en_en_en_en_en_init_en_init_init_init_en_en_init_init_en_init_init_ram_en_en_init_en_init_init_en_en_init_ram_en_en_init_en_init_init_pruel_en_init_en_en_init_init_r










"ti_sysbios_kn_Task_Params__init_s"的定义[引用自 C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\examples\rtos\CC2640R2_LAUNCHXL_blestack\simple_peripheral\ti_rtos\ti_c2640r2\examples\ccs_rom_ram_ram_ram_en_event\ti_ram_ram_en_event\ti_ram_ram_en_en_event\ti_ram_event\simple_ram_ram_en_en_en_en_event\texamples\cmware\ti_ram_ram_ram_ram_en_ram_en_en_event\ti_ram_event\ti_ram_en_event\ti_ram_event\ti_event\simple_en_ram_ram_en_event\texamples\cmware\ti_ram_ram_ram_ram_en_en_en_en_event\ti_en_en_en_en_or








没有"ti_sysbios_kn_Queue_get_e_e"的定义[引用自 C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\examples\rtos\CC2640R2_LAUNCHXL_blestack\simple_peripheral\tos\ti\FlashROM\ti_ram_rom\CC2640r20_examples\cm2_rtos\ti_rtos\CC2640r20_r20_examples\cmc\ti_rtos\ti_r20_r20_rtos\ti_r1005_rtos\ti_en_r_r_r_examples\cmware\texamples\ccs_r40r40r100_r_r_rtos\texamples\c64_pru_r100_r_r_r_r_r_r_r_r_r1005\texamples\cmware\ti_rtos\ti_r_r_r_r_r_r_r_r1005_






"Display_doClearlines"的定义[引用自 C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\ti_cc2640r2\exclus\ti_ram_ram_clus\tine_rom\texclus\ti_ram_ram_ram_ram_event\ti_ram_ram_event\ti_ram_ram_ram_event\tine_blat_ram_ram_event\tine_ram_event\tine_ram_ram_ram_event_event_event_event_event_or_event_or_or_event\texamples\cmware\tisor_ram_ram_ram_or_or_or_event\ti_or_event\ti_or_or_event\t1_en_ram_or_event_or_or_event\texamples\cmware\texamples\ccs_cl_cl_cl_cl_cl_







"ti_sysbios_kn_event_post__e"的定义[引用自 C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tos\ti\Flash\app\FlashROM\ti_clrom\exclink_rtos\ti_rtc2640r20_clink_clock_r2\i_clock_rtos\ti_clock_ip_ine_rtos\ti_rtos\ti_rtc1005\ti_rtc\ti_rtc\ti_r40r1005_cl_r100_r_r_r100_r_rtos\exclock_rtos\ti_cl_r10000_rtc\ti_rtc\inu_r100_r_r_r_r_r_r10000_clock_rtos\ti_rtc\ti_clock_rtc\ti_r10000_rtc\ti_






"ti_sysbios_clock_setTimeout___e"没有定义[引用自 C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\examples\rtos\CC2640R2_LAUNCHXL_blestack\simple_peripheral\tirc\ti\c\xrm\exc\ti_rom\c2640r20_clin\excl_rom\tos\ti_ram_ram_ram_ram_ram_init_ram_ram_ram_init\ti_ram_ram_ram_ram_init\ti_ram_ram_init_ram_init_ram_init_cl_cl_ram_init_ram_init_ccs_ram_ram_inition\ti_ram_ram_ram_init_ram_ram_init_ram_init_pru_init\ti_ram_cl_ram_pru_init_ram_ram_init_ram_init_pru_init\ti_ram_cl_cl_init_ram_cl_cl_init_init_ram







没有针对"Power_releaseConstraint"的定义[引用自 C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tos\tirtos\c\exc\ti_rtos\ble400056\from_examples\clcs\ti_en\ti_r40r1005\ti_rom_or_examples\ccs_en\ti_r40r1005\ti_or_en\ti_en\ti_en\ti_en\ti_r40rpru_en\ti_en\ti_enu_enu_enu\ti_r40rpru\ti_enu\ti_enu\ti_enu\ti_rom_enu\ti_enu\ti_enu\ti_r40rpru\pru\ti_enu_enu\ti_\cmware\pru\ti_enu\ti_






"加密 CC26XX_open"的定义[参考自 C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tos\IAR\app\FlashRO\Obj_user_config_rtos\CC264000_init\ble_ram_r1002\tirtos\c2640rink_examples\cmware\ti_rams\ccs_ram_lib_ram_init_rams\ccs_ram_init_rams\ccs_init_r40r_rams\ccs_init_init_ram_init_r_r_r_r_r_r_r_r_r40r1002\tinu_init_init_\ccs_rams\ccs_init_rams\ccs_init_init_rams\cc2640r_r_r_r_r_r_r_r_r_r_r_r40r100_init_init_init_












对于"CryptoCC26XX_loadKey"、没有定义[引用自 C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\ti\c2640r2\ram_examples\clos\c2640r2\ccs_ram_ram_ram_ram_en_ram_en_ram_ram_en_en_ram_en_en_en_ram_en_en_en_ram_en_en_ram_en_en_ram_en_en_en_en_en_ram_en_en_en_en_en_en_enpru\ic\ic\c2640r2\c2640r2\\cles\clos\ctru_ram_ram_en_ram_en_ram_en_ram_en_en_en_en_ram_en_en_en_en_en_en_en_en_en_en_en_en_en_en_




没有针对"eccrom_param_b"的定义[引用自 C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\examples\rtos\CC2640R2_LAUNCHXL_blestack\simple_peripheral\ti\c\capp\Flashrom\Obti\ECC2640r2\CC2640r20_examples\cm_ram_or_ram_or_ram_en\texamples\cm2640r_or_ram_ram_ram_or_en\texamples\cc2640r_or_ram_ram_ram_ram_or_ram_en\tirc2640r_ram_or_ram_en\texamples\ccs_or_or_or_ram_ram_en\texamples\cm2640r\net\texamples\c64_or_or_or_or_or_or_ram_ram_ram_pru_or_or_or_or_en\texamples\cm_pru_pr






没有"ti_sysbios_knkl_semaphore_pend__e"的定义[引用自 C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\examples\rtos\CC2640R2_LAUNCHXL_blestack\simple_peripheral\tirtos\ti\ap_cc2640r2\CC2640r20_rom\examples\cmc\ctrin_ram_ram_rom_ram_or_or_en_en\c2640r2\ctrinu_rom_or_ram_or_or_or_or_or_en_en\blem_en_examples\cm_or_c2640r2\blem_or_c2640r20_or_or_or_or_en\blu_or_examples\c64x_or_or_c\c\c1005.r20_or_or_or_or_or_or_c\c\blu_or_c\c\blu_rom_








"NIST_Curve_P256_A"的定义[参考自 C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\ti\c2640rine_examples\cccs\c2640r20_rtos\ble_r2\c2640r_rom_examples\cmos\c2640r_ccs_ram_ram_ram_ram_or_or_en_or_or_c2640r\net_or_or_c2640r\net_r\netr_r\netr\net_r_r\netr\netr_r\netr_r\net_r_r\netr\netr\netr\netr\n\ccs_r\net_r\net_r\net_r\net_r\net_r\netr\net_r\net_r\net_r\netr\netr\net_r\netor_r









"rf_open"的定义[引用自 C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\ti_rtos\ble\c2640r20_examples\clcs\ti_rtos\ti_r40r\netram_ram_ram_ram_ram_en\tos\texamples\cmcs_ram_en\tirtos\tos\ti_ram_en\tos\ti_ram_r40r100_remot\texamples\cr_en\tos\tirtos\tos\tos\tos\ti_r40r40r100_remot\texamples\cmcs_r100_r_r\net\tos\ti_remot\texamples\cr40r100_r_r\net\texamples\cr\net\tos\tos\tos\ti





没有"rf_runImmediaCmd"的定义[引用自 C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\examples\rtos\CC2640R2_LAUNCHXL_blestack\simple_peripheral\tirtos\tos\i\capp\FlashROM\ble_exc2640r01500_examples\tos\tos\tirc\tos_ram_ram_ram_ram_ram_ram_en_event\tos\texamples\c64_ram_ram_ram_ram_en_en_en_en_en_ram_en\tos\texamples\cmos\tirtos\tos\tos\c40r_ram_ram_ram_ram_ram_en_en_en_en_en_en_en_ram_event\tos\tos\tos\tos\texamples\cr40r_ram_ram_ram_en_en_en_en_en_en_en_






没有针对"rf_getCmdOP"的定义[引用自 C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\examples\rtos\cc2640R2_LAUNCHXL_blestack\simple_peripheral\tirtos\IAR\app\FlashROm\Obj\ble_user_config.o]运行时

错误
总数为74:错误总数为0

 

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您使用哪个 IAR 版本?
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Yikai、

    我使用 IAR Workbench 7.80.1.11873。

    -克尔
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我可以使用 IAR EWARM 7.80.2成功构建 simple_peripheral 示例。 您尝试构建哪个示例?
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Yikai、

    来自 CC2640R2 SDK 1.30的简单外设、位于"C:\ti\simplelink_cc2640r2_sdk_1_30_00_25\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\IAR"

    -克尔
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您可以在"配置自定义参数变量"上执行屏幕截图吗?
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Yikai、

       请参阅下面的。

    之前、我使用 CC2640R2 SDK 1.00中的简单外设、我只需导入 IAR 工作区、就可以构建应用程序和堆栈项目。  

    -克尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您的"配置自定义参数变量"看起来不错。 我在 CC2640R2 SDK 1.00和1.3中使用了7.80.2并可以构建 simple_peripheral 示例。 根据发行说明、示例由7.80.3构建、但我找不到下载此 IAR 版本的位置。 如果可能、我建议您下载最新的 IAR EWARM 8.11以再次进行测试。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Yikai、

    如果我重新安装 CC2640R2 SDK 1.30、也会发生相同的错误。 我将下载最新的 IAR WorBench 版本并查看是否仍然出现相同的错误。

    -克尔
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    尊敬的 Markel:

    实际上、我建议安装 IAR v 7.80.3。 这是 SDK v1.0.0和1.30.0的官方支持的 IAR 版本、其他版本的 IAR 可能不支持.EWP 中的相同选项、因此可能工作正常、也可能不工作。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    是否可以指定下载7.80.3的位置?
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Markel:

    我也面临同样的问题。  

    上图显示了-  

    我也会遇到相同的错误。 请帮我解决这个问题。

    用于 ARM 的 IAR 版本:7.40.38938

    示例程序: ble_example-ble_exampls-2.2

    示例程序从以下位置获取:  

    我正在等待您的回复。  

    请帮帮我。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Mano、

    该链接中的示例程序适用于 CC2650、而不是 CC2640R2。

    -克尔
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Markel Robregado:

    感谢您的宝贵答复。

    你是对的。 我使用不同的控制器和不同的示例代码。 但问题相同。 如果您说的是解决您的问题的解决方案。 我将以类似的方式尝试解决我的问题。

    请在这方面帮助我。?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    是否可以指定您正在测试 LAUNCHXL-CC2640R2或 LAUNCHXL-CC2650?
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Yikai、

    感谢您的回复。

    我仅使用 LAUNCHXL-CC2650。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您是否下载 BLE Stack v2.2.1并使用 IAR EWARM 7.70.2来构建其中的示例?
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Yikai、

    感谢您的回复。

    我使用的是相同的版本、

    我收到以下错误。

    正在更新生成树...
    执行预编译操作
    运行"C:\ti\xdctools_3_32_00_06_core/xs"-xdcpath="C:\ti_tirtos_cc13xx_cc26xx_2_20_01_08\products\tidrivers_cc13xx_cc26xx_2_20_01_10\时出错
    软件包;C:\ti_tirtos_cc13xx_cc26xx_2_20_01_08\products\BIOS_6_46_01_38\packages;C:\ti\simplelink\ble_sdk_2_02_01_18" IAR.tools.configuro -c "C:\Program
    文件(x86)\IAR Systems\Embedded Workbench 7.5\arm"--cc "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.5\arm\bin\iccarm.exe"--device
    "CC2650F128"--compileOptions "-D use_ICALL -D power_saving -D MAX_PDU_size=251 -D MAX_NUM_PDU=6 -D HEAPMGR_SIZE=0 -D
    xDisplay_disable_all -D xBOARD_DISPLAY_EXCLUDE_UART -D Board_DISPLAY_EXCLUDE_LCD -D ICALL_MAX_NUM_TES=3 -D
    iCall_MAX_NUM_ENTIES=6 -D XDC_RUNK_ASSERT_DISABLE_ALL -D XDC_RUNITY_LOG_DISABLE_ALL -D CC2650_LAUNCHXL -D CC26XX --diag_suppress
    Pa050 -o D:\Coding\TI_IAR_workbench\ble_examples-ble_examples-2.2\ble_examples-ble_examples-2.2\examples\cc2650lp\throughput _example_peripheral
    IAR\APP\FlashROM\Obj --debug --endian=little --cpu=Cortex-M3 -f C:\ti\simplelink\ble_sdk_2_02_01_18\src/config/build_components.opt -f D:\Coding\
    TI_IAR_workbench\ble_examples-ble_examples-ble_examples-2.2\examples\cc2650lp\throughput _example_peripheral \IAR\app\.\stack\
    build_config.op-f D:\Coding\TI_IAR_workbench\ble_examples-ble_examples-2.2\ble_examples-ble_examples-2.2\examples\cc2650lp\
    throughput _example_peripheral \IAR\app\..\config\configPkg\compiler.opt.defs -f D:\Coding\TI_IAR_workbench\ble_examples-ble_examples-2.2\
    ble_examples-ble_examples-2.2\examples\cc2650lp\through_example_peripheral\IAR\app\.\config\IAR_boundation.bdef -e --fpu=None --dlib_config \"C:\Program
    文件(x86)\IAR Systems\Embedded Workbench 7.5\arm\INC\c\DLib_Config_Normal.h\"-i C:\ti\simplelink\ble_sdk_2_02_01_18\
    src/examples/simple_peripheral/cc26xx/app\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src/controllers/ccs26xx/inc\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src/inc\-I C:\ti\
    simplelink\ble_sdk_2_02_01_18\src/common/cc26xx\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src/iCall/inc\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src\i-inc
    simplelink\ble_sdk_2_02_01_18\src/profiles/dev_info\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src/profiles/Roles -I C:\ti\simplelink\ble_sdk_2_02_01_18\
    src/profiles/roc26xx\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src/profiles/simple_profiles\-I C:\ti\simplelink\ble_sdk_2_02_01_18\
    src/profiles/simple_profile/cc26xx\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src/target\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src\compons/hal/src/inc\-i C:\ti\
    simplelink\ble_sdk_2_02_01_18\src\componits/hal/src/target/_common\-i C:\ti\simplelink\ble_sdk_2_02_01_18\src\componits/hal/src/target/_common/cc26xx\
    i C:\ti\simplelink\ble_sdk_2_02_01_18\src\compons/hal/src/target/cc2650/rom\-i C:\ti\simplelink\ble_sdk_2_02_01_18\src\compons/heapmgr\-i C:\ti\
    simplelink\ble_sdk_2_02_01_18\src\components /iCall/src/inc\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src\components /osal/src/ inc\-I C:\ti\simplelink\
    BLE_SDK_2_02_01_18\src\componities/services/src/saddr\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src\componits/services/src/sdata\-I C:\ti\
    tirtos_cc13xx_cc26xx_2_20_01_08\products\cc26xxware_2_24_02_17393\-I C:\ti_tirtos_cc13xx_cc26xx_2_20_01_08\products\tidrivers_cc13xx_cc26xx_2_20_01_10\
    packages \-i C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/bios_6_46_01_38/packages/ti/sysbios/knl -I C:/ti\simplelink\
    BLE_SDK_2_02_01_18/src/examples/simple_peripheral/cc26xx/app\-I C:/ti\
    tirtos_cc13xx_cc26xx_2_20_01_08/products/BIOS_6_46_01_38/packages/ti/sysBIOS/系列/arm/m3\-i
    C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/bios_6_46_01_38/packages/ti/sysbios \-Ohz"-linkOptions "-o D:\Coding\TI_IAR_workbench\
    ble_examples-ble_examples-ble_examples-2.2\examples\cc2650lp\through_example_peripheral\IAR\app\FlashROM\EXE\cc2650lp_app.out
    --config \"C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.5\arm\config\linker\TexasInstruments\cc26x0f128.ICF "-entry __IAR_program_start --vFE"
    --profile 发布--projFile "D:\Coding\TI_IAR_workbench\ble_examples-ble_examples-2.2\ble_examples-ble_examples-2.2\examples\cc2650lp\
    throughput _example_peripheral\IAR\app\cc2650lp_app.ewp"

    错误总数:1.
    警告总数:0

    请帮帮我。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您能否从 IAR->Tools->Configure Custom Argument Variables 中访问自定义参数变量的屏幕截图?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Yikai、

    感谢您的回复、

    我在这里附加了变量的屏幕截图。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    尝试重新安装 BLE Stack v2.2.1以再次构建示例。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Yikai、

    感谢您的回复、

    我会立即通知您。

    和小要求- 请提供您的 Skype ID!!! 很容易和你讨论!!!

    我的 Skype ID 是:manoalex123@gmail.com

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我更喜欢帮助 E2E 论坛上的人员、因此其他人也会遇到类似的问题。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你好,黄晨

    我重新安装了 BLE Stack v2.2.1、并构建了应用程序。 但我仍然会得到相同的误差。

    执行预编译操作
    运行"C:\ti\xdctools_3_32_00_06_core/xs"-xdcpath="C:\ti_tirtos_cc13xx_cc26xx_2_20_01_08\products\tidrivers_cc13xx_cc26xx_2_20_01_10\时出错
    软件包;C:\ti_tirtos_cc13xx_cc26xx_2_20_01_08\products\BIOS_6_46_01_38\packages;C:\ti\simplelink\ble_sdk_2_02_01_18" IAR.tools.configuro -c "C:\Program
    文件(x86)\IAR Systems\Embedded Workbench 7.5\arm"--cc "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.5\arm\bin\iccarm.exe"--device
    "CC2650F128"--compileOptions "-D use_ICALL -D power_saving -D MAX_PDU_size=251 -D MAX_NUM_PDU=6 -D HEAPMGR_SIZE=0 -D
    xDisplay_disable_all -D xBOARD_DISPLAY_EXCLUDE_UART -D Board_DISPLAY_EXCLUDE_LCD -D ICALL_MAX_NUM_TES=3 -D
    iCall_MAX_NUM_ENTIES=6 -D XDC_RUNK_ASSERT_DISABLE_ALL -D XDC_RUNITY_LOG_DISABLE_ALL -D CC2650_LAUNCHXL -D CC26XX --diag_suppress
    Pa050 -o D:\Coding\TI_IAR_workbench\ble_examples-ble_examples-2.2\ble_examples-ble_examples-2.2\examples\cc2650lp\throughput _example_peripheral
    IAR\APP\FlashROM\Obj --debug --endian=little --cpu=Cortex-M3 -f C:\ti\simplelink\ble_sdk_2_02_01_18\src/config/build_components.opt -f D:\Coding\
    TI_IAR_workbench\ble_examples-ble_examples-ble_examples-2.2\examples\cc2650lp\throughput _example_peripheral \IAR\app\.\stack\
    build_config.op-f D:\Coding\TI_IAR_workbench\ble_examples-ble_examples-2.2\ble_examples-ble_examples-2.2\examples\cc2650lp\
    throughput _example_peripheral \IAR\app\..\config\configPkg\compiler.opt.defs -f D:\Coding\TI_IAR_workbench\ble_examples-ble_examples-2.2\
    ble_examples-ble_examples-2.2\examples\cc2650lp\through_example_peripheral\IAR\app\.\config\IAR_boundation.bdef -e --fpu=None --dlib_config \"C:\Program
    文件(x86)\IAR Systems\Embedded Workbench 7.5\arm\INC\c\DLib_Config_Normal.h\"-i C:\ti\simplelink\ble_sdk_2_02_01_18\
    src/examples/simple_peripheral/cc26xx/app\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src/controllers/ccs26xx/inc\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src/inc\-I C:\ti\
    simplelink\ble_sdk_2_02_01_18\src/common/cc26xx\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src/iCall/inc\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src\i-inc
    simplelink\ble_sdk_2_02_01_18\src/profiles/dev_info\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src/profiles/Roles -I C:\ti\simplelink\ble_sdk_2_02_01_18\
    src/profiles/roc26xx\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src/profiles/simple_profiles\-I C:\ti\simplelink\ble_sdk_2_02_01_18\
    src/profiles/simple_profile/cc26xx\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src/target\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src\compons/hal/src/inc\-i C:\ti\
    simplelink\ble_sdk_2_02_01_18\src\componits/hal/src/target/_common\-i C:\ti\simplelink\ble_sdk_2_02_01_18\src\componits/hal/src/target/_common/cc26xx\
    i C:\ti\simplelink\ble_sdk_2_02_01_18\src\compons/hal/src/target/cc2650/rom\-i C:\ti\simplelink\ble_sdk_2_02_01_18\src\compons/heapmgr\-i C:\ti\
    simplelink\ble_sdk_2_02_01_18\src\components /iCall/src/inc\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src\components /osal/src/ inc\-I C:\ti\simplelink\
    BLE_SDK_2_02_01_18\src\componities/services/src/saddr\-I C:\ti\simplelink\ble_sdk_2_02_01_18\src\componits/services/src/sdata\-I C:\ti\
    tirtos_cc13xx_cc26xx_2_20_01_08\products\cc26xxware_2_24_02_17393\-I C:\ti_tirtos_cc13xx_cc26xx_2_20_01_08\products\tidrivers_cc13xx_cc26xx_2_20_01_10\
    packages \-i C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/bios_6_46_01_38/packages/ti/sysbios/knl -I C:/ti\simplelink\
    BLE_SDK_2_02_01_18/src/examples/simple_peripheral/cc26xx/app\-I C:/ti\
    tirtos_cc13xx_cc26xx_2_20_01_08/products/BIOS_6_46_01_38/packages/ti/sysBIOS/系列/arm/m3\-i
    C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/bios_6_46_01_38/packages/ti/sysbios \-Ohz"-linkOptions "-o D:\Coding\TI_IAR_workbench\
    ble_examples-ble_examples-ble_examples-2.2\examples\cc2650lp\through_example_peripheral\IAR\app\FlashROM\EXE\cc2650lp_app.out
    --config \"C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.5\arm\config\linker\TexasInstruments\cc26x0f128.ICF "-entry __IAR_program_start --vFE"
    --profile 发布--projFile "D:\Coding\TI_IAR_workbench\ble_examples-ble_examples-2.2\ble_examples-ble_examples-2.2\examples\cc2650lp\
    throughput _example_peripheral\IAR\app\cc2650lp_app.ewp"

    错误总数:1.
    警告总数:0

    仅限上述误差。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您使用哪个 IAR 版本、您构建哪个 BLE 示例?
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Yikai、

    感谢您的回复、

    我正在使用、

    IAR 版本:7.702.11710

    我正在构建 BLE CC2650lp

    此处的示例代码链接是、

    这是示例代码和 IAR 版本。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Yikai、

    我正在等待您的回复、请...
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    好的、您正在使用 IAR 构建 throughput Example_peripheral、是的、我可以在 IAR 上看到同样的问题。 我现在没有解决方案、我建议您现在使用 CCS 而不是 IAR。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Yikai、

    我也在 CCS 中尝试过。

    在 CCS 中、我能够顺利编译。

    这里将介绍一些内容、

    我会向您解释清楚...这样您就可以轻松地为我提供支持。

    我的目标是...

    1.我有两个 cc1350lp 板。

    2.在这两块电路板之间-我需要使用 BLE 检查最大吞吐量。

    在这里、一个用作外设、另一个用作中央器件。 我正在为 cc1350lp 的中央和外设搜索示例代码。

    4.I 找不到 cc1350lp。  

    但我找到了 cc2650lp 的中央和外设示例代码(当我打开时-我能够看到"文本"-它还将支持 CC1350lp)

    因此、我决定将示例代码从 CC2650lp 板移植到 CC1350lp 板。

    和检查两个板之间的最大吞吐量。

     这是我的最终目标。

    现在来看看这个过程,直到现在我才做过!!!

    首先、我在 CCS 中构建了 cc2650lp 示例代码、它运行得很好、没有错误。  

    然后、我开始修改项目变量以支持 CC1350lp 板。 修改如下:  

    2.1.项目-->属性-->重新--> CCS 常规-->主要-->变体--> CC1350F128"
    2.2. 项目-->属性--> CCS 常规--> RTSC-->平台-->“ti.platforms.simplelink:CC1350F128"”
    2.3. 项目-->属性--> CCS 编译--> ARM 编译器-->包含选项-->“CC13XXWARE”
    2.4. project->Properties->CCS Build --> ARM 编译器-->高级选项-->预定义符号-->预定义名称-->“CC13XXWARE”
    2.5. project->Properties->CCS Build ->ARM Linker->File Search->"CC13XXWARE"

    3.当我尝试运行时-堆栈正在正确构建。 调试堆栈时- 启动文件中的起始光标将停止。

    4.当我尝试运行时-应用程序代码正在正确构建。 在调试应用程序时- 不会从主文件(main 函数)停止。

    5我阅读了几个 e2e.ti.com 论坛。 我尝试了最大的方法、但我找到了解决方案、所以我搬到了 IAR Workbench。  

    6.现在我已经了解了-也在 IAR Workbench 中-我有问题。

    7.如果我加载 CCS 编译器-同样的问题-在主循环中不停止、这里会出现问题。  

    现在可以帮助我解决这个 CCS 编译器问题(不会在主循环中停止)。

    我尝试过以下解决方案链接。

    1。

    2.

    3.

    4.

    我知道-这是一个非常重要的信息。

    请在这方面帮助我。

    1.如果可能-用于 cc1350lp 中央和外设的任何代码、以找到最大吞吐量。

    2.或解决该主循环问题。

    或者其他任何更好的解决方案方式。


    在过去的4周里,我完全被震惊了!!

    请在这方面帮助我。

    我正在等待您的回复。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我没有将 throughput、example_peripheral 移植到 LAUNCHXL-CC1350的经验、因此我无能为力。