TI E2E Community
MSP430 Ultra-Low Power 16-bit Microcontroller Forum
External Memory Test Code for MSP430
Is there any code available for MSP430 to do external memory tests.
I looked here, i do not see any.
'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.
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.
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.
DerekGThe customer is well aware of how external memory is treated on MSP430. Question was "is there sample test code" ?
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.
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.
DerekGFor your information the customer has the choice of using TI devices or one of the competitor devices.
DerekGWhen i file queries, i am looking for answrs not opinions.
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.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.