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_dispatchTabfirst 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?
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.
Thomas9070I 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?
yes - the symbol is referenced in bios.a64P but defined nowhere. (at least this is what I understand from the error messageundefined 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).
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;
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.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.