-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
SITSW-11098
-
11.02.00
-
12.00.00
-
am275x-evm
- Description: *
The sbl_jtag_uniflash example prints a CCS scripting command for the user to run in the CCS scripting console to load file data into the target's RAM buffer. The printed command uses the legacy DSS
loadRaw() syntax which is incompatible with CCS 12+ which uses a Node.js-based scripting environment instead of the legacy Rhino/Java DSS environment.
- Fix: *Update the printed command to use the new session.memory.loadBinary() API and include the ds.openSession() call so users get a complete, copy-paste ready snippet.
- Old output:*
loadRaw(0x72100020, 0, "/path/to/file.tiimage", 32, false);
- New output: *
var session = ds.openSession("WKUP_R5F_0");
session.memory.loadBinary(0x72100020n, "/path/to/file.tiimage");
Root cause: CCS 12+ scripting migrated from DSS (Rhino/Java) to Node.js. The loadRaw() global function no longer exists and must be replaced with session.memory.loadBinary(). The page, word size, and
swap bytes parameters were dropped as they are not applicable to ARM Cortex-R5.