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.

How to debug a RTSC Library e.g. IPC

Other Parts Discussed in Thread: SYSBIOS

Hi,

I have a C6678 project with a nasty problem in the IPC Library.

The IPC is included as an RTSC component in the .cfg file
(var Ipc = xdc.useModule('ti.sdo.ipc.Ipc');)

Could you please give me advice about how to include an RTSC library into a code composer project, so that I have full debug capabilities, including rebuild of the library?

I use Code Composer 5.5 and IPC 3.10.1.11

regards

Alois

  • Alois,

    To use the debugger with IPC libraries, you do not need to rebuild the IPC product. The version you have ships with debug libraries. You just need to configure your program to use the debug libraries. Add the following to your application configuration script.

    var BIOS = xdc.useModule('ti.sysbios.BIOS');
    BIOS.libType = BIOS.LibType_Debug;

    After your rebuild your program, you will be able to step into IPC functions, such as Ipc_start(). You can use the source lookup path to help make it easier to find the source files in CCS.

    CCS
    Windows > Preferences
    C/C++ > Debug > Source Lookup Path
    Add > Path Mapping > OK

    In case you still want to rebuild IPC...

    The IPC product does not build as a CCS project, but you can rebuild the libraries from the command line. For instructions, open the release notes, go to the documentation section, and select the install guide.

    ipc_3_10_01_11_release_notes.html
    Documentation > Install Guide (BIOS) - (local)

    You will still want the changes above to pick up your rebuilt debug libraries.

    ~Ramsey

  • Hi Ramsey,

    thank you for the detailed answer. This is very usefull information.

    I was not aware that the BIOS.libType works for other packages like IPC as well.

    To what libaries does BIOS.libType apply ? Is it general or specific to BIOS and IPC only ?

    regards

    Alois