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.

AM62D-Q1: AM62Dx mcu plus sdk missing dependency

Part Number: AM62D-Q1
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi experts,

I was following the instructions mentioned in mcu+ sdk github:https://github.com/TexasInstruments/mcupsdk-core-k3

But when I tried to build the makefiles 

make gen-buildfiles DEVICE=am62dx

node ./.project/project.js --device am62dx --target development --instrumentation disable
Generating build files for am62dx in development mode ...
node:internal/modules/cjs/loader:1137
  throw err;
  ^

Error: Cannot find module '../source/networking/enet/core/examples/enet_cpsw_est/.project/project.js'
Require stack:
- /home/a0505397/ti/mcu_plus_sdk/.project/genExampleFiles.js
- /home/a0505397/ti/mcu_plus_sdk/.project/common.js
- /home/a0505397/ti/mcu_plus_sdk/.project/project.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
    at Module._load (node:internal/modules/cjs/loader:975:27)
    at Module.require (node:internal/modules/cjs/loader:1225:19)
    at require (node:internal/modules/helpers:177:18)
    at Object.genExampleFilesDevice (/home/a0505397/ti/mcu_plus_sdk/.project/genExampleFiles.js:11:20)
    at Object.genBuildfiles (/home/a0505397/ti/mcu_plus_sdk/.project/common.js:79:34)
    at Object.<anonymous> (/home/a0505397/ti/mcu_plus_sdk/.project/project.js:46:16)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/a0505397/ti/mcu_plus_sdk/.project/genExampleFiles.js',
    '/home/a0505397/ti/mcu_plus_sdk/.project/common.js',
    '/home/a0505397/ti/mcu_plus_sdk/.project/project.js'
  ]
}

Node.js v18.19.1
make: *** [makefile:171: gen-buildfiles] Error 1

Or if I just tried to build the project via CCS, the sysconfig parser produced an error:

Both seems to be an issue with missing a networking component, could I've missed a dependency by chance?

Best,

Sen Wang

  • Hi Sen,

    I am able to replicate your issue. Looks like the enet dependency in the repo is missing. Please allow some time to revert back.

    Regards,

    Tushar

  • Hi Sen,

    Can you please share the output logs from the below command?

    repo forall -c "pwd;git branch -vv | cut -d ' ' -f 1-4"

    Regards,

    Tushar

  • My apologies for the delay, please see the output log below.

    0505397@ULA0505397:~/ti/mcupsdk_setup$ repo forall -c "pwd;git branch -vv | cut -d ' ' -f 1-4"
    /usr/bin/repo:681: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
      now = datetime.datetime.utcnow()
    
    ... A new version of repo (2.54) is available.
    ... New version is available at: /home/a0505397/ti/.repo/repo/repo
    ... The launcher is run from: /usr/bin/repo
    !!! The launcher is not writable.  Please talk to your sysadmin or distro
    !!! to get an update installed.
    
    /home/a0505397/ti/mcu_plus_sdk
    * dev efe0d64eb [origin/k3_next]
    /home/a0505397/ti/mcu_plus_sdk/source/drivers/device_manager/rm_pm_hal/rm_pm_hal_src
    * dev d2d501e rm_pm_hal:
    /home/a0505397/ti/mcu_plus_sdk/source/drivers/dmautils
    * dev 1c67f74 [origin/master]
    /home/a0505397/ti/mcu_plus_sdk/source/drivers/ospi/v0/ospi_tuning
    * dev 127a619 all:
    /home/a0505397/ti/mcu_plus_sdk/source/fs/filex/filex_src
    * dev 08d741c Delete
    /home/a0505397/ti/mcu_plus_sdk/source/fs/freertos_fat/FreeRTOS-FAT
    * dev d6a297d Readme.md:
    /home/a0505397/ti/mcu_plus_sdk/source/kernel/freertos/FreeRTOS-Kernel
    * dev dbf70559b [AUTO][RELEASE]:
    /home/a0505397/ti/mcu_plus_sdk/source/kernel/freertos/FreeRTOS-POSIX
    * dev 8bd58ae Readme.md:
    /home/a0505397/ti/mcu_plus_sdk/source/kernel/threadx/threadx_src
    * dev 07eac307 Merge
    /home/a0505397/ti/mcu_plus_sdk/source/safety_checkers
    * dev 610f38b J722S:
    /home/a0505397/ti/mcupsdk_setup
    * dev a2e24ab [origin/k3_main]

  • Looks like you have initialized the repo for AM62Ax device instead of AM62Dx. Please run the command below.

    repo init -u https://github.com/TexasInstruments/mcupsdk-manifests.git -m am62dx/dev.xml -b k3_main