i am doing experiment with DSK6713 using ccs4. when I try to debuging. i get this question.
code shows below.
**** Build of configuration Debug for project exercise1_2 ****D:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all 'Building target: exercise1_2.out''Invoking: Linker'"D:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/bin/cl6x" -mv6700 -g --diag_warning=225 --abi=coffabi -z -m"exercise1_2.map" --warn_sections -i"D:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/lib" -i"D:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/include" -i"D:/Program Files/Texas Instruments/bios_5_41_10_36/packages/ti/rtdx/lib/c6000" -i"D:/Program Files/Texas Instruments/bios_5_41_10_36/packages/ti/bios/lib" --reread_libs --rom_model -o "exercise1_2.out" -l"./exercise1_2cfg.cmd" "./exercise1_2cfg_c.obj" "./exercise1_2cfg.obj" "./exercise1_2.obj" -l"libc.a" <Linking> undefined first referenced symbol in file --------- ---------------- _DSK6713_DIP_get ./exercise1_2.obj _DSK6713_DIP_init ./exercise1_2.obj _DSK6713_LED_init ./exercise1_2.obj _DSK6713_LED_off ./exercise1_2.obj _DSK6713_LED_on ./exercise1_2.obj _DSK6713_LED_toggle ./exercise1_2.obj _DSK6713_init ./exercise1_2.obj _DSK6713_waitusec ./exercise1_2.objerror: unresolved symbols remainerror: errors encountered during linking; "exercise1_2.out" not built>> Compilation failuregmake: *** [exercise1_2.out] Error 1gmake: Target `all' not remade because of errors.Build complete for project exercise1_2
The linker errors mean that your source file exercise1_2.c is referencing functions for which it cannot find a definition. Looking at the symbols listed, those are defined in the dsk6713bsl.lib which is part of the Target Content package for that board (you can download the Target Content from Spectrum Digital's web site: http://c6000.spectrumdigital.com/dsk6713/).
Make sure to either add the dsk6713bsl.lib directly to your project, or add it to the --library linker option within the project build properties.
If a post answers your question please mark it with the "Verify Answer" button
Search the wikis for common questions: CGT, BIOS, CCSv3, CCSv4Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box
Thank you very much! I have solved this problem. another question is when I use the printf() and scanf (), why it can not output the content in the console and the it can not come out a window automatically to input the content.
The key things to note when using CIO routines such as printf are to include <stdio.h> in your code and to have enough heap and stack size. Please check this wiki article for more details: http://processors.wiki.ti.com/index.php/Tips_for_using_printf
Thanks for your help.I have solve this problem. And I have another question? I now use linked list to save the data. so the data sapce is not
Can you check the Project debugging section of the CCSv4 Getting Started Guide? It talks about how to set up a graph for viewing variables.
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.