• 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 » MSP430™ Microcontrollers » MSP430 Ultra-Low Power 16-bit Microcontroller Forum » Problem in debugging code exemple for MSP430FR5739
Share
MSP430™ Microcontrollers
  • Forum
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS
MSP430 Resources
  • MSP430 Product Folder
  • MSP-EXP430G2 - MSP430 LaunchPad Value Line Development kit
  • MSP430 Getting Started Guide
  • MSP430 Microcontroller Projects
  • More Resources >
  • Forums

    Problem in debugging code exemple for MSP430FR5739

    This question is not answered
    Murilo Gabardo Kramar
    Posted by Murilo Gabardo Kramar
    on Dec 26 2012 18:12 PM
    Prodigy40 points

    Hello,

    I've received recently a MSP-430FR5739 experimenter's board. I was used to develop my uC programs in Keil, but I had received the mission to learn how Code Composer works.

    With this board I've been trying to run a "one-click project" (called  MSP430FR57x Demo - Toggle P1.0 using software)  from the CSS 5.3, but it is not working well. When I try to debug it I receive a message complaining about the first line of my code (doesn't matter what is written in the first line) and about  "boot.c". When I put the "boot.c" file on my project's "Debug"  folder (as I see in other topics) nothing changes except that I can see the content of "boot.c" archive.

    Here is a image of my screen:

    59acd0fa29

    Thanks for your attetion. Best Regards,

    Murilo Gabardo Kramar

    MSP430 BOOT.C ONE-CLICK PROJECT DEBUGGING PROBLEM
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Jens-Michael Gross
      Posted by Jens-Michael Gross
      on Dec 27 2012 11:02 AM
      Guru139900 points

      I don't see anything wrong on the screen. The program has reached the first code line and hit the breakpont there, halting the CPU. That's th enormal behavior when the options 'halt on program entry' (or similar) is checked, which AFAIK is the default.

      What is the exact message you get? It would be very helpful to know what the debugger is complaining about, not just that it is complaining.

      _____________________________________
      Before posting bug reports or ask for help, do at least quick scan over this article. It applies to any kind of problem reporting. On any forum. And/or look here.
      If you cannot discuss your problem in the public, feel free to start a private conversation: click on my name and then 'start conversation'. But please do so only if you really cannot do it in a public thread, as I usually read all threads. And I prefer to answer where others can profit from it (or contribute to it) too.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Murilo Gabardo Kramar
      Posted by Murilo Gabardo Kramar
      on Dec 27 2012 12:19 PM
      Prodigy40 points

      Hello,

      Thanks Jens-Michael Gross for your answer.

      That image shows the only message I receive. I thought that this message could be an error in the code. Then now I have another problem, because I've downloaded my code to the MSP board and it doesn't work. I've tried to download the code with IAR workbench but there is no result either. I have one foot in the idea that this board is gone, is it possible? I need to say that the board had a program running before I start to develop in it.

      BR,

      Murilo Gabardo Kramar

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Burak DERYA
      Posted by Burak DERYA
      on Dec 28 2012 07:25 AM
      Expert1115 points

      Try to toggle another pin. I have faced a problem as you when i get the board first.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Murilo Gabardo Kramar
      Posted by Murilo Gabardo Kramar
      on Dec 29 2012 10:36 AM
      Prodigy40 points

      Well, I'm trying everything I can.  I changed the toogle pin as Burak Derya recommended but it wasn't effective. Is there anything I can do (in the software scope) to know if my board is damaged (because the end of year I can't go to the University Lab and use the ideal equipments to test the hardware)? Can I read what's within my MCU's memory?

      At least I'm getting used to the CSS.

      I really appreciate your answer and your help.

      Have I happy new year!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jens-Michael Gross
      Posted by Jens-Michael Gross
      on Dec 29 2012 13:37 PM
      Guru139900 points

      Murilo Gabardo Kramar
      Can I read what's within my MCU's memory?

      The free (lite) version of the elprotronic flashing software can read the MSP memory content and write it into file or show it in an editor.

      However, if you don't get an error while uploading the new firmware, it is unlikely that the board is gone. Apparently the MSP is powered and does respond to the JTAG.

      I remember from a different thread that the interrupt vector segment assignments have changed between compiler versions (to protect the JTAG fuse which was part of the vector table previously).

      Now the final placement is done by the linker command file and the linker ocmmand file is copied into the project folder when the project is created. So probably your demo project uses an old linker command file (in the project folder) but new include files (in the compiler installation). As a result, all interrupt vectors, including the reset vector with the program start address, are not linked where they belong. And the program cannot execute as the MSP doesn't know where to start.

      Try starting a new project and copy over the source code only.

      _____________________________________
      Before posting bug reports or ask for help, do at least quick scan over this article. It applies to any kind of problem reporting. On any forum. And/or look here.
      If you cannot discuss your problem in the public, feel free to start a private conversation: click on my name and then 'start conversation'. But please do so only if you really cannot do it in a public thread, as I usually read all threads. And I prefer to answer where others can profit from it (or contribute to it) too.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Murilo Gabardo Kramar
      Posted by Murilo Gabardo Kramar
      on Dec 29 2012 14:45 PM
      Prodigy40 points

      Thank you again Jens-Michael Gross

      -----

      Ok. I did it what you said and, unfortunatelly, still is not working. The same problem is occurring, I launch the program to the board and none of the LEDs blink nor even light up for a second. Also I tried to do the same thing with IAR (and tried to make my own code too) but the answer didn't change.

      Edit:

      Is there any information that I can give you and perhaps is missing?

      Edit_2:

      I've got a code of a teacher of mine and now i know that the board is alive. From this point I can analize his firmware and verify what I have done wrong since the beginning. As soon as possible I'll post my results to help those who are starting with MSP, experimenters board and so on (like me).

      PS: My english is very poor because it isn't my native language so if I made any mistake please excuse me. =P

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Burak DERYA
      Posted by Burak DERYA
      on Dec 30 2012 03:36 AM
      Expert1115 points

      Download and setup this. Try with these codes.

      http://www.ti.com/tool/msp430ware

      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