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.

Symbol _ECM_dispatchTab (CCS 5.1, BIOS 5.41)

Other Parts Discussed in Thread: CCSTUDIO

Hi,

I try my first steps with CCS 5.1. I try to re-create one of my CCS 3.3 projects (using BIOS 5.33.06). One error message I cannot get rid of is

linker: unresolved symbols remain. undefined symbol: _ECM_dispatchTab
first referenced in file: D:/CCStudio_v5.1/bios_5_41_11_38/packages/ti/bios/lib/bios.a64P<ecm_dispatch.o64P>

In the .tcf file, I defined some interrupts to be handled by ecm (using the function _ECM_dispatch). Where does the symbol "_ECM_dispatchTab" come from? or what library do I have to link/include to make it link without this error?

bye,

Thomas

  • Hi Thomas,

    The ECM_dispatch table should be defined in the BIOS library 'bios.a64P'.

    I'm wondering if you are getting this error due to a CCS project conversion bug.

    Thomas9070 said:
    I try my first steps with CCS 5.1. I try to re-create one of my CCS 3.3 projects (using BIOS 5.33.06)

    What was your method of doing this?  Did you start from scratch, or use the CCS project conversion?

    Steve

  • Hi Steve,

    yes - the symbol is referenced in bios.a64P but defined nowhere. (at least this is what I understand from the error message
    undefined symbol _ECM_dispatchTab first referenced in D:/CCStudio_v5.1/bios_5_41_11_38/packages/ti/bios/lib/bios.a64P<ecm_dispatch.o64P>

    Do I have to define it in my project? I link bios.a64P already (also libc.a and i2c_bios_drv.lib, palos_bios.lib, pal_sys_bios.lib from DM648 PSP (DVSDK 1.11.00.00). maybe there is a problem with these libs?)

    I started the project from 0, started a new bios config file and added all the old entries and added the old files. (for 3 reasons: 1.) I want to learn the CCS 5.1-way, 2.) I want to keep the old 3.3 stuff untouched and build the 5.1 experiments in parallel, 3.) I want to find things that are wrong in my project).

    bye,

    Thomas

  • Hi Thomas,

    Yes, you are right, the table is only referenced from within that library.  It should be defined within the file ecm.h62 (an assembly header file).

    Can you check that the following property is set in your BIOS config file (*.tcf file)?

    bios.ECM.ENABLE = true;

    Steve

  • Hi Steve,

    yes - the bios.ECM.ENABLE=true was missing - thanks!

    I already tried to include that ecm.h62 but had the same message. I entered the settings like memory sections via the graphical tool. I have to go through the tconf doc (I think its spru007), I think that there could be more settings missing.

    bye,

    Thomas