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.
Part Number: TMS320F2808
Tool/software: Code Composer Studio
Code Composer Studio Version: 7.4.0.00015
BIOS version ：bios_5_42_01_09
why Compiler cannot find BIOS configed task which has actually defined in the user source code?
The Linking error as following ：
'Invoking: C2000 Linker'"C:/ti/bin/cl2000" -v28 -ml -O3 -g --define=_DEBUG --define=LARGE_MODEL --diag_warning=225 --display_error_number -z --stack_size=1024 -m"GSN_280x.map" -i"D:/Works/GSN_280xPro/GSN_280x" -i"C:/ti/lib" -i"C:/ti/include" -i"D:/Works/GSN_280xPro/GSN_280x" -i"C:/ti/bios_5_42_01_09/packages/ti/bios/lib" -i"C:/ti/bios_5_42_01_09/packages/ti/rtdx/lib/c2000" --reread_libs --xml_link_info="GSN_280x_linkInfo.xml" --rom_model -o "GSN_280x.out" "./GSN_280xcfg.obj" "./GSN_280xcfg_c.obj" "./InvDsp.obj" "../Flash2808_API_V300.lib" "D:/Works/GSN_280xPro/cmd/DSP280x_Headers_BIOS.cmd" "D:/Works/GSN_280xPro/cmd/UserLinkerCmd_280x.cmd" -l"./GSN_280xcfg.cmd" -l"D:/Works/GSN_280xPro/GSN_280x/rts2800_ml.lib" <Linking>
undefined first referenced symbol in file --------- ---------------- _PRD_F_TimeBase20mS ./GSN_280xcfg.obj _PRD_F_TimeBase2mS ./GSN_280xcfg.obj _TSK_F_20ms_Communicate ./GSN_280xcfg.obj _TSK_F_StateSwitch ./GSN_280xcfg.obj
error #10234-D: unresolved symbols remainerror #10010: errors encountered during linking; "GSN_280x.out" not built
Can you attach your .tcf file?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to ToddMullanix:
GSN_280x(.cproject and tcf).rar
GSN_280xPro(Program Mini System).rar
In reply to huafeng wang:
You need to prevent the name-mangling of the 'C' functions specified in the .tcf file.
So for TSK_F_20ms_Communicate (and the others), try adding extern "C". This will prevent the name mangling.
I have Solved the problem in the way as you say. You are so professional.perfect.
Thank you so much！
The compilation is Successful , but it can't enter into main() anymore after added tcf and Reconfigured cmd file.
Could you please help me with the problem? thks！
GSN_280xPro(Contains BIOS and cmd file).rar
Please open a new thread on the new issue.
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. 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.