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.

LAUNCHXL-CC1312R1: Failed to install Python intelhex-2.1 for OAD image generation

Part Number: LAUNCHXL-CC1312R1

Hi, 

I am working on installing Python intelhex to generate OAD image.

Windows 64bit, already finish installing Python 2.7.1, Python crcmod-1.7, but always failed when install Python intelhex-2.1.

As you see in below picture, it has pip but failed to run "pip install intelhex". Python 2.7 is end of life on Jan 2020.

Could I use Python 3>=3.4 version because pip is already installed? Or how to resolve this problem to use Python 2.7?

I have tried many different Python 2.7.x version like Python 2.7.1,  2.7.18 and 2.7.9.

  • Add below in post-build step.
    ${COM_TI_SIMPLELINK_CC13X2_SDK_INSTALL_DIR}/tools/common/oad/oad_image_tool --verbose ccs ${PROJECT_LOC} 7 -hex1 ${ConfigName}/${ProjName}.hex -o ${ConfigName}/${ProjName}

    Compile error is:

    Finished building target: "rfWsnNodeExtFlashOadClient_CC1312R1_LAUNCHXL_tirtos_ccs.out"

    C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armobjcopy -O ihex rfWsnNodeExtFlashOadClient_CC1312R1_LAUNCHXL_tirtos_ccs.out rfWsnNodeExtFlashOadClient_CC1312R1_LAUNCHXL_tirtos_ccs.hex
    /tools/common/oad/oad_image_tool --verbose ccs C:/Users/name/workspace_v10/rfWsnNodeExtFlashOadClient_CC1312R1_LAUNCHXL_tirtos_ccs 7 -hex1 Debug/rfWsnNodeExtFlashOadClient_CC1312R1_LAUNCHXL_tirtos_ccs.hex -o Debug/rfWsnNodeExtFlashOadClient_CC1312R1_LAUNCHXL_tirtos_ccs
    makefile:197: recipe for target 'post-build' failed
    'ommon' is not recognized as an internal or external command,
    operable program or batch file.
    gmake[2]: [post-build] Error 1 (ignored)

  • Hi,

    Any suggestion about the compiling error?

    Should I have to use exactly Python 2.7.1 version or some high version Python?

  • Hi Yu,

    Sorry for the delayed answer. 

    Yes you can probably use python 3.4. 

    It does alos look like you have a spelling error somewhere. In you log I can see the following error: 

    'ommon' is not recognized as an internal or external command,

    This should probably be Common, not ommon.