cancel
Showing results for 
Search instead for 
Did you mean: 

Need sample source for SRAM test

c_pbola
Associate
Posted on June 06, 2013 at 10:09

We are STM32F207 processor for one of our application. We used 16MB PSRAM. Now I want to test PSRAM as part of diagnostic software.

From googling I came to know that STM provides 'self-diagnostic software modules developed by ST for the STM32 family'. 

Can some one let me know how to get above mentioned software?

Also sample software for RAM testing also useful for me.

#sample-code-for-sram-test
2 REPLIES 2
Posted on June 06, 2013 at 13:12

Contact your local ST rep or FAE for the self test software.

How thoroughly do you want to test the RAM, and how long of a test can you tolerate?

A basic test would be to do an alternating/walking bit pattern that should catch stuck-at faults, and address line issues. ie try to ensure all bits can be set high/low (data pattern, then inverse), and an address specific value that is divisible by a prime rather than a power of two.

With a slight amount of thought you should be able to detect a significant number of failures very quickly. Things which would harder to test for are intermittent and marginal timing issues.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
frankmeyer9
Associate II