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.

CC2650: ODA is stuck in cc2650 in ti Ble Device monitor 2.9.0

Part Number: CC2650
Other Parts Discussed in Thread: CC2640

While trying to update ODA as you can see in the screen shot attached below, its not successful even after waiting about 30 min as the as the program is still 0% loaded. I also confirm that the there was no interference with the device, it was connected for the entire period with no status change. I am using CCS editor.

  • Part Number: CC2650

    Tool/software: TI C/C++ Compiler

    HOw activate ODA in cc2650 using CCS please can send me the code. and the step I do not want to try the IAR or 2 cc2650. I just want to  do with the simple app

  • You can download and install BLE-STACK-2-2-3 and refer to sensortag example in it for BLE OAD example.

  • **** Build of configuration FlashOnly_OAD_ExtFlash for project simple_peripheral_cc2650lp_app ****

    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O

    Building file: "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c"
    Invoking: ARM Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl" --cmd_file="C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/../../iar/stack/../../../../../src/config/build_components.opt" --cmd_file="C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/../../iar/stack/build_config.opt" --cmd_file="C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/../../iar/stack/../../ccs/config/ccs_compiler_defines.bcfg" -mv7M3 --code_state=16 --abi=eabi -me -O4 --opt_for_speed=0 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/icall/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/roles/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/roles" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/dev_info" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/oad/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/simple_profile/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/simple_profile" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/heapmgr" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/controller/cc26xx/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target/_common" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/target" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target/_common/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/osal/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/services/src/sdata" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/services/src/saddr" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/icall/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/rom" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" -g --c99 --gcc --define=CC2650_LAUNCHXL --define=CC26XX --define=Display_DISABLE_ALL --define=FEATURE_OAD --define=GAPROLE_TASK_STACK_SIZE=540 --define=HAL_IMAGE_E --define=HEAPMGR_SIZE=0 --define=ICALL_MAX_NUM_ENTITIES=6 --define=ICALL_MAX_NUM_TASKS=3 --define=POWER_SAVING --define=USE_ICALL --define=xHEAPMGR_SIZE=0 --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --diag_warning=225 --diag_suppress=48 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="Application/simple_peripheral.d_raw" --obj_directory="Application" --cmd_file="configPkg/compiler.opt" "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c"
    "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/sdspi/SDSPITiva.c", line 228: warning #169-D: argument of type "SDSPIDataType *" is incompatible with parameter of type "uint32_t *"
    "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/sdspi/SDSPITiva.c", line 328: warning #169-D: argument of type "SDSPIDataType *" is incompatible with parameter of type "uint32_t *"
    "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/sdspi/SDSPITiva.c", line 369: warning #169-D: argument of type "SDSPIDataType *" is incompatible with parameter of type "uint32_t *"
    "C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/ICM20948.h", line 194: warning #9-D: nested comment is not allowed
    "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c", line 700: warning #1238-D: excess initializers are ignored
    "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c", line 701: warning #1238-D: excess initializers are ignored
    "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c", line 1014: warning #179-D: variable "command" was declared but never referenced
    "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c", line 2321: warning #169-D: argument of type "int16_t *" is incompatible with parameter of type "uint16_t *"
    "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c", line 2910: warning #179-D: variable "angz" was declared but never referenced
    "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c", line 2919: warning #179-D: variable "z" was declared but never referenced
    "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c", line 3100: warning #169-D: argument of type "act *" is incompatible with parameter of type "const uint8_t *"
    "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c", line 3127: warning #169-D: argument of type "act *" is incompatible with parameter of type "uint8_t *"
    Finished building: "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c"

    Building target: "simple_peripheral_cc2650lp_app.out"
    Invoking: ARM Linker
    "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl" --cmd_file="C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/../../iar/stack/../../../../../src/config/build_components.opt" --cmd_file="C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/../../iar/stack/build_config.opt" --cmd_file="C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/../../iar/stack/../../ccs/config/ccs_compiler_defines.bcfg" -mv7M3 --code_state=16 --abi=eabi -me -O4 --opt_for_speed=0 -g --c99 --gcc --define=CC2650_LAUNCHXL --define=CC26XX --define=Display_DISABLE_ALL --define=FEATURE_OAD --define=GAPROLE_TASK_STACK_SIZE=540 --define=HAL_IMAGE_E --define=HEAPMGR_SIZE=0 --define=ICALL_MAX_NUM_ENTITIES=6 --define=ICALL_MAX_NUM_TASKS=3 --define=POWER_SAVING --define=USE_ICALL --define=xHEAPMGR_SIZE=0 --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --diag_warning=225 --diag_suppress=48 --diag_wrap=off --display_error_number --gen_func_subsections=on -z -m"simple_peripheral_cc2650lp_app.map" --stack_size=256 --heap_size=0 -i"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/lib" -i"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include" --reread_libs --diag_wrap=off --display_error_number --diag_suppress=10247-D --diag_suppress=16002-D --warn_sections --xml_link_info="simple_peripheral_cc2650lp_app_linkInfo.xml" --rom_model --unused_section_elimination=on --compress_dwarf=on -o "simple_peripheral_cc2650lp_app.out" "C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/config/ccs_linker_defines.cmd" "C:/ti/simplelink/ble_sdk_2_02_02_25/src/common/cc26xx/ccs/cc26xx_app_oad.cmd" "./GSM_GPS.obj" "./ICM20948.obj" "./step_algo.obj" "./Application/simple_peripheral.obj" "./Application/util.obj" "./Drivers/Display/Display.obj" "./Drivers/Display/DisplayDogm1286.obj" "./Drivers/Display/DisplayUart.obj" "./Drivers/ECC/ECCROMCC26XX.obj" "./Drivers/PIN/PINCC26XX.obj" "./Drivers/RF/RFCC26XX_singleMode.obj" "./Drivers/SPI/SPI.obj" "./Drivers/SPI/SPICC26XXDMA.obj" "./Drivers/TRNG/TRNGCC26XX.obj" "./Drivers/UART/UART.obj" "./Drivers/UART/UARTCC26XX.obj" "./Drivers/UDMA/UDMACC26XX.obj" "./ICall/icall.obj" "./ICall/icall_cc2650.obj" "./ICallBLE/ble_user_config.obj" "./ICallBLE/icall_api.obj" "./Middleware/extflash/ExtFlash.obj" "./PROFILES/devinfoservice.obj" "./PROFILES/gatt_uuid.obj" "./PROFILES/gattservapp_util.obj" "./PROFILES/oad.obj" "./PROFILES/oad_target_external_flash.obj" "./PROFILES/peripheral.obj" "./PROFILES/simple_gatt_profile.obj" "./Startup/board.obj" "./Startup/ccfg_app_ble.obj" "./Startup/main.obj" -l"configPkg/linker.cmd" -llibc.a -l"C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272/driverlib/bin/ccs/driverlib.lib" -l"C:/ti/simplelink/ble_sdk_2_02_02_25/src/rom/common_rom_releases/03282014/common_rom.symbols"
    <Linking>
    Finished building target: "simple_peripheral_cc2650lp_app.out"

    Building files: "simple_peripheral_cc2650lp_app.out"
    Invoking: ARM Hex Utility
    "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armhex" --memwidth=8 --romwidth=8 --intel -o "simple_peripheral_cc2650lp_app.hex" "simple_peripheral_cc2650lp_app.out"
    Translating to Intel format...
    "simple_peripheral_cc2650lp_app.out" .imgHdr ==> .imgHdr
    "simple_peripheral_cc2650lp_app.out" .resetVecs ==> .resetVecs
    "simple_peripheral_cc2650lp_app.out" .text ==> .text
    "simple_peripheral_cc2650lp_app.out" .const ==> .const
    "simple_peripheral_cc2650lp_app.out" .ccfg ==> .ccfg
    "simple_peripheral_cc2650lp_app.out" .cinit ==> .cinit
    Finished building: "simple_peripheral_cc2650lp_app.out"

    C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armhex -order MS --memwidth=8 --romwidth=8 --intel -o simple_peripheral_cc2650lp_app.hex simple_peripheral_cc2650lp_app.out & C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/../../iar/stack/../../../../../tools/oad/oad_image_tool.exe C:/Users/pareshbhoi/farmet_2/simple_peripheral_cc2650lp_app/FlashOnly_OAD_ExtFlash/simple_peripheral_cc2650lp_app.hex -t offchip -i app --imgVer 0 -ob C:/Users/pareshbhoi/farmet_2/simple_peripheral_cc2650lp_app/FlashOnly_OAD_ExtFlash/simple_peripheral_cc2650lp_app_oad.bin -m 0x1000 --r 0x1000
    Translating to Intel format...
    "simple_peripheral_cc2650lp_app.out" .imgHdr ==> .imgHdr
    "simple_peripheral_cc2650lp_app.out" .resetVecs ==> .resetVecs
    "simple_peripheral_cc2650lp_app.out" .text ==> .text
    "simple_peripheral_cc2650lp_app.out" .const ==> .const
    "simple_peripheral_cc2650lp_app.out" .ccfg ==> .ccfg
    "simple_peripheral_cc2650lp_app.out" .cinit ==> .cinit
    makefile:229: recipe for target 'post-build' failed
    usage: oad_image_tool.exe [-h] [-t {onchip,offchip}]
    [-i {app,stack,np,production}] [-v IMGVER] [-o OUT]
    [--usrId USRID] [-ob [OUTBIN]] [-f FILL] [-m META]
    [-r RANGE] [-blksz BLOCKSIZE] [-q] [--version]
    [hexfile [hexfile ...]]
    oad_image_tool.exe: error: argument hexfile: can't open 'C:/Users/pareshbhoi/farmet_2/simple_peripheral_cc2650lp_app/FlashOnly_OAD_ExtFlash/simple_peripheral_cc2650lp_app.hex': [Errno 2] No such file or directory: 'C:/Users/pareshbhoi/farmet_2/simple_peripheral_cc2650lp_app/FlashOnly_OAD_ExtFlash/simple_peripheral_cc2650lp_app.hex'
    gmake[2]: [post-build] Error 2 (ignored)
    "C:/Python27/python2.exe" "C:/ti/simplelink/ble_sdk_2_02_02_25/tools/oad/oad_image_tool.py" "C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/FlashOnly_OAD_ExtFlash/simple_peripheral_cc2650lp_app.hex" "C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/../stack/FlashROM/simple_peripheral_cc2650lp_stack.hex" -t offchip -i app -m 0x1000 -v 1 -o "C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/simple_peripheral_cc2650lp_merge.hex"

    ******************************************************************************************
    Texas Instruments OAD Image Tool
    Version: 1.0
    ******************************************************************************************

    OAD Type: offchip
    Img Type: APP
    Input file(s): simple_peripheral_cc2650lp_app.hex, simple_peripheral_cc2650lp_stack.hex
    Output Hex file: simple_peripheral_cc2650lp_merge.hex
    Output Bin file: None

    Layout of concatenated input files, per flash sector, before applying --range.

    00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15
    ---- XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXxX XX.- XXXX
    ---- XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXX- XXXX
    ---- XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXX- XXXX
    ---- XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXX- XXXX
    16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31
    XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XxX- 0000 ----
    XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXX- 0000 ----
    XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXX- 0000 ----
    XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXx X000 ----

    Legend: `X` 100% full, `x` >50% full, `.` <50% full, `-` empty, `F` all 0xFF,
    `0` all 0x00.
    ******************************************************************************************
    Runtime Output:

    Placing metadata at 0x00001000

    The script has calculated the 16 Byte OAD Metadata vector below

    Bytes: | 0 - 2 | 2 - 4 | 4 - 6 | 6 - 8 | 8-12 | 12 - 14 | 15 | 16 |
    Desc : | CRC | CRC-SHDW | imgVer | imgLen | usrId | imgAddr | imgType | stat |
    ---------------------------------------------------------------------------------------
    Data : | 0x5E5C | 0xFFFF | 1 | 30720 | 45:45:45:45 | 400 | 01 | FF |
    ******************************************************************************************

    Writing to:
    C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/simple_peripheral_cc2650lp_merge.hex
    ******************************************************************************************
    Success
    ******************************************************************************************

    **** Build Finished ****[quote user="Paresh Bhoi"]

    Part Number: CC2650

    While trying to update ODA as you can see in the screen shot attached below, its not successful even after waiting about 30 min as the as the program is still 0% loaded. I also confirm that the there was no interference with the device, it was connected for the entire period with no status change. I am using CCS editor.

    hi this side Paresh, I have  once again built the program still it stuck in Ble device monitor I also attache all the  command  in CCS built con


    **** Build of configuration FlashOnly_OAD_ExtFlash for project simple_peripheral_cc2650lp_app ****

    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O

    Building file: "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c"
    Invoking: ARM Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl" --cmd_file="C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/../../iar/stack/../../../../../src/config/build_components.opt" --cmd_file="C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/../../iar/stack/build_config.opt" --cmd_file="C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/../../iar/stack/../../ccs/config/ccs_compiler_defines.bcfg" -mv7M3 --code_state=16 --abi=eabi -me -O4 --opt_for_speed=0 --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/icall/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/roles/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/roles" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/dev_info" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/oad/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/simple_profile/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/simple_profile" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/heapmgr" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/controller/cc26xx/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target/_common" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/target" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target/_common/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/osal/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/services/src/sdata" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/services/src/saddr" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/icall/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/rom" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" -g --c99 --gcc --define=CC2650_LAUNCHXL --define=CC26XX --define=Display_DISABLE_ALL --define=FEATURE_OAD --define=GAPROLE_TASK_STACK_SIZE=540 --define=HAL_IMAGE_E --define=HEAPMGR_SIZE=0 --define=ICALL_MAX_NUM_ENTITIES=6 --define=ICALL_MAX_NUM_TASKS=3 --define=POWER_SAVING --define=USE_ICALL --define=xHEAPMGR_SIZE=0 --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --diag_warning=225 --diag_suppress=48 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="Application/simple_peripheral.d_raw" --obj_directory="Application" --cmd_file="configPkg/compiler.opt" "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c"
    "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/sdspi/SDSPITiva.c", line 228: warning #169-D: argument of type "SDSPIDataType *" is incompatible with parameter of type "uint32_t *"
    "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/sdspi/SDSPITiva.c", line 328: warning #169-D: argument of type "SDSPIDataType *" is incompatible with parameter of type "uint32_t *"
    "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/sdspi/SDSPITiva.c", line 369: warning #169-D: argument of type "SDSPIDataType *" is incompatible with parameter of type "uint32_t *"
    "C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/ICM20948.h", line 194: warning #9-D: nested comment is not allowed
    "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c", line 700: warning #1238-D: excess initializers are ignored
    "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c", line 701: warning #1238-D: excess initializers are ignored
    "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c", line 1014: warning #179-D: variable "command" was declared but never referenced
    "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c", line 2321: warning #169-D: argument of type "int16_t *" is incompatible with parameter of type "uint16_t *"
    "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c", line 2910: warning #179-D: variable "angz" was declared but never referenced
    "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c", line 2919: warning #179-D: variable "z" was declared but never referenced
    "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c", line 3100: warning #169-D: argument of type "act *" is incompatible with parameter of type "const uint8_t *"
    "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c", line 3127: warning #169-D: argument of type "act *" is incompatible with parameter of type "uint8_t *"
    Finished building: "C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c"

    Building target: "simple_peripheral_cc2650lp_app.out"
    Invoking: ARM Linker
    "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl" --cmd_file="C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/../../iar/stack/../../../../../src/config/build_components.opt" --cmd_file="C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/../../iar/stack/build_config.opt" --cmd_file="C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/../../iar/stack/../../ccs/config/ccs_compiler_defines.bcfg" -mv7M3 --code_state=16 --abi=eabi -me -O4 --opt_for_speed=0 -g --c99 --gcc --define=CC2650_LAUNCHXL --define=CC26XX --define=Display_DISABLE_ALL --define=FEATURE_OAD --define=GAPROLE_TASK_STACK_SIZE=540 --define=HAL_IMAGE_E --define=HEAPMGR_SIZE=0 --define=ICALL_MAX_NUM_ENTITIES=6 --define=ICALL_MAX_NUM_TASKS=3 --define=POWER_SAVING --define=USE_ICALL --define=xHEAPMGR_SIZE=0 --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --diag_warning=225 --diag_suppress=48 --diag_wrap=off --display_error_number --gen_func_subsections=on -z -m"simple_peripheral_cc2650lp_app.map" --stack_size=256 --heap_size=0 -i"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/lib" -i"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include" --reread_libs --diag_wrap=off --display_error_number --diag_suppress=10247-D --diag_suppress=16002-D --warn_sections --xml_link_info="simple_peripheral_cc2650lp_app_linkInfo.xml" --rom_model --unused_section_elimination=on --compress_dwarf=on -o "simple_peripheral_cc2650lp_app.out" "C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/config/ccs_linker_defines.cmd" "C:/ti/simplelink/ble_sdk_2_02_02_25/src/common/cc26xx/ccs/cc26xx_app_oad.cmd" "./GSM_GPS.obj" "./ICM20948.obj" "./step_algo.obj" "./Application/simple_peripheral.obj" "./Application/util.obj" "./Drivers/Display/Display.obj" "./Drivers/Display/DisplayDogm1286.obj" "./Drivers/Display/DisplayUart.obj" "./Drivers/ECC/ECCROMCC26XX.obj" "./Drivers/PIN/PINCC26XX.obj" "./Drivers/RF/RFCC26XX_singleMode.obj" "./Drivers/SPI/SPI.obj" "./Drivers/SPI/SPICC26XXDMA.obj" "./Drivers/TRNG/TRNGCC26XX.obj" "./Drivers/UART/UART.obj" "./Drivers/UART/UARTCC26XX.obj" "./Drivers/UDMA/UDMACC26XX.obj" "./ICall/icall.obj" "./ICall/icall_cc2650.obj" "./ICallBLE/ble_user_config.obj" "./ICallBLE/icall_api.obj" "./Middleware/extflash/ExtFlash.obj" "./PROFILES/devinfoservice.obj" "./PROFILES/gatt_uuid.obj" "./PROFILES/gattservapp_util.obj" "./PROFILES/oad.obj" "./PROFILES/oad_target_external_flash.obj" "./PROFILES/peripheral.obj" "./PROFILES/simple_gatt_profile.obj" "./Startup/board.obj" "./Startup/ccfg_app_ble.obj" "./Startup/main.obj" -l"configPkg/linker.cmd" -llibc.a -l"C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272/driverlib/bin/ccs/driverlib.lib" -l"C:/ti/simplelink/ble_sdk_2_02_02_25/src/rom/common_rom_releases/03282014/common_rom.symbols"
    <Linking>
    Finished building target: "simple_peripheral_cc2650lp_app.out"

    Building files: "simple_peripheral_cc2650lp_app.out"
    Invoking: ARM Hex Utility
    "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armhex" --memwidth=8 --romwidth=8 --intel -o "simple_peripheral_cc2650lp_app.hex" "simple_peripheral_cc2650lp_app.out"
    Translating to Intel format...
    "simple_peripheral_cc2650lp_app.out" .imgHdr ==> .imgHdr
    "simple_peripheral_cc2650lp_app.out" .resetVecs ==> .resetVecs
    "simple_peripheral_cc2650lp_app.out" .text ==> .text
    "simple_peripheral_cc2650lp_app.out" .const ==> .const
    "simple_peripheral_cc2650lp_app.out" .ccfg ==> .ccfg
    "simple_peripheral_cc2650lp_app.out" .cinit ==> .cinit
    Finished building: "simple_peripheral_cc2650lp_app.out"

    C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armhex -order MS --memwidth=8 --romwidth=8 --intel -o simple_peripheral_cc2650lp_app.hex simple_peripheral_cc2650lp_app.out & C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/../../iar/stack/../../../../../tools/oad/oad_image_tool.exe C:/Users/pareshbhoi/farmet_2/simple_peripheral_cc2650lp_app/FlashOnly_OAD_ExtFlash/simple_peripheral_cc2650lp_app.hex -t offchip -i app --imgVer 0 -ob C:/Users/pareshbhoi/farmet_2/simple_peripheral_cc2650lp_app/FlashOnly_OAD_ExtFlash/simple_peripheral_cc2650lp_app_oad.bin -m 0x1000 --r 0x1000
    Translating to Intel format...
    "simple_peripheral_cc2650lp_app.out" .imgHdr ==> .imgHdr
    "simple_peripheral_cc2650lp_app.out" .resetVecs ==> .resetVecs
    "simple_peripheral_cc2650lp_app.out" .text ==> .text
    "simple_peripheral_cc2650lp_app.out" .const ==> .const
    "simple_peripheral_cc2650lp_app.out" .ccfg ==> .ccfg
    "simple_peripheral_cc2650lp_app.out" .cinit ==> .cinit
    makefile:229: recipe for target 'post-build' failed
    usage: oad_image_tool.exe [-h] [-t {onchip,offchip}]
    [-i {app,stack,np,production}] [-v IMGVER] [-o OUT]
    [--usrId USRID] [-ob [OUTBIN]] [-f FILL] [-m META]
    [-r RANGE] [-blksz BLOCKSIZE] [-q] [--version]
    [hexfile [hexfile ...]]
    oad_image_tool.exe: error: argument hexfile: can't open 'C:/Users/pareshbhoi/farmet_2/simple_peripheral_cc2650lp_app/FlashOnly_OAD_ExtFlash/simple_peripheral_cc2650lp_app.hex': [Errno 2] No such file or directory: 'C:/Users/pareshbhoi/farmet_2/simple_peripheral_cc2650lp_app/FlashOnly_OAD_ExtFlash/simple_peripheral_cc2650lp_app.hex'
    gmake[2]: [post-build] Error 2 (ignored)
    "C:/Python27/python2.exe" "C:/ti/simplelink/ble_sdk_2_02_02_25/tools/oad/oad_image_tool.py" "C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/FlashOnly_OAD_ExtFlash/simple_peripheral_cc2650lp_app.hex" "C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/../stack/FlashROM/simple_peripheral_cc2650lp_stack.hex" -t offchip -i app -m 0x1000 -v 1 -o "C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/simple_peripheral_cc2650lp_merge.hex"

    ******************************************************************************************
    Texas Instruments OAD Image Tool
    Version: 1.0
    ******************************************************************************************

    OAD Type: offchip
    Img Type: APP
    Input file(s): simple_peripheral_cc2650lp_app.hex, simple_peripheral_cc2650lp_stack.hex
    Output Hex file: simple_peripheral_cc2650lp_merge.hex
    Output Bin file: None

    Layout of concatenated input files, per flash sector, before applying --range.

    00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15
    ---- XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXxX XX.- XXXX
    ---- XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXX- XXXX
    ---- XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXX- XXXX
    ---- XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXX- XXXX
    16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31
    XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XxX- 0000 ----
    XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXX- 0000 ----
    XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXX- 0000 ----
    XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXx X000 ----

    Legend: `X` 100% full, `x` >50% full, `.` <50% full, `-` empty, `F` all 0xFF,
    `0` all 0x00.
    ******************************************************************************************
    Runtime Output:

    Placing metadata at 0x00001000

    The script has calculated the 16 Byte OAD Metadata vector below

    Bytes: | 0 - 2 | 2 - 4 | 4 - 6 | 6 - 8 | 8-12 | 12 - 14 | 15 | 16 |
    Desc : | CRC | CRC-SHDW | imgVer | imgLen | usrId | imgAddr | imgType | stat |
    ---------------------------------------------------------------------------------------
    Data : | 0x5E5C | 0xFFFF | 1 | 30720 | 45:45:45:45 | 400 | 01 | FF |
    ******************************************************************************************

    Writing to:
    C:/ti/simplelink/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs/app/simple_peripheral_cc2650lp_merge.hex
    ******************************************************************************************
    Success
    ******************************************************************************************

    **** Build Finished ****

    Please replay me

  • Hi Paresh,

    Please build a bin file and use this one in the OAD process.

    Also, please make sure you are following all the steps in the OAD User's Guide (located in C:\ti\simplelink\ble_sdk_2_02_01_18\docs\CC2640 BLE OAD User's Guide.pdf).

  • I followed all the step all the oda characteristic is shown but when i am trying to new. Hex fill it is stuck. One more  thing add when a power off and power on the lunchpad board it is not discovery .

  • I followed all the step all the oda characteristic is shown but when i am trying to new. Hex fill it is stuck. One more thing add when a power off and power on the lunchpad board it is not discovery .
  • Hi Paresh,

    Please read the OAD instructions carefully. You will need the bin file not a hex file.

  • Hi Paresh,

    Did you find a solution?
    I will close this thread due to inactivity.