This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Testing Flash and RAM

Hello,

I want to run a memory test whenever my device nrf52832 starts up to check for various faults like stuck at, transition and other faults in both flash and RAM. Does the CRC in flash check all the flash blocks including the .txt one or does it only use CRC for reading and writing to the flash? Or is there any other way to check the credibility of the flash and RAM

I read that you can create a checksum of the entire flash. My question is how can I create a checksum for the entire flash region or at least the region where the code and the peer manager is stored? As far as RAM is considered, it looks like I have to do any of the March tests. How do I access the RAM region via software?

Also, last question, suppose I am doing march test. Will doing this in main before initializing the modules affect the global variables assigned?

Related