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.

CC1312R: How to make use of OAD Image Tool to generate .bin file with correct OAD Image Header

Part Number: CC1312R

Hi,

CC1312R1, proprietary protocol, simplelink_cc13x2_26x2_sdk_4_30_00_54. CCS 10.1.1

How to use OAD Image Tool to generate .bin file with correct OAD Image Header?

According to the link here. Download python already, but don't know how to going on in next step to convert my application to the .bin file with OAD image header.

Is there a detail step by step introduction here? Thanks. 

https://dev.ti.com/tirex/explore/content/simplelink_cc13x2_26x2_sdk_4_30_00_54/docs/proprietary-rf/proprietary-rf-users-guide/oad/tools.html

  • Hi Yu, 

    If you are using the OAD Image Tool with the IDE, you don't have to worry about downloading python. The IDE will take care of this for you and create the OAD image.

    Thanks, 
    Elin

  • After install python, how to generate OAD image?

    Building the project to generate? Or add some command to application project?

  • Hi,

    How to run this command?

    python <SDK>/tools/easylink/oad/oad_write_bin.py /dev/ttyS28 <SDK_DIR>/examples/rtos/CC1352R1_LAUNCHXL/easylink

    My purpose is to generate a independent OAD image .bin file, update to internal flash by CC1312 via UART rather than example OAD with easylink method. 
    Then reset to invoke BIM jump to the new application B.
    But in the example, it runs python script and download it to external flash via UART.



  • Hi Yu, 

    Yu Yu said:
    independent OAD image .bin file

    What do you mean by independent OAD image? Regardless if you are using the OAD Image Tool with the IDE or standalone, the OAD image is based on the hex file that is generated by the IDE. So even if you are running it standalone, it's not independent of the rest of the project. So I would recommend you to use the OAD Image Tool with the IDE only. 

    Yu Yu said:
    But in the example, it runs python script and download it to external flash via UART.

    Which example? In the documentation, there is no mention of creating and loading the file with the same python command.

    https://dev.ti.com/tirex/explore/content/simplelink_cc13x2_26x2_sdk_4_30_00_54/docs/proprietary-rf/proprietary-rf-users-guide/oad/tools.html#oad-image-tool

    Thanks, 
    Elin