2013-06-06 01:09 AM
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-test2013-06-06 04:12 AM
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.2013-06-06 05:37 AM
Like this, for example: