$EEPROMHEX/de

From MCS Wiki AVR
< $EEPROMHEX(Difference between revisions)
Jump to: navigation, search
m (1 revision)
(Beispiel)
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
 
== (**COPIED FROM ENGLISH PAGE**) ==<div id="idcontent"><div id="innerdiv">
 
== (**COPIED FROM ENGLISH PAGE**) ==<div id="idcontent"><div id="innerdiv">
= <span class="f_Header">Action</span><br/> =
+
= <span class="f_Header">Funktion</span><br/> =
  
Instruct the compiler to store the data in the EEP file in Intel HEX format instead of binary format.
+
Weist den Compiler an, die Daten in der EEP-Datei im Intel HEX Format zu speichern statt im binären Format.
  
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
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>
Line 36: Line 37:
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
  
= <span class="f_Header">See also</span><br/> =
+
= <span class="f_Header">Siehe auch</span><br/> =
  
 
[[$EEPLEAVE|$EEPLEAVE]]
 
[[$EEPLEAVE|$EEPLEAVE]]
Line 44: Line 45:
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
  
= <span class="f_Header">Example</span><br/> =
+
= <span class="f_Header">Beispiel</span><br/> =
  
 
<br/><source lang="bascomavr">
 
<br/><source lang="bascomavr">
$eeprom'the following DATA lines data will go to the EEP file
+
$eeprom'Die Werte der folgenden DATA-Zeilen werden in eine EEP-Datei geschrieben.
Data 200 , 100,50
+
Data 200,100,50
 
$data
 
$data
 
</source><br/><span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
 
</source><br/><span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
  
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
+
<span style="font-family: 'Arial';  color: #000000"></span>
 
+
Es wird eine EEP-Datei mit 3 Bytes mit den Werten 200, 100 und 50 generiert.
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.
+
Fügen Sie $eepromhex hinzu um eine Intel Hex Datei zu generieren.
  
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
Line 62: Line 62:
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
  
This is how the EEP file content looks when using $eepromhex
+
So sieht die EEP-Datei bei Verwendung von $eepromhex aus:
  
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
 
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>

Latest revision as of 23:54, 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.

 

 

Siehe auch

$EEPLEAVE

 

 

Beispiel


$eeprom'Die Werte der folgenden DATA-Zeilen werden in eine EEP-Datei geschrieben.
Data 200,100,50
$data

 

Es wird eine EEP-Datei mit 3 Bytes mit den Werten 200, 100 und 50 generiert.

Fügen Sie $eepromhex hinzu um eine Intel Hex Datei zu generieren.

 

 

So sieht die EEP-Datei bei Verwendung von $eepromhex aus:

 

:0A00000001020304050A141E283251
:00000001FF


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