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.

CC2642R: OAD Image Tool

Part Number: CC2642R

Hello,

I am trying to perfom off-chip OAD on CC26x2 . I setted distrubitor and target and i am trying to convert hex file of simple_peripheral_oad_offchip project to binary by OAD image tool. I reached OAD image tool in SDK/tools/common/oad. but OAD image tool does not work . It is just blinking and closing one time. How should i use OAD image tool?

Regards,

  • Hello,

    You can refer to the simple_peripheral_oad_offchip Project Properties -> Build -> Steps -> Post-build steps for an example of how to use the OAD image tool:

    ${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/tools/common/oad/oad_image_tool --verbose ccs ${PROJECT_LOC} 7 -hex1 ${ConfigName}/${ProjName}.hex -k ${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/tools/common/oad/private.pem -o ${ConfigName}/${ProjName}_oad

    You can also enter oad_image_tool -h from your command prompt to get further options

    C:\ti\simplelink_cc13x2_26x2_sdk_4_40_00_44\tools\common\oad>oad_image_tool -h
    usage: oad_image_tool [-h] [-v] [-verbose] [-hex1 HEXPATH1] [-bdf BDFILEPATH]
                          [-hex2 [HEXPATH2]] [-k [KEYFILE]] -o OUTPUT
                          ProjType ProjDir BinaryType
    
    OAD Hex to Binary Converter version
    
    positional arguments:
      ProjType              Target project Type: (iar/ccs)
      ProjDir               Target project directory
      BinaryType            Persistent App = 0, Application = 1, Stack = 2,
                            Application + Stack Combined = 3, Application + Stack
                            Merged = 7
    
    optional arguments:
      -h, --help            show this help message and exit
      -v, --version         show program's version number and exit
      -verbose, --verbose
      -hex1 HEXPATH1, --HexPath1 HEXPATH1
                            First .hex file path (app/stack)
      -bdf BDFILEPATH, --bdFilePath BDFILEPATH
                            Boundary file path
      -hex2 [HEXPATH2], --HexPath2 [HEXPATH2]
                            Second .hex file name (app/stack)
      -k [KEYFILE], --keyFile [KEYFILE]
                            Provide the location of the file containing your
                            private key
      -o OUTPUT, --output OUTPUT
                            Path and filename of output file(s) without extension

    Regards,
    Ryan