LP-AM263P: Uncaught ReferenceError: loadRaw is not defined

Part Number: LP-AM263P
Other Parts Discussed in Thread: UNIFLASH,

Tool/software:

I am trying to run the SBL JTAG Uniflash example from SDK mcu_plus_sdk_am263px_10_01_00_31

I see the console output on the LP-AM263P however when I try to run the CCS scripting command for loading the file I get 

"Uncaught ReferenceError: loadRaw is not defined" is there something else I should have loaded/enabled to find this function ?

Regards

Neil

  • Hi Neil,

    Thank you for the query!!

    Are you using CCS20x? In that case LoadRaw command might not work.
    Please try using the below commands as in the image below.

    1. const session=initScripting().openSession(".*")     ----> Needed to entered only once to open session
    2. session.memory.loadBinary(0x70040020, "C:/ti/mcu_plus_sdk_am261x_10_02_00_15/tools/boot/sbl_prebuilt/am261x-som/sbl_ospi.release.tiimage")
      1. Replace the above command with the address and image path present in the loadRaw command

    FYI, this issue will be resolved in the upcoming 11.0 SDK release (early next week), where the session command would be directly printed in the console (as steps)  instead of loadRaw commands.


    Thanks & Regards,
    Rijohn