• 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 » Microcontrollers » Stellaris® ARM® Microcontrollers » Stellaris® ARM® LM3S Microcontrollers Forum » problem while using the lcd
Share
Stellaris® ARM® Microcontrollers
  • Forum
Options
  • Subscribe via RSS
Helpful Stellaris® LM4F Series Links
  • LM4F Series
  • Stellaris PinMux Utility
  • Stellaris® LM4F120 LaunchPad
  • LM4F MCU Applications
  • LM4F MCU Video
  • ARM Cortex-M4F Whitepaper
  • Stellaris MCU Brochure
  • LM4F232 Eval Kit
  • problem while using the lcd

    problem while using the lcd

    This question is answered
    sarthak ghosh
    Posted by sarthak ghosh
    on Jun 14 2012 02:26 AM
    Intellectual270 points

    i am using stellaris lm3s9d96,and ccs v4.i have written a code for diplaying a menu of two buttons first..which on being clicked,goes to another page.

    the code is working fine .because i have put it in the hello_widget.c file and its working.the problem started when i tried to create a new project .i have included the startup_ccs,c file as is in the hello_widget. project.i have included "C:\StellarisWare","C:\Program Files(x86)\Texas Instruments\ccs\tools\compiler\tms470\include", and "C:\StellarisWare\boards\dk-lm3s9d96" under include options.

    under file search path i have included "${SW_ROOT}//ccs/Debug/driverlib.lib","{SW_ROOT}//ccs/Debug/grlib.lib" and "libc.a"

    under predefined symbols i have mentioned, TARGET_IS_FIRESTORM_RA2+.

    i have mentioned dependency of the project on grlib and driverlib projects.

    the code is compiling fine.it is showing no errors.but i am not getting the output.it is showing a blank black screen.

    but please note the same code is working fine when i put it in the hello_widget predefined project.

    am i missing out something??why isnt the lcd displaying?

    i have added the files interrupt.c,hw_types.c,sysctl.c,rom.h,grlib.c,widget.c,canvas.c,pushbutton.c,touch.c,set_pinout.c,and kitronix..c and the respective .h files in my project.

    CCSV4 graphics related
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • sarthak ghosh
      Posted by sarthak ghosh
      on Jun 15 2012 04:04 AM
      Intellectual270 points

      some one please reply..i have been stuck on this for quite a while now.

      also when i tried to introduce the uart in this program,to take in some inputs from the user,i introduced the header files,sysctl.h,uart.hand memmap.h,..now i started getting an error sayin..the identifier"tBoolean"is undefined in sysctl.h,and uart.h..etc...15 errors have popped up...what should i do??please reply .

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Petrei
      Posted by Petrei
      on Jun 15 2012 04:18 AM
      Mastermind6505 points

      You have a path problem. The simplest way to overcome it is to go to this location and download, read, follow the procedure indicated in the document "Stellaris New Project Guide.ppt" (you will find it easily):

      http://e2e.ti.com/support/microcontrollers/stellaris_arm_cortex-m3_microcontroller/f/471/t/94574.aspx

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • sarthak ghosh
      Posted by sarthak ghosh
      on Jun 15 2012 08:11 AM
      Verified Answer
      Verified by sarthak ghosh
      Intellectual270 points

      well..i have got the solution of the first problem i posted..when the same program wasnt working on my project..
      all i needed to do was increase the stack size to 1024.i noticed this while going through th ebuild properties of some of the grlib related projects.
      but i will surely go through the presentation .
      but i still dont know wat caused the "tboolean "undefined errors.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Stellaris Miles
      Posted by Stellaris Miles
      on Jun 15 2012 12:43 PM
      Intellectual1735 points

      $ grep -iR tboolean *
      inc/hw_types.h:typedef unsigned char tBoolean;

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • sarthak ghosh
      Posted by sarthak ghosh
      on Jun 15 2012 12:59 PM
      Intellectual270 points

      can you please elaborate??

      and secondly what is this tBoolean variable??i know Boolean,what is tBoolean?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Stellaris Miles
      Posted by Stellaris Miles
      on Jun 15 2012 13:47 PM
      Verified Answer
      Verified by sarthak ghosh
      Intellectual1735 points

      A tBoolean is an unsigned char.  It is, semantically, the same as most other booleans.  TRUE = !0, FALSE = 0.

      You simply need to #include "inc/hw_types.h" prior to any references to it.

      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