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.

CCSv5 and Project Binaries

Hello,

 

I am using CCSv5.1.0 M7. I created a project but there was no "Binaries" folder under the project (this was expected however, because they are generated somewhere else). Is there a way to add "custom" out-file to the project? I tried do add it via File -> New and linking to the existing out-file, but when I am debugging the project and I am trying to load the out-file by choosing Browse Project, there is no binary to choose.

 

Best regards,

Blazej

  • Hi Blazej,

    have you tried browse and browsed to the binary instead of browse project?  If you are only linking the file it makes sense browse project can not find it as there will not be a copy of it in your project directory.

    Are you just trying to load a .out? 

    Best Regards,
    Lisa

  • Hello,

    I tried to do this and of course it works, but then I need to specify Path Mapping and source lookup directory for the emulator each time, which is quite annoying. I was hoping that it will not be necessary if I would link the binary and project somehow.

    About what you said, I copied the file to the project directory and linked it, but it still wasn't detected when I pressed "Browse Project" button.

    BR,

    Blazej

  • Hi Blazej,

    did you try copying them into the typical folder? For example the .out is usually in a folder, under your project folder, called Debug or Release.  For example the .out for a project, "testproject" is found in the debug folder as below.

     

    C:\CCS51workspace\newdll\testproject\Debug

    Is this where you copied them to?  Have you considered using loadti?

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

    Best Regards,
    Lisa

  • Hi Blazej,

    I thought I would check whether there is an update here.  Were the tips in my last post helpful?

    Best Regards,
    Lisa

  • Hi Lisa,

    Sorry for late reply, I am really busy recently. I haven't copied the file to the "Debug" directory but directly into the "testproject" directory, but I try this today :) This loadti thing seems pretty interesting too (i.e. I didn't know I can pass arguments to main()) , but I have no idea how to "logically" put it in the debugging process ;) I.e. if I open CCS and call loadti, will it load the app on the emulator I specify and I will be able to debug it in CCS window as usual? How this is different from choosing Load Program?

    BR,

    Blazej

  • Hi Blazej,

    ok, please let me know how that goes with putting the .out file in the normal folder.

    loadti is just a command line way to load a file without using CCS.  If you want to run a debug session in CCS, then loadti may not be of much help or interest to you.  It is basically part of our scripting for those who like to write some scripted tests and batch/javascript files outside of CCS.

    I hope that helps clarify.

    Best Regards,

    Lisa