Hi
Customers are trying to write some PRU test program on LP-AM243x which use HS-FS device. It requires to set device in NO BOOT mode and use java script to load DMSC firmware so we can use CCS to connect to PRU cores in AM2434 device.
on GP device, we use load_dmsc.js in <SDK 8.5>/tools/ccs_load/am243x. We can see this javascript load sysfw into M3 core and run so that we can connect to PRU later.
js:> loadJSFile "/home/andre/ti/mcu_plus_sdk_am243x_08_05_00_24/tools/ccs_load/am243x/load_dmsc.js"
Connecting to DMSC_Cortex_M3_0!
Fill R5F ATCM memory...
Writing While(1) for R5F
Loading DMSC Firmware ... /home/andre/ti/mcu_plus_sdk_am243x_08_05_00_24/source/drivers/sciclient/soc/am64x_am243x/sysfw.bin
DMSC Firmware Load Done...
DMSC Firmware run starting now...
Connecting to MCU Cortex_R5_0!
Main Boot Mode is 120
Running the board configuration initialization from R5!
Happy Debugging!!
js:>
However, if we use load_dmsc_hsfs.js for AM2434 HS-FS device, we will get error message from console as below:
MAIN_Cortex_R5_0_0: Error: (Error -1141 @ 0x1FE) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.2.0.00002)
MAIN_Cortex_R5_0_0: Trouble Halting Target CPU: (Error -2062 @ 0x136) Unable to halt device. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.2.0.00002)
DMSC firmware doesn't run and we can't connect to PRU core.
I compare the script used for GP and HS-FS device. It looks like load_dmsc_hsfs.js doesn't load sysfw to DMSC.
Most customers already got new LP-AM263x which use HS-FS device. We need load_dmschsfs.js Can you please help to fix this issue?
Regards
Andre