TI中文支持网
TI专业的中文技术问题搜集分享网站

cc2640r2f off-chip OAD 没有生成bin文件

TI的工程师好!

我现在开发ble5.0蓝牙,使用simplelink_cc2640r2_sdk_1_40_00_45中的 simple_peripheral例程进行OAD,参照协议栈文档D:/ti/simplelink_cc2640r2_sdk_1_40_00_45/docs/ble5stack/ble_user_guide/html/oad/oad_offchip.html#add-off-chip-oad-to-an-existing-project中的步骤“

Add Off-chip OAD to an existing project

1.添加bim_oad_offchip工程

2.app工程中添加oad.c  、oad.h  、oad_target.h  、oad_target_external_flash.c

3.添加中间件  ExtFlash.c、ExtFlash.h

4.使用cc26xx_app_oad.cmd 链接命令

5.预定义添加FEATURE_OAD   HAL_IMAGE_E  

6.添加OAD_IMG_E=1

7.post-build添加

 ${SRC_BLE_DIR}/oad/oad_image_tool ${ProjName}.hex -t offchip -i app –imgVer 0 -ob ${ProjName}.bin -m 0x0000 -r :0x1e000

编译生成

ble5_bim_oad_offchip_cc2640r2lp_app.hex  和 ble5_simple_peripheral_cc2640r2lp_app.hex两个hex文件烧写到芯片能够正常运行,但是.bin文件没有,

部分错误信息如下:

<Linking>
error #10008-D: cannot find file "E:/zkbr/cc2640r2f_oad_test/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app_oad.cmd"
"configPkg/linker.cmd", line 696: warning #10096-D: specified address lies outside memory map
error #10264: DEFAULT memory range overlaps existing memory range RAM

undefined first referenced
symbol in file ——— —————-
heapEnd <whole-program> heapStart <whole-program>

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "ble5_simple_peripheral_cc2640r2lp_app_oad_offchip.out" not built

>> Compilation failure
makefile:195: recipe for target 'ble5_simple_peripheral_cc2640r2lp_app_oad_offchip.out' failed
gmake[1]: *** [ble5_simple_peripheral_cc2640r2lp_app_oad_offchip.out] Error 1
makefile:187: recipe for target 'all' failed
gmake: *** [all] Error 2

**** Build Finished ****

请问修改有没有问题?另外怎么生成OAD升级用的bin文件?有没有详细的文档,谢谢!

Viki Shi:

请参考这边的类似问题: e2echina.ti.com/…/135129

赞(0)
未经允许不得转载:TI中文支持网 » cc2640r2f off-chip OAD 没有生成bin文件
分享到: 更多 (0)