This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unused XRAM Test

Hi
My customer wants to test unused XRAM after startup of the Embedded Application.
How can I automatically find the top of assigned memory?
I want to add this defined value into my "for" loop
My XRAM is 8K and 0x0000 to 0x1FFF.

Parents
  • "you can actually test all of xdata while the application is running as a background process. You have to save the existing value of the word that you're testing and put it back when you're done"

    But, if you feel the need to test it, then you must suspect a non-trivial risk of it failng.

    So how do you know that the location you use to save your data won't be the faulty one?

    Similarly, one common failure mechanism is in the addressing - so that when you address one location, another location (or locations) gets corrupted...

    There's a frequently-cited paper by Michael Barr that discusses these failure mechanisms, and reliable ways to detect them...

Reply
  • "you can actually test all of xdata while the application is running as a background process. You have to save the existing value of the word that you're testing and put it back when you're done"

    But, if you feel the need to test it, then you must suspect a non-trivial risk of it failng.

    So how do you know that the location you use to save your data won't be the faulty one?

    Similarly, one common failure mechanism is in the addressing - so that when you address one location, another location (or locations) gets corrupted...

    There's a frequently-cited paper by Michael Barr that discusses these failure mechanisms, and reliable ways to detect them...

Children
No data