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.

AM335X with ccs test DDR3 problem

dear all

Now I try to bring up a customer  board with ddr3 .

I use the ccs5.2 connect to the customer board via Texas Instruments XDS100v2 USB Emulator.

When I load the file of DDR3_slave_ratio_search_auto.out, the always display that message :

Can't find a source file at "C:\Userdata\Subarctic\Frostbyte\DDR3AppNote\DDR3_Slave_ratio_search_auto_Polar_0_1\build\Debug/../DDR3_slave_ratio_search_auto_AM335x.c"

I used the linux version of ccs5.2 !

Can anybody give me some suggestion?

  • king liu said:

    When I load the file of DDR3_slave_ratio_search_auto.out, the always display that message :

    Can't find a source file at "C:\Userdata\Subarctic\Frostbyte\DDR3AppNote\DDR3_Slave_ratio_search_auto_Polar_0_1\build\Debug/../DDR3_slave_ratio_search_auto_AM335x.c"

    CCS is looking for that file so it can provide source level debugging. The message is saying it can't find the file in the location specified. I assume the *.out file was built on Windows because it has a Windows path "C:\". You will need to make the source files on your windows machine available for your linux machine. Then you can point CCS to it and it can find it.

    Thanks

    ki

  • HI Ki-Soo Lee

    Thank you for your answer.

    I get the *.out file form the ti website

    http://processors.wiki.ti.com/index.php/AM335x_DDR_PHY_register_configuration_for_DDR3 

    Files needed for this procedure: Code Composer GEL file: You can use the AM3358 StarterKit GEL to start with.  Executable CCS .out file: Media:DDR3_slave_ratio_search_auto.zip

     ,and i do not know how to built it.  I can not find the user guider.   

     

  • Hi,

    the source file is not needed for the DDR3 configuration.

    Nevertheless, as Ki-Soo-Lee wrote CCS will ask always for the source file because its think you wnat to debug the code.

    As debug is not necessary just ignore this error message.

     

    Best Regards

    David

  • Halo,

    thats also my problem.

    But there are no way to ignore this message because CCS abort loading *.out file. If the *.out file is not loaded, you are not able to run the code.

    I have generate a dummy file and rename it to DDR3_slave_ratio_search_auto_AM335x.c. Now  its possible to load the *.out file, its also possible to run the code, but there is only one iteration and all results are 0x0.

    Best Regards

    Markus

  • Hi Markus,

    I just tried to load the outfile to a beaglebone hardware without an issue.

    Maybe there are some wrong configurtions in your CCS.

    Try the follwing:

    - Open a new clean workspace.

    - Use Target Configuration to create a new Target with yout AM335x derivate an your debugger.

    - Link the gel file to the Target

    - Launch the Target

    - Connect the Target

    - Use Run->Load->Load Program... and browse for the outfile

    Outfile should be loaded correctly and you should able to run the application.

    Best Regards

    David

     

    Best Regards

    David

  • HI David,

    i have tried it one more time step by step, i get always the error message.

    If you use a beaglebone Board, you don't have DDR3, maybe thats the difference?

    Best Regards

    Markus