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: ddr3 software leveling failed for lack of c source files

Other Parts Discussed in Thread: DM385

Tool/software: Code Composer Studio

I was tring to do ddr3 software leveling, ccs5.5.0 on my dm8148 device,  but here i met with a problem.

It seems ddr3 init worded fine,but just after i load the file DDR3_SlaveRatio_ByteWiseSearch_TI814x, It indicated the fowlling:

Can't find a source file at "C:\Documents and Settings\x0157560\Desktop\SlaveRatioProg\DM385\DDR3_Slave_ratio_search_auto_cent_0_1\build\Debug/../DDR_SlaveRatio_SearchAlgo_Ti814x.c"
Locate the file or edit the source lookup path to include its location.

Is the error message a commen thing to happen? How could I handle this thing? any advice would be of great hand to me, thanks

  • Hello,
    It is a fairly common warning message. Often times it is when trying to debug code from a library you did not build:
    processors.wiki.ti.com/.../Debug_Handbook_for_CCS

    In your case, I'm going to guess that the code is a library (or something) from TI by judging from the path. If you have the source file, you can browse to it. Otherwise you can ignore the warning.

    Thanks
    ki
  • This error message is very common. When the program halts CCS tries to open the source file that matches with where you are halted. If it is not able to locate the source file then it shows this message. This often happens when you stop in library code. I can tell from the path that this was a library that was built by someone at TI. If you do have the source for the library you can use the button to point CCS to it so that it can open the source file. However often for libraries you won't have the source. you can just ignore this message, it doesn't mean their is a problem with your application. It just means that CCS is not able to open the source file for you that matches with where you are in the program.

    John
  • Hi, John
    As I can see now, I could ignore the error message and proceed to debug on my ddr3 phy,But here I got another problem, after I load the DDR3_SlaveRatio_ByteWiseSearch_TI814x.out and the program stops at functional symble main. I was expecting to see some message print to indicate me how i should use this program like :
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Run:
    Enter 0 for DDR Controller 0 & 1 for DDR Controller 1
    0
    DDR START ADDR=0x80000000
    Enter the Seed Read DQS Gate Ratio Value in Hex to search the RD DQS Gate Window
    0xA5
    Enter the Seed Read DQS Ratio Value in Hex to search the RD DQS Ratio Window
    0x34
    Enter the Seed Write DQS Ratio Value in Hex to search the Write DQS Ratio Window
    0x13
    Enter the input file Name
    Ti814x_Ratio_values
    *********************************************************
    Byte level Slave Ratio Search Program Values
    *********************************************************
    BYTE3 BYTE2 BYTE1 BYTE0
    *********************************************************
    Read DQS MAX 5d 60 5f 69
    Read DQS MIN 8 8 4 8
    Read DQS OPT 32 34 31 38
    *********************************************************
    Read DQS GATE MAX 1ec 1d1 1b5 1a0
    Read DQS GATE MIN 8f 7c 63 41
    Read DQS GATE OPT 13d 126 10c f0
    *********************************************************
    Write DQS MAX 97 a3 8c 8b
    Write DQS MIN 0 0 0 0

    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    but I never saw the program auto running , instead i have to click debug options : step in (step by step), or It would not go on 。 Is
    it the reason that I did not configure the arm-mode correctly ? It was runing in spV mode, could anyone tell me how to config dm8148 in user mode? thanks a lot
  • Hello,
    Your second question is best asked in the davinci device forum. I would create a new post there:
    e2e.ti.com/.../716

    Thanks
    ki