• 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 » External Memory Test Code for MSP430
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

    External Memory Test Code for MSP430

    • DerekG
      Posted by DerekG
      on May 08 2012 11:29 AM
      Intellectual985 points

       

      Hi,

      Is there any code available for MSP430 to do external memory tests.

      I looked here, i do not see any.

      http://www.ti.com/mcu/docs/mcusplash.tsp?contentId=128826#CE

       

      Thanks.

       

      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 May 09 2012 06:44 AM
      Guru141810 points

      'external memory' is just a meaningless name for a possible application-driven peripheral and has no special meaning for the MSP.

      The MSP does not have an external memory/address bus, so test code for an attached external memory is not different for test code for any other possible fancy peripheral you attach to it through GPIO, SPI, I2C or UART.

      _____________________________________
      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.
    • DerekG
      Posted by DerekG
      on May 09 2012 11:40 AM
      Intellectual985 points

      Hi,

      The customer is well aware of how external memory is treated on MSP430. Question was "is there sample test code" ?

      Also, how about on chip RAM, is there sample test code for that?  I realise that such code is simple to write, however the customer wants to know if there is a samle he can leverege to get his project up and running fast.

      thanks.

       

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Norman Wong
      Posted by Norman Wong
      on May 09 2012 11:48 AM
      Guru15120 points

      No nothing of MSP430 specific offerings. Michael Barr's memory test ariticle seems to be the basis for lot of implementations that  I have seen.

      http://www.barrgroup.com/Embedded-Systems/How-To/Memory-Test-Suite-C

      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 May 09 2012 14:22 PM
      Guru141810 points

      DerekG
      The customer is well aware of how external memory is treated on MSP430. Question was "is there sample test code" ?

      And my answer was: since external memory is just another applicaiton-controlled external component as any other thinkable device you attach to the MSP by any means you can think of, there is as much sample code for it as for any other thinkable external device.
      There are sample codes for all (or at least most of) the internal components an MSP has. And for interfacing some commonly used devices, there are application notes.
      However, a ram-test for an external, unknown and by an unknown method (I2C, SPI, simulated bus by GPIO, ...) accessed device, well, it doesn't make any sense providing sample code with so many variables.

      For on-chip-ram, there is no RAM test I know of. Due to the small amount (relatively large cell structure size), failure that isn't already detected at production time isn't likely. Also, static rams aren't that likely to fail as dynamic rams are. The chance of a random fluke by a radioactive ionisation is by some magnitudes more likely than a failure of the MSPs internal ram that could be detected by a ram test.

      However, if you need a ram test for some reason, determine what you want to have tested, and test it. Perhaps it is enough to protect some ram-based but not too often changed data by a CRC. Or you run a few test pattern across the ram before you start your application.
      Also, to create an effective algorithm for a ram test you need information about the physical construciton of the ram. Organization in rows and columns or physical orientation on the die. Else you'll be testing things that cannot fail by design and missing to test things that could.
      There are many ways to test your ram, depending on what you want to test (or against what you want to protect your application). As many as there are psychologic/sanity tests for humans.

      _____________________________________
      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.
    • DerekG
      Posted by DerekG
      on May 09 2012 15:40 PM
      Intellectual985 points

      Norman answered the query.

      For your information the customer has the choice of using TI devices or one of the competitor devices. He is entitled to ask TI queries on any matter relating to TI devices if he is going to design them in, however meaningless they may seem to you, right?

      Given that the product is a medical device the customer is entitled to test his on chip or off chip RAM as part of a start up diagnostic, if he chooses

      When i file queries, i am looking for answrs not opinions.

      Have a nice day.

       

       

      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 May 10 2012 08:34 AM
      Guru141810 points

      DerekG
      For your information the customer has the choice of using TI devices or one of the competitor devices.

      The customer always has the choice. Oly slaves don't have a choice.
      However, you asked your customers question in a public forum. And while you are apparently paid for doing so, I'm not paid for answering. Especially not for giving the answer he/you wants. So I have the choice to give the answer I believe he'll/you'll need, as my experience shows that things peoile want usually arent he things people need.
      You always have the choice to ignore the advice and opinions that are given to you. But then, asking Google would have been faster and had immediately returned the answer you wanted. Personally, I prefer not to act as a human Google frontend. That's a waste of my time. Which is precious to me and a gift (since I'm no TI employee) for those who seek help in this forum.

      DerekG
      When i file queries, i am looking for answrs not opinions.

      Then file them to the technical support or to Google. Not to an engineers-to-engineers forum, even if it is run by the manufacturer.

      _____________________________________
      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