TI中文支持网
TI专业的中文技术问题咨询交流网站

CC2652R的開發板測OTA功能.

HI YK

最近用CC2652R的開發板在測OTA功能.

請教一下以zc_ota_server專案的話

TI的OTA_USER_GUIDE有提到要寫入以下腳本.

For IAR, the post-build actions are a bit different:
"$PROJ_DIR$\build.cmd" "$TOOLS_OAD_DIR$" "$PROJ_DIR$" "$TARGET_BPATH$" "$TOOLS_OAD_ZIGBEE_DIR$" "$TARGET_DIR$" "BEBE" "2652" "00000001"

這個腳本要怎麼加在BUILD ACESS的Post-Build command line的腳本???
因為我加進IAR後,COMPILER最後都報錯???

以下是zc_ota_server原本的腳本Post-Build command line

ielftool.exe –ihex –verbose "$TARGET_BPATH$.out" "$TARGET_BPATH$.hex"

但不管是加在後面:
Variable expansion failed for Post-Build command line. Offending text: "ielftool.exe –ihex –verbose "$TARGET_BPATH$.out" "$TARGET_BPATH$.hex" "$PROJ_DIR$\build.cmd" "$TOOLS_OAD_DIR$" "$PROJ_DIR$" "$TARGET_BPATH$""$TOOLS_OAD_ZIGBEE_DIR$" "$TARGET_DIR$" "BEBE""2652" "00000001""

還是替代掉原本的腳本腳本Post-Build command line
Variable expansion failed for Post-Build command line. Offending text: ""$PROJ_DIR$\build.cmd" "$TOOLS_OAD_DIR$" "$PROJ_DIR$" "$TARGET_BPATH$" "$TOOLS_OAD_ZIGBEE_DIR$" "$TARGET_DIR$" "BEBE" "2652" "00000001" "

好像都報錯:Variable expansion failed for Post-Build command line??

好像不能用,這個情況是??

Viki Shi:

请参考这边: blog.csdn.net/…/85231836

Hunter Wang:

回复 Viki Shi:

HI VIKI 所以這個錯誤Variable expansion failed for Post-Build command line??可以忽略掉??? 雖然它還是有產出OUT檔案跟HEX檔案,但這個網頁提到是說要燒錄BIN檔??? 這個BIN檔是要另外產生嗎?? 還是直接用FLASHPROGEMAMER 2燒HEX就可以??

謝謝.

Viki Shi:

回复 Hunter Wang:

你是按照上面操作依然出现此报错吗?请确认是否按照user guide的要求导入了 custom argvars :
dev.ti.com/…/ble5-quick-start.html

Hunter Wang:

回复 Viki Shi:

HI VIKI

"你是按照上面操作依然出现此报错吗?请确认是否按照user guide的要求导入了 custom argvars??"

這老早就加了……

赞(0)
未经允许不得转载:TI中文支持网 » CC2652R的開發板測OTA功能.
分享到: 更多 (0)