This section describes CCS utility scripts that can optionally be used to make your development more productive.
load.js
script located at ${SDK_INSTALL_PATH}/tools/ccs_load/{soc}
is useful for loading and running applications across multiple CPUs in one step.
Search and modify below mentioned variables in the script file before loading. These are used to construct path to the example .out file when the example is built via makefiles. Alternatively, can you give absolute paths to the example .out of interest.
Variables | Description |
---|---|
${SDK_INSTALL_PATH}/tools/ccs_load/am263px/load.js | |
sdkPath | Points to the absolute path of the SDK. On Windows, make sure to use / as path separator. |
runAfterLoad | set to true or false , depending on if want to run the application after loading. |
examplePath | Relative example path from sdkPath above, e.g. examples/drivers/ipc/ipc_rpmsg_echo |
exampleName | Example name, e.g. ipc_rpmsg_echo |
os | OS name, nortos or freertos |
profile | Build profile to use, debug or release |
board | Board to use. e.g. am263px-cc |
CCS Tool Bar > View > Scripting Console
and do below, js:> loadJSFile "C:/ti/mcu_plus_sdk/tools/ccs_load/am263px/load.js"
C:/ti/mcu_plus_sdk
with the absolute path to where the SDK is installed.js:> loadJSFile "C:/ti/mcu_plus_sdk/tools/ccs_load/am263px/load.js" Connecting, halting, reseting ... [r5fss0-0] Loading ... C:/ti/mcu_plus_sdk/examples/drivers/ipc/ipc_rpmsg_echo/am263px-cc/r5fss0-0_freertos/ti-arm-clang/ipc_rpmsg_echo.debug.out [r5fss0-1] Loading ... C:/ti/mcu_plus_sdk/examples/drivers/ipc/ipc_rpmsg_echo/am263px-cc/r5fss0-1_nortos/ti-arm-clang/ipc_rpmsg_echo.debug.out [r5fss1-0] Loading ... C:/ti/mcu_plus_sdk/examples/drivers/ipc/ipc_rpmsg_echo/am263px-cc/r5fss1-0_nortos/ti-arm-clang/ipc_rpmsg_echo.debug.out [r5fss1-1] Loading ... C:/ti/mcu_plus_sdk/examples/drivers/ipc/ipc_rpmsg_echo/am263px-cc/r5fss1-1_nortos/ti-arm-clang/ipc_rpmsg_echo.debug.out [m4fss0-0] Skipping load, C:/ti/mcu_plus_sdk/examples/drivers/ipc/ipc_rpmsg_echo/am263px-cc/m4fss0-0_nortos/ti-arm-clang/ipc_rpmsg_echo.debug.out file NOT FOUND ... [r5fss0-1] Running ... [r5fss1-0] Running ... [r5fss1-1] Running ... [r5fss0-0] Running ... All DONE !!!
load.js
for detailed instructions