• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Development Tools » Code Composer Studio » Code Composer Forum » ccs4 with dsk6713
Share
Code Composer Studio
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Common Questions
  • Code Composer Studio Forum Usage Guidelines

  • Resources
  • Code Composer Studio (CCStudio) Product Folder
  • Troubleshooting CCS
  • CCS Wiki
  • Download CCS
  • Order CCS
  • Tools Insider Blog
  • Bug Tracking
  • Forums

    ccs4 with dsk6713

    This question is answered
    Huihuan Ma
    Posted by Huihuan Ma
    on Oct 30 2011 10:44 AM
    Prodigy40 points

    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.obj

    error: unresolved symbols remain
    error: errors encountered during linking; "exercise1_2.out" not built

    >> Compilation failure
    gmake: *** [exercise1_2.out] Error 1
    gmake: Target `all' not remade because of errors.
    Build complete for project exercise1_2

    CCS 4
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • AartiG
      Posted by AartiG
      on Oct 31 2011 10:06 AM
      Guru69005 points

      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, CCSv4
      Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Huihuan Ma
      Posted by Huihuan Ma
      on Nov 02 2011 18:01 PM
      Prodigy40 points

      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.

      CCS 4
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • AartiG
      Posted by AartiG
      on Nov 03 2011 10:30 AM
      Verified Answer
      Verified by desouza
      Guru69005 points

      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


      If a post answers your question please mark it with the "Verify Answer" button

      Search the wikis for common questions: CGT, BIOS,  CCSv3, CCSv4
      Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Huihuan Ma
      Posted by Huihuan Ma
      on Nov 11 2011 14:20 PM
      Prodigy40 points

      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

      successive, However, i want to use grapgh to plot the waveform. how could I do that ?

      CCSv4.2
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • desouza
      Posted by desouza
      on Nov 11 2011 14:26 PM
      Guru55930 points

      Hi,

      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.

      Regards,

      Rafael


      If my reply answers your question please click on the green button "Verify Answer".
      Search the wiki or go to useful pages for SDOWP, CGT, BIOS, CCSv3, CCSv4, CCSv5
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    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.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use