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.

compilation issue of EVM test in CCS

Guru 20755 points

Hello,

I have some issue when compiling the test program for CCS:

when I'm trying to compile the CCS test (so that I can make changes in source code), but on load program I get no response in CCS, and the disassembly window is blank, while with the already compiled bin (in folder /bin), I see the code and symbols in assembly and the programs start running on pressing "run". 
It seems as if something in my compilation of the CCS project is wrong. Do you have any ideas what's the problem with that ?

 

Thanks

Ran

  • I am not quite understand your question.

    Too compile the project you just need to right click on the project name and click on build.

    But what you mentioned are all about running the binary.

    Make sure you have connect Hardware, and launch the target configuration.

    Look at the top-right side of CCS window.   Is it CCS Debug/CCS Edit ?

    BR,

    Eason

  • Hi Eason,

    I have some issue on doing load program.

    With the already compiled binary in the zip (in folder /bin), I have success after load , and the PC register shows 0x4030c238 (stops at main as required).  
    But on doing "load program" with of my compiled .out the PC does not stop at main and I get nothing in console. When I do pause I stop in 0x2008c.

    Doesn't it use the ARM cross compiler in default settings ? If not - is there some notes how to define the builder settings to use arm gcc ?
    Is anyone familiar with this ?

    Ran

  • I believe that the CCS prj doesnt need compiler configuration, you can just use the default one.   

    Could you try building the binary without any code change?  Or the test you mentioned is the case that no code change but the only difference is it is build by yourself ?

    BR,

    Eason

  • Hi Eason,

    I use the original project from Mistral (no changes) on DM8148 EVM board.

    With the pre-built binaries it works, but not with the build on CCS5.5 (on Windows !)
    Maybe it is an issue of compiling CCS on windows/Linux ?

    Do you manage to compile and run the compiled binaries, or do you use the pre-built ?

    Can you try to build any project (I'm trying the nand test but I see same result with other projects) and run it from the zip file ?

    6428.DM814x_Rev_C1.zip

    Thanks

    Ran

  • Hi Eason,  Pavel,

    I got the solution from Code Composer forum.

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/1309735/reply.aspx

    Thank you very much for the support and assistance !!!!!

    Ran