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.

AM62x MCU+ SDK 09.00.00 imports.mak file needs to be updated to match the current version of CCS

Other Parts Discussed in Thread: SYSCONFIG

I'm following the step by step guide https://dev.ti.com/tirex/explore/node?node=A__AD2nw6Uu4txAz2eqZdShBg__com.ti.MCU_PLUS_SDK_AM62X__sKXaSas__LATEST

I'm at the section Flash SOC Initialization Binary, it states to run 

gmake -sj4 all
. However when I do this, I get 
process_begin: CreateProcess(NULL, C:/ti/ccs1230/ccs/utils/cygwin/mkdir -p obj/am62x/ti-arm-clang/release/m4f/board/, ...) failed.
make (e=2): The system cannot find the file specified.
process_begin: CreateProcess(NULL, C:/ti/ccs1230/ccs/utils/cygwin/mkdir -p obj/am62x/ti-arm-clang/release/r5f/board/, ...) failed.
makefile.am62x.m4f.ti-arm-clang:124: recipe for target 'obj/am62x/ti-arm-clang/release/m4f/board/' failed
process_begin: CreateProcess(NULL, C:/ti/ccs1230/ccs/utils/cygwin/mkdir -p obj/am62x/ti-arm-clang/release/m4f/drivers/, ...) failed.
make (e=2): The system cannot find the file specified.
gmake[3]: *** [obj/am62x/ti-arm-clang/release/m4f/board/] Error 2
process_begin: CreateProcess(NULL, C:/ti/ccs1230/ccs/utils/cygwin/mkdir -p obj/am62x/ti-arm-clang/release/r5f/drivers/, ...) failed.
makefile.am62x.r5f.ti-arm-clang:130: recipe for target 'obj/am62x/ti-arm-clang/release/r5f/board/' failed
gmake[3]: *** [obj/am62x/ti-arm-clang/release/r5f/board/] Error 2
makefile.am62x:271: recipe for target 'board_m4f.ti-arm-clang' failed
make (e=2): The system cannot find the file specified.
gmake[2]: *** [board_m4f.ti-arm-clang] Error 2
makefile.am62x.m4f.ti-arm-clang:187: recipe for target 'obj/am62x/ti-arm-clang/release/m4f/drivers/' failed
gmake[2]: *** Waiting for unfinished jobs....
gmake[3]: *** [obj/am62x/ti-arm-clang/release/m4f/drivers/] Error 2
makefile.am62x:271: recipe for target 'board_r5f.ti-arm-clang' failed
gmake[2]: *** [board_r5f.ti-arm-clang] Error 2
makefile.am62x:274: recipe for target 'drivers_m4f.ti-arm-clang' failed
gmake[2]: *** [drivers_m4f.ti-arm-clang] Error 2
make (e=2): The system cannot find the file specified.
makefile.am62x.r5f.ti-arm-clang:224: recipe for target 'obj/am62x/ti-arm-clang/release/r5f/drivers/' failed
gmake[3]: *** [obj/am62x/ti-arm-clang/release/r5f/drivers/] Error 2
makefile.am62x:274: recipe for target 'drivers_r5f.ti-arm-clang' failed
gmake[2]: *** [drivers_r5f.ti-arm-clang] Error 2
makefile.am62x:7: recipe for target 'all' failed
gmake[1]: *** [all] Error 2
makefile:57: recipe for target 'all' failed
gmake: *** [all] Error 2
.

I've determined that the 'imports.mak' that's included in the SDK references ccs1230 2 times, which is an old version of CCS. So if you don't already have this version of CCS installed, then you will get this error. This either needs to be updated to match the latest version(1240), or add a note in the step by step guide.

Robert

  • Once I fixed that and reran

    gmake -sj4 all
    , I got this
    Generating SysConfig files ...
    process_begin: CreateProcess(NULL, C:/ti/sysconfig_1.16.1/nodejs/node C:/ti/sysconfig_1.16.1/dist/cli.js --product C:/ti/mcu_plus_sdk_am62x_09_00_00_19/.metadata/product.json --context r5fss0-0 --part Default --package ALW --output generated/ ../example.syscfg, ...) failed.
    make (e=2): The system cannot find the file specified.
    makefile:223: recipe for target 'syscfg' failed
    gmake[3]: *** [syscfg] Error 2
    makefile.am62x:2402: recipe for target 'sbl' failed
    gmake[2]: *** [sbl] Error 2
    makefile.am62x:7: recipe for target 'all' failed
    gmake[1]: *** [all] Error 2
    makefile:57: recipe for target 'all' failed
    gmake: *** [all] Error 2

    File 'imports.mak' is expecting the folder to be called 'sysconfig_1.16.1'. However when I download that from the step by step guide, it's named 'sysconfig_1_16_1'.

  • Hi Robert,

    Please note a certain SDK release is built and tested with specific versions of different tools. The following pages lists out the specific versions of these tools and the instructions to install them

    https://software-dl.ti.com/mcu-plus-sdk/esd/AM62X/09_00_00_19/exports/docs/api_guide_am62x/SDK_DOWNLOAD_PAGE.html

    https://software-dl.ti.com/mcu-plus-sdk/esd/AM62X/09_00_00_19/exports/docs/api_guide_am62x/CCS_SETUP_PAGE.html

    It is expected that these pages should be followed before EVM Setup page. As you may note, these pages suggests that MCU+ SDK v9.0 requires CCS v12.3 & Sysconfig 1.16.1. So, if the correct versions are installed, the SDK build works out of the box. However, if the installed versions are different then you will have to do the changes in the imports.mak file accordingly. I hope this clears the CCS version issue.

    About the Sysconfig tool naming, I have verifed that the Sysconfig v1.16.1 tool is named "sysconfig_1.16.1" on installation as shown in the below image.

    Maybe you can try reinstalling the Sysconfig tool and see if it has the correct naming.

    Regards,

    Prashant