• 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 » MSP-FET430UIF error: Trouble Writing Memory Block
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

    MSP-FET430UIF error: Trouble Writing Memory Block

    This question is answered
    Pradeep S. Shenoy
    Posted by Pradeep S. Shenoy
    on Feb 20 2012 17:51 PM
    Prodigy80 points

    I am getting a confusing error when I am trying to program a MSP430G2131 using the MSP-FET430UIF. I was not always getting this error previously so I'm wondering if something I did during debugging caused this problem.

    The error:

    MSP430: Trouble Writing Memory Block at 0xfc00 on Page 0 of Length 0x1fa: Could not erase device memory
    MSP430: GEL: File: C:\Users\deep\workspace_v5_1\VoltagePassthrough\Debug\VoltagePassthrough.out: Load failed.

    Here are some potential issues but I'm not actually sure what the problem is:

    1) I accidentally was resetting (basically shorting out) the supply voltage capacitor instead of the small reset capacitor. Perhaps I overloaded something in the FET430UIF and now it doesn't work?

    2) When the FET430UIF is plugged in to my computer, only the green power light is on. The red mode light does not flash at all. When I try to program the MSP430, the green power light goes off and the red mode light stays on (maybe flashes once).

    In the past, I could program my MSP430 just fine and debugging was going quite well. So I don't think there is anything wrong with my board layout. When this error came, I decided to reconstruct my basic board using a new MSP430G2131, etc. to make sure my hardware was not damaged/the cause of problems.

    Any assistance would be greatly appreciated.

    Thanks!

    Edit: I forgot to mention I'm using CCS 5.1, have some peripherals set up using GRACE, and am using the 4-wire JTAG interface.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Pradeep S. Shenoy
      Posted by Pradeep S. Shenoy
      on Feb 21 2012 11:04 AM
      Prodigy80 points

      Update: I think that the reason why the green power LED on the FET430UIF stays on is because I have the newest firmware update (i.e. MSP430.DLLv3). According to this, I think it is working fine. So, perhaps there is nothing wrong with the FET430UIF. By the way, I am using V1.4a. Also, the FET430UIF troubleshooting page should be updated to reflect the initialization/light flashing sequence with the newest firmware update.

      So, any ideas as to why I cannot flash my program onto the microcontroller? Any advice would be appreciated.

      Thanks.

      Edit: For more information, I am using CCS on Windows 7, 64-bit version.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Pradeep S. Shenoy
      Posted by Pradeep S. Shenoy
      on Feb 22 2012 13:13 PM
      Prodigy80 points

      I'm starting to get pretty desperate. Any help would be greatly appreciated. I've installed CCS on another computer and tried to program with another FET430UIF and I still get the same basic error. What is the cause of the error? Any hints would help me troubleshoot.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Pradeep S. Shenoy
      Posted by Pradeep S. Shenoy
      on Feb 25 2012 16:33 PM
      Verified Answer
      Verified by Pradeep S. Shenoy
      Prodigy80 points

      I GOT IT TO WORK!!!! I'm so glad I figured out the problem. 

      This is basically what happened:

      I have a linear regulator that supplies power to the msp430 under normal operation. When I program the msp430 though, I have the power to the msp430 come from the FET430UIF programmer. The problem (I think) was that some of the components upstream from the linear regulator would "load" it or somehow there would be some backfeeding of current (I know, not very technical terminology). I think that the voltage on the msp430 would be too low to allow for erasing and reprogramming the flash memory. I was able to figure this all out by rebuilding a board, component by component, and seeing when I was able to program the msp430 and when I couldn't. As long as there is nothing connected to the input of the linear regulator, I am able to successfully program the msp430. I ended up ripping up a trace on my board so that I don't have problems with it again.

      Hope this info is helpful to others.

      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 Mar 01 2012 06:38 AM
      Guru140085 points

      Pradeep S. Shenoy
      As long as there is nothing connected to the input of the linear regulator, I am able to successfully program the msp430

      Most linear regulators have a free-running diode that shortcuts the output to the input if the output has a higher voltage than the input (to avoid destruction of the output transistor due to 'negative' voltage). If the voltage source then has a low inner resistance when off, it will load the FET supply voltage beyond its specs.
      To have this work, you'll have to switch the external power source on when programming, or need a jumper between the regulator and teh MSP that can be pulled for programming (as replacement for a trace rip-off :) )

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