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.
Hi
I follow the steps https://software-dl.ti.com/mcu-plus-sdk/esd/AM243X/08_01_00_14/exports/docs/industrial_protocol_docs/am243x/ethercat_slave/page_quickstart_installation.html
Step 6 i get an error. In my case
In the Scripting Console type :
loadJSFile "C:\ti\YOUR_SDK_VERSION_DIRECTORY\tools\ccs_load\am64x_am243x\load_dmsc.js"
js:> loadJSFile "C:\ti\YOUR_SDK_VERSION_DIRECTORY\tools\ccs_load\am64x_am243x\load_dmsc.js"
path does not contains a valid JavaScript file
js:> loadJSFile "C:\ti\mcu_plus_sdk_am243x_08_06_00_45\tools\ccs_load\am243x\load_dmsc.js"
Connecting to DMSC_Cortex_M3_0!
Error connecting to the target: emulation failure occurred (C:\ti\mcu_plus_sdk_am243x_08_06_00_45\tools\ccs_load\am243x\load_dmsc.js#132)
js:> loadJSFile "C:\ti\mcu_plus_sdk_am243x_08_06_00_45\tools\ccs_load\am243x\load_dmsc.js"
Connecting to DMSC_Cortex_M3_0!
Error connecting to the target: emulation failure occurred (C:\ti\mcu_plus_sdk_am243x_08_06_00_45\tools\ccs_load\am243x\load_dmsc.js#132)
js:> loadJSFile "C:\ti\mcu_plus_sdk_am243x_08_06_00_45\tools\ccs_load\am243x\load_dmsc.js"
Connecting to DMSC_Cortex_M3_0!
Error connecting to the target: emulation failure occurred (C:\ti\mcu_plus_sdk_am243x_08_06_00_45\tools\ccs_load\am243x\load_dmsc.js#132)
js:>
Hi Andreas,
It may be caused by the type of SOC you are using. If you are using the AM243x HS-FS device, then you should try the following:
loadJSFile "C:\ti\mcu_plus_sdk_am243x_08_06_00_45\tools\ccs_load\am243x\load_dmsc_hsfs.js"
Best regards,
Ming
Hi Andreas,
Which platform are you using? AM243x EVM or AM243x LP?
Which UART port your ICSS-PRU application is using? MAIN UART0, MAIN-UART1 or MCU-UART0?
Best regards,
Ming
Hi Andreas,
I tested the ethercat_slave_cia402_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang from the MCU+ SDK 08.06.00.45 with the load_dmsc_hsfs.js on AM243x LP (HS-FS device). Here is the display from UART. It looks normal to me.
You may want to try to flash the SBL_NULL into the QPSI flash of the AM243x LP to initialize the SoC, instead of using the load_dmsc_hsfs.js.
See the file:///C:/ti/mcu_plus_sdk_am243x_08_06_00_45/docs/api_guide_am243x/EVM_SETUP_PAGE.html#autotoc_md30 for details.
Best regards,
Ming