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/CODECOMPOSER: Not Updating source file

Part Number: CODECOMPOSER

Tool/software: Code Composer Studio

HI!

I am using Code composer studio v9. I have integrated some .c files from lwip folder from RTOS SDK. But in some .c files are not editable. In debug mode it is taking old data only. If I click on that src file then build icon button is also not enbale. How can I edit these .c files?cpswif.c

I am sharing .c file in which I am facing problem.

Regards,

Gaura

  • Hello

    Gaurav Aggarwal1 said:
    But in some .c files are not editable. In debug mode it is taking old data only. If I click on that src file then build icon button is also not enbale.

    I'm not sure I quite understand. Are you unable to save the changes to the file in the editor? Or that the changes made to the file do not appear to be in effect when you compile and run?

  • Hi!

    I am able to save the changes but while running or debugging it is taking old values.

    Regards,

    Gaurav

  • Gaurav Aggarwal1 said:
    I am able to save the changes but while running or debugging it is taking old values.

    Ok so the issue is that whatever changes are made are not reflected in the running application. This is harder to debug. One thing to check is that the source file you are editing is the one used by the build. Confirm that it is. One way you can tell is if you modify it, and then you do an incremental build, CCS will detect that the file was modified and build it. If it does not detect changes, then it will simply say the project is up to date. If it does detect it was modified and builds it, then the next thing is to debug the code using the debugger. Step though the source code. See if the source you are stepping through has your changes and look closely why the old values are being used.

    Thanks

    ki