$EEPROMHEX/de
m (1 revision) |
(→Action) |
||
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"> | + | = <span class="f_Header">Funktion</span><br/> = |
− | + | 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"> </span> | <span style="font-family: 'Arial'; color: #000000"> </span> |
Revision as of 23:39, 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
Remarks
The AVR has build in EEPROM. With the WRITEEEPROM and READEEPROM statements, you can write and read to the EEPROM.
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.
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.
$EEPROMHEX must be used together with $EEPROM.
See also
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 |
---|