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

C51 data memory test

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

Parents
  • 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...??

Reply
  • 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...??

Children
No data