User manual
myEthernet Technische Beschreibung / technical description 35/48
www.myAVR.de © Laser & Co. Solutions GmbH – 06/2009 www.myAVR.com
5.3.6 SharedEEPROM (Pin 5000…7999)
Der SharedEeprom ist ein Speicherbereich im EEPROM
des Mikrocontrollers, auf den sowohl über den Webserver
als auch über externe Schnittstellen (z. B. TWI) zugegriffen
werden kann.
• Virtuelle Pins:
5000... = Daten byte-weise,
ab Adresse 0
6000... = Daten word-weise,
ab Adresse 0 (nicht Nr des Word,
sondern Adresse im EEPROM)
7000... = Daten dword-weise,
ab Adresse 0 (nicht Nr des DWord,
sondern Adresse im EEPROM)
• Einträge in der config.cfg:
sharedEepromSize=<ramGröße>
Mit diesem optionalem Parameter kann die
Größe des SharedEEPROM festgelegt werden.
Die Standardgröße ist 128 Byte.
• Abfrage / Darstellung auf HTML-Seite:
°v<pinNr>° = Eingelesener bzw. zuletzt
ausgegebener Wert
Beispiele:
• Wert ändern / speichern:
myChangeCmd=°o5020~0x33°
• Ersetzung für aktuellen Wert:
°v5020° = 20. Byte darstellen
5.3.6 SharedEEPROM (pin 5000...7999)
The SharedEEPROM is a memory area in the EEPROM
of the microcontroller. You can access to this memory
area via the web server but also via the external
interfaces (e.g. TWI).
• Virtual pins:
5000... = Data byte-by-byte,
from address 0
6000... = Data word-by-word,
from address 0 (not number of the
word, but address in the EEPROM)
7000... = Data dword-by-dword,
from address 0 (not number of the
Dword but address in the EEPROM)
• Entry in the config.cfg:
sharedEepromSize=<ramGröße>
The size of the SharedEEPROM can be de-
termined with this optional parameter. The
standard size is 128 byte.
• Query / presentation on the html-file:
°v<pinNr>°
= value which is read or
readout at last
Examples:
• Change / save the value:
myChangeCmd=°o5020~0x33°
• Replacements for the actually value
°v5020° = present the 20th byte