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.

CODECOMPOSER: Using CCS 20 with AM263x and SDK 9.0.0.35

Part Number: CODECOMPOSER

Tool/software:

Hi,

I'm trying to use CCS 20.0.1.4 with the Sitara AM263 launchpad, and I'm encountering an issue while running the SOC initialization script.

In CCS 12.5, I used the scripting console to initialize the SOC by running the following command in scripting console:

loadJSFile "path/to/sdk/tools/ccs_load/am263x/load_sbl.js"

This worked as expected. However, when I try the same command in CCS 20.0.1.4, I receive the following error: "loadFSFile is not defined"

By this documentation: https://software-dl.ti.com/ccs/esd/documents/users_guide_ccs_20.0.0/ccs_debug-scripting.html#running-a-script, 
I tried also run in a terminal: run.sh "path/to/sdk/tools/ccs_load/am263x/load_sbl.js" but this result in:

importPackage(Packages.com.ti.debug.engine.scripting)
^

ReferenceError: importPackage is not defined
    at Object.<anonymous> (/home/ocmdev/ti/mcu_plus_sdk_am263x_09_00_00_35/tools/ccs_load/am263x/load_sbl.js:161:1)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)

Node.js v18.16.0

Request for Help

  • Is there an updated method to run the SOC initialization script in CCS 20.0.1.4?
  • How should I address the "loadFSFile is not defined" error?
  • Are there any compatibility considerations between CCS versions that I should be aware of?

Thank you in advance for your assistance!

Best regards, Joseíto.