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.

CCS/PROCESSOR-SDK-DRA8X-TDA4X: CCS Debugger Initialization Error

Part Number: PROCESSOR-SDK-DRA8X-TDA4X

Tool/software: Code Composer Studio

I installed 

.

 

J721E_EVM.ccxml is present at /home/visteon-adas/ti/CCSTargetConfigurations/, I don’t know what System Setup Data is missing in the file and there is no *.cache file created

 

J3 USB is connected to the Linux machine and EVM is in “NO BOOT” Mode. Attached the error snapshot, launch and ccxml files.

/cfs-file/__key/communityserver-discussions-components-files/81/J721E_5F00_EVM_5F00_ccxml.zip

/cfs-file/__key/communityserver-discussions-components-files/81/launch.zip

  • Looks like some text is hidden behind the image, I will reiterate. 

    I installed PSDKRA and CCS on Linux machine(Ubuntu 14.04) and when I try to launch targetConfiguration as mentioned in ccs_setup_j721e.html file under section "5.5. Step 4: Load RTOS/baremetal application binaries thru CCS", I am getting the error as shown in the picture after executing load in Scripting Console

  • Hi Mahipal,

    This could be related to the workspace directory.
    Could you try a new workspace directory location? Choose a location where you have access to create files.


    Regards,
    Vishal

  • Hi Vishal,

    After installing the USB drivers using ~/ccs930/ccs/install_scripts/install_drivers.sh, Launching the Target configuration is successful but when I load launch.js file it's giving two errors for not finding files, attached the error snapshot

    1. /home/visteon-adas/ccs930/ccs/eclipse/home/visteon-adas/workspace/gac/ti_TexasInstruments/PSDKRA/psdkra/psdk_rtos_auto_j7_06_01_00_15/packages/ti/drv/sciclient/soc/V1/ti-sci-firmware-j721e-gp.bin

    Above path does not exist and I don't from where it's taking that path, as per the following from launch.js file, it should be different

    //PDK path. Edit this
    pdkPath = "/home/visteon-adas/workspace/gac/ti_TexasInstruments/PSDKRA/psdkra/psdk_rtos_auto_j7_06_01_00_15";

    //path to board config elf
    ccs_init_elf_file = pdkPath+"/packages/ti/drv/sciclient/tools/ccsLoadDmsc/j721e/sciclient_ccs_init_mcu1_0_release.xer5f";

    //path to sysfw bin
    sysfw_bin = pdkPath+"/packages/ti/drv/sciclient/soc/V1/ti-sci-firmware-j721e-gp.bin";

    2. /home/visteon-adas/workspace/gac/ti_TexasInstruments/PSDKRA/psdkra/psdk_rtos_auto_j7_06_01_00_15/pdk/packages/ti/drv/sciclient/tools/ccsLoadDmsc/j721e/launch.js#108

    It's looking for launch.js#108 which does not exist, only launch.js exists.

    Regards

    Mahipal

  • Hi Mahipal,

    If you have installed PSKDRA these files should be there.
    You need to edit the launch.js file to update the path to match your PC.

    Regards,
    Vishal

  • Hi vishal,

    Please look at the details carefully, I am not saying that launch.js file and ti-sci-firmware-j721e-gp.bin files are not existing.

    What I am saying is, it's expecting somewhere else than the path given in the launch.js file and also it's looking for launch.js#108 file which is not there.

    Regards

    Mahipal

  • Sorry, my bad.

    The error is giving a line number in launch.js, line # 108.
    Could you check this line in launch.js?

  • Line#108 in launch.js file  "dsDMSC_0.memory.loadRaw(0, 0x40000, sysfw_bin, 32, false);"

    Then the only issue is with error "Could Not Open File /home/visteon-adas/ccs930/ccs/eclipse/home/visteon-adas/workspace/gac/ti_TexasInstruments/PSDKRA/psdkra/psdk_rtos_auto_j7_06_01_00_15/packages/ti/drv/sciclient/soc/V1/ti-sci-firmware-j721e-gp.bin"

    CCS installation is at /home/visteon-adas/ccs930/

    PSDKRA is at /home/visteon-adas/workspace/gac/ti_TexasInstruments/PSDKRA/psdkra/psdk_rtos_auto_j7_06_01_00_15/

    But it's combining both CCS and PSDKRA installation paths

  • Hi Mahipal,

    Normally there is only one attempt to load the DMSC firmware. Example output from my setup below...

    js:> loadJSFile "/home/vishallocal/test/launch.js"
    Connecting to DMSC_Cortex_M3_0!
    Loading DMSC Firmware ... /home/vishallocal/RTOS/06_01_00_15/psdk_rtos_auto_j7_06_01_00_15/pdk/packages/ti/drv/sciclient/soc/V1/ti-sci-firmware-j721e-gp.bin
    DMSC Firmware Load Done...
    DMSC Firmware run starting now...
    Connecting to MCU Cortex_R5_0!
    Running the board configuration initialization from R5!
    Running the DDR configuration... Wait till it completes!
    Okay you are good to go.. Happy Debugging!

    But in your log snapshot I see that there are 2 attempts to load the DMSC firmware and the path in the console output looks correct (same as what you entered in launch.js file)

    Not sure why this is done twice in your case and why the CCS path is prepended to file location path.
    Let me check and get back.


    Regards,
    Vishal

  • Hi Mahipal,

    I see that in the launch.js script you have given pdkPath as

    pdkPath = "/home/visteon-adas/workspace/gac/ti_TexasInstruments/PSDKRA/psdkra/psdk_rtos_auto_j7_06_01_00_15";

    This is incomplete. You should give upto the pdk folder, like this:

    pdkPath = "/home/visteon-adas/workspace/gac/ti_TexasInstruments/PSDKRA/psdkra/psdk_rtos_auto_j7_06_01_00_15/pdk";

    I hope that should take things forward.

  • It works now, Thank You.