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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/12/09 15:39
Read: times


 
Msg Score: +2
 +2 Good Answer/Helpful
#168860 - Let this be a turning point....
Responding to: ???'s previous message
Overlay of data variables and bit memory (this can happen with register banks too) happens because of a coding style that hard codes the addresses (or the ORGs) of the variables and bit values.

All the 8051 tools I've used have techniques that can be deployed wherein the Assembler or Linker will assign the actual values to the addresses for these variables and prevent the type of problem that you've had. Some can even give warnings when the available space for assignments is exhausted.

This experience should be the turning point for you to look at the full array of features of your tool set and use them to your advantage.

Michael Karas


List of 8 messages in thread
TopicAuthorDate
DS1307 glitch            01/01/70 00:00      
   DS1307            01/01/70 00:00      
      @Hal            01/01/70 00:00      
         Quit sure time problem ;)            01/01/70 00:00      
   DS1307 stores registers in BCD            01/01/70 00:00      
      never heard of that one            01/01/70 00:00      
   problem phinally solved!            01/01/70 00:00      
      Let this be a turning point....            01/01/70 00:00      

Back to Subject List