This section describes CCS utility scripts that can optionally be used to make your development more productive.
load_sbl.js
script located at ${SDK_INSTALL_PATH}/tools/ccs_load/{soc}
is useful for loading SBL executables to R5 Core-0 in a single 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/am263x/load_sbl.js | |
sdkPath | Points to the absolute path of the SDK. On Windows, make sure to use / as path separator. |
sbl_elf_file | Points to the path of the sbl elf file. |
sbl_bin_file | Points to the path of the sbl bin file. |
View> Console > Scripting Console
and upload the JS file as shown below CCS Tool Bar > View > Scripting Console
and run the below command. js:> loadJSFile "C:/ti/mcu_plus_sdk/tools/ccs_load/am263x/load_sbl_eclipse.js"
[Cortex_R5_0] L2 Memory Init Done ... Going to issue reset: System Reset [Cortex_R5_0] Loading SBL Init Code ... [Cortex_R5_0] Copying data to R5F_VECS ... [Cortex_R5_0] Triggering ROM Eclipse ... [Cortex_R5_0] Loading SBL ... [Cortex_R5_0] Running SBL ... Happy Debugging!!
load_sbl.js
for detailed instructions