Hi,
I need to fill data memory both internal and external with known patterns and read back to verify the entire C51 RAM. I prefer doing this in C instead of assembly but have not seen a good example to follow. Any suggestions?
Thanks
Note that 'C' makes certain assumptions about the execution environment - in particular, that the stack is OK, and any memory used internally and used by your program variables.
So you'll need to verify that in some other way.
Also, if you consider the RAM - particularly the internal RAM - sufficiently unreliable to require testing, is it valid to just assume that the rest of the chip will be fine to run the tests...??