I was just writing some code to implement a MARCH C- test for RAM errors on an XMEGA. I see there are a number of different strategies for testing RAM and MARCH C- is supposed to give good coverage with reasonable execution time. Mine takes about 3 million cycles if doing one bit at a time, or about 400k cycles if doing one byte at a time.
Has anyone got experience with this kind of thing? Really I'm wondering about two things.
1. Is MARCH C- a good choice for the internal SRAM in AVRs and similar MCUs?
2. Is it worth testing one bit at a time or is there little to be gained?
FWIW Atmel's application note tests whole bytes at a time.
Edit: My code if anyone is interested https://github.com/kuro68k/avr_r...