Hello All,

Here's a question, would it make sense to run a memory test of a 
microprocessor, such as the 8052?

For example, on power up, write a pattern of bits to each RAM location 
and then read back the pattern to verify that each byte of RAM is 
working properly.  With only 256 bytes of RAM in the typical 8052, it 
wouldn't take long to test the RAM.

Would it make sense to write such a routine in C or would it better to 
use inline assembly?

Several other questions then come to mind, such as what do you do upon a 
failure.

Likewise is there some way to perform a similar test on read only code 
memory or on in system programmable flash memory?

Just curious what other people have done in this area.

Thanks!

Rich.





------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to