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.

CC2640r2 off-chip OAD版本下载后测试没有广播问题

hi RT

我的编译环境如下:

协议栈使用:ble_sdk_2_02_01_18

BLE SDK使用:simplelink_cc2640r2_sdk_1_40_00_45

编译环境:Code Composer Studio 7.2.0

测试硬件:官方 LAUNCHXL-CC2640R2 开发板

蓝牙测试demo:simple_peripheral_cc2640r2lp_oad_offchip_app (BLE4.2协议)

成功编译好所有工程,bim_oad_offchip_cc2640r2lp_app、simple_peripheral_cc2640r2lp_oad_offchip_app、simple_peripheral_cc2640r2lp_oad_offchip_stack

使用下载工具下载,如下:

问题1、三个文件下载后测试板子没有广播;

问题2:OAD(offchip)多文件下载是不是需要做下设置;

问题3:多次编译的simple_peripheral_cc2640r2lp_oad_offchip_app会有下面错误:

(查找在确认ble_user_config.h头文件中有定义)

发现CCS中再一次调试下载simple_peripheral_cc2640r2lp_oad_offchip_app_FlashROM,运行后蓝牙广播出现。

  • 您可以参考 http://dev.ti.com/tirex/content/simplelink_cc2640r2_sdk_1_40_00_45/docs/blestack/ble_user_guide/html/oad-ble-stack-3.x/oad_offchip.html#using-ccs

    给出了详细的步骤,您可以参考一下

  • Susan Yang  感谢你的回复

    Susan Yang 说:

    您可以参考 http://dev.ti.com/tirex/content/simplelink_cc2640r2_sdk_1_40_00_45/docs/blestack/ble_user_guide/html/oad-ble-stack-3.x/oad_offchip.html#using-ccs

    给出了详细的步骤,您可以参考一下


    按资料顺序加载后开发板可以正常广播,如下:

    1. Build and load the BIM project onto the CC2640R2 Launchpad

    2. Build and load the simple_peripheral_cc2640r2lp_stack_oad_offchip project onto the CC2640R2 Launchpad

    3. Build the and load the simple_peripheral_cc2640r2lp_app_oad_offchip project

    产线下载使用Flash Programmer 2 , 先用这个工具下载多文件,做了各种尝试下载后开发板没法没法广播。
  • 问题解决了,Flash Programmer 2追加下载simple_peripheral_cc2640r2lp_oad_offchip_app_FlashROM_oad.bin文件可以正常广播了。