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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/23/04 22:07
Read: times


 
#73052 - Identify hardware variants?
Responding to: ???'s previous message
"How to calculate the size of ROM"

If it truly is just ROM (ie, purely Read-Only Memory), there's nothing you can do to it other than just run whatever code is in it - so there's no need to know its actual size.
If you want to be able to program it, it must be some sort of PROM - most probably Flash - so you can read the Device ID.

"How to calculate the size of ... RAM"

If you want your code to run on a number of different hardware variants, you probably don't really need to precisely calculate the RAM size - just identify whether it's a "Big RAM" or a "Small RAM" board.
Probably the best way to do this is to have some sort of "hardware identifier" on the board that the processor can read; eg, an EEPROM that gets programmed as part of the final manufacturing test.

http://www.8052.com/forum/read.phtml?id=71156

List of 12 messages in thread
TopicAuthorDate
How to check ROM at boot up            01/01/70 00:00      
   RE: How to check ROM at boot up            01/01/70 00:00      
   Why?            01/01/70 00:00      
      RE: Why?            01/01/70 00:00      
         RE: Why?            01/01/70 00:00      
            RE: Why?            01/01/70 00:00      
               RE: Why?            01/01/70 00:00      
                  ISP vs IAP            01/01/70 00:00      
         But why an OS at all on an 8051?            01/01/70 00:00      
   RE: How to check ROM at boot up            01/01/70 00:00      
      RE: How to check ROM at boot up            01/01/70 00:00      
      Identify hardware variants?            01/01/70 00:00      

Back to Subject List