$EEPROMHEX/de

(Difference between revisions)
Jump to: navigation, search
(Action)
(Remarks)
Line 16: Line 16:
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
  
= <span class="f_Header">Remarks</span><br/> =
+
= <span class="f_Header">Anmerkungen</span><br/> =
  
The AVR has build in EEPROM. With the WRITEEEPROM and READEEPROM statements, you can write and read to the EEPROM.
+
Die AVR-Mikrocontroller haben einen integrierten EEPROM-Speicher. Mit den WRITEEEPROM bzw. READEEPROM Befehlen kann man in den EEPROM-Speicher schreiben bzw. daraus lesen.
  
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
  
To store information in the EEPROM, you can add DATA lines to your program that hold the data that must be stored in the EEPROM. $EEPROM must be used to create a EEP file that holds the data.
+
Um Werte im EEPROM-Speicher zu speichern kann man die Werte in DATA-Zeilen schreiben. Es muss
 +
$EEPROM benutzt werden um eine  EEP-Datei zu generieren, die die Werte enthält.
  
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
  
The EEP file is by default a binary file. When you use the STK500 you need an Intel HEX file. Use $EEPROMHEX to create an Intel Hex EEP file.
+
Die EEP-Datei ist standardmäßig eine Binärdatei. Wenn man das STK500 benutzt dann benötigt man eine Intel Hex Datei. Benutzen Sie $EEPROMHEX um eine Intel Hex EEP-Datei zu erzeugen.
  
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
  
[[File:Notice.jpg|left|Notice.jpg]]&nbsp;$EEPROMHEX must be used together with $EEPROM.
+
[[File:Notice.jpg|left|Notice.jpg]]&nbsp;$EEPROMHEX muss zusammen mit $EEPROM benutzt werden.
  
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>

Revision as of 23:47, 9 March 2013

== (**COPIED FROM ENGLISH PAGE**) ==

Contents

Funktion

Weist den Compiler an, die Daten in der EEP-Datei im Intel HEX Format zu speichern statt im binären Format.

 

 

Syntax

$EEPROMHEX

 

 

Anmerkungen

Die AVR-Mikrocontroller haben einen integrierten EEPROM-Speicher. Mit den WRITEEEPROM bzw. READEEPROM Befehlen kann man in den EEPROM-Speicher schreiben bzw. daraus lesen.

 

Um Werte im EEPROM-Speicher zu speichern kann man die Werte in DATA-Zeilen schreiben. Es muss $EEPROM benutzt werden um eine EEP-Datei zu generieren, die die Werte enthält.

 

Die EEP-Datei ist standardmäßig eine Binärdatei. Wenn man das STK500 benutzt dann benötigt man eine Intel Hex Datei. Benutzen Sie $EEPROMHEX um eine Intel Hex EEP-Datei zu erzeugen.

 

Notice.jpg
 $EEPROMHEX muss zusammen mit $EEPROM benutzt werden.

 

 

See also

$EEPLEAVE

 

 

Example


$eeprom'the following DATA lines data will go to the EEP file
Data 200 , 100,50
$data

 

 

This would create an EEP file of 3 bytes. With the values 200,100 and 50.

Add $eepromhex in order to create an Intel Hex file.

 

 

This is how the EEP file content looks when using $eepromhex

 

:0A00000001020304050A141E283251
:00000001FF


Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language