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.

LP-AM243: Switching bootmode for MCU AM243x by using *.js file

Part Number: LP-AM243

Hi,

I'm using LP-AM243x, I tried switching UART mode and OSPI mode manually both are working fine.

Now I'm trying to Switch the bootmode by using *.js (change_boot_mode.js) in CCS Scripting console.

I tried writing various bootmode values in 0x78100000 location and executed the .*js.

from logs I can see that Bootmode is selected but after that I'm getting error mentioned below,

Getting log like this:

js:> loadJSFile ("C:/ti/mcu_plus_sdk_am243x_08_05_00_24/tools/ccs_load/am243x/change_boot_mode.js")
Connecting to MCU Cortex_R5_0!
Current Boot Mode is 120
Partition Unlocked..
OSPI Boot Mode Selected
Error writing memory: Errors during memory.writeData(): Address: 0x43018170 Error: 0x80000 (C:\ti\mcu_plus_sdk_am243x_08_05_00_24\tools\ccs_load\am243x\change_boot_mode.js#207)

  

Thanks in advance