Other Parts Discussed in Thread: BLE-STACK
Tool/software: TI-RTOS
Hi everyone,
I am following BLE stack user guide for Bluetooth 4.2 to make production off-chip image.
As documented in section Generating a Production Image for OAD
A production image is one that contains the app, stack, and BIM images combined into a single file.
However, i could not find proper documentation and examples that tells how to use oad_image_tool.exe.
Under the Generate production Off-Chip using CCS, the post build steps is given
${TOOLS_BLE_DIR}/oad/oad_image_tool ccs ${PROJECT_LOC} 1 FlashROM/${ProjName}_${ConfigName}.hex ${WORKSPACE_LOC}/simple_peripheral_cc2640r2lp_oad_offchip_stack/TOOLS/ccs_compiler_defines.bcfg ${WORKSPACE_LOC}/simple_peripheral_cc2640r2lp_oad_offchip_stack/FlashROM/simple_peripheral_cc2640r2lp_oad_offchip_stack_FlashROM.hex -o ${WORKSPACE_LOC}/simple_peripheral_cc2640r2lp_oad_offchip_app/FlashROM/${ProjName}_${ConfigName}_oad
Is there any order that i should follow while combining multiple hex files ?
Such as, combine bim and stack first, then combine the app and previously generated file.
To combine bim and merged hex file(app + stack); Which boundary file i should give ?
${TOOLS_BLE_DIR}/oad/oad_image_tool ccs ${PROJECT_LOC} 0
${WORKSPACE_LOC}/bim_oad_offchip_cc2640r2lp_app/FlashOnly/bim_oad_offchip_cc2640r2lp_app.hex
|||||||||||||||Boundary File Path|||||||||||||||||||
FlashROM/${ProjName}_${ConfigName}_oad_merged.hex -o ${WORKSPACE_LOC}/simple_peripheral_cc2640r2lp_oad_offchip_app/FlashROM/${ProjName}_${ConfigName}_multiple_combined
Is this post-build is correct ? Any help would be very appreciated.
How can i find full documentation of oad_image_tool.exe ?
I am currently using BLE SDK v1.40.
Thanks
Best regards