See: General Error Detection and Correction.
But except for CRC, these methods are a bit hard to implement on a PIC, even an '877. CRC has been done.
Ken's serial port multiplexer is a great example of CRC use, in that case for testing external RAM but the idea is the same.
Questions:
has anyone written a routine for checking the ram memory onboard of a pic? identify and mark a 'badram' address and exclude this somehow in the cblock section for memory allocation? the application would be for batch production where you would not want to check manually every part and adjust the cblock for every device programmed. anyone? Thanks for the help+
file: /Techref/microchip/memerr.htm, 1KB, , updated: 2009/9/9 10:57, local time: 2024/12/26 16:44,
18.191.72.220:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/Techref/microchip/memerr.htm"> PIC Microcontoller Memory Methods for Error Detection and Correction</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.