.Base Property

Top  Previous  Next

 

Function:

Sets/returns the base address of the EEPROM from which the area available to your application starts.

Type:

Word

Value Range:

1-<actual memory capacity>, default= <size of special configuration area>+1

See Also:

Stor Object, stor.size

 


Details

By default, the value returned by this property is the address of the first EEPROM location just above the special configuration area. For example, if the size of the special configuration area on your platform is 28 bytes then stor.base will return 29 by default.

This Default value makes sure that your application won't overwrite MAC or password. When you are accessing EEPROM memory using stor.set or stor.get methods, you specify the start address. Actual physical address you access is start_address+stor.base-1.

If your application needs to change some parameters in the configuration area you can set the stor.base to 1- this way you will have access to the entire memory.