Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/17/06 12:19
Read: times


 
#116373 - I second that. Neither we nor you ...
Responding to: ???'s previous message
... have a chance of finding the bug when a mile of code is involved. As Jon and Andy suggest "you need to start by writing a simple application that just reads and writes the EEPROM. Once you have that working, you can move on to integrating it with the rest of your code."

I have so often seen, as a result of "the code must be finished when the hardware arrives" that "a mile" of code is malfunctioning and everybody run all over trying to find the needle in the haystack. You need to make the haystack smaller to have a chance of finding the needle.

The only way I know of making working code is to make small parts, make them work, and then include them. OK, there is, of course, also luck.

one word of advice: you have done a "reasonable" job regarding comments, do a "great" job instead. Often a bug can be found by simply commenting the buggy area.

Erik

List of 8 messages in thread
TopicAuthorDate
incremental read or write to seeprom            01/01/70 00:00      
   Some points            01/01/70 00:00      
   Good post!            01/01/70 00:00      
      I second that. Neither we nor you ...            01/01/70 00:00      
         Often a bug can be found            01/01/70 00:00      
            elaborating            01/01/70 00:00      
         Some delay could help            01/01/70 00:00      
      Thanks you all            01/01/70 00:00      

Back to Subject List