Rainbow-electronics ATmega163L Uživatelský manuál Strana 128

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 156
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 127
ATmega163(L)
128
Figure 82. Programming the Flash Waveforms
Figure 83. Programming the Flash Waveforms (continued)
Programming the EEPROM
The programming algorithm for the EEPROM data memory is as follows (refer to Programming the Flash on page 126 for
details on Command, Address and Data loading):
1. A: Load Command 0001 0001.
2. H: Load Address High Byte ($00 - $01)
3. B: Load Address Low Byte ($00 - $FF)
4. E: Load Data Low Byte ($00 - $FF)
L: Write Data Low Byte
1. Set BS to 0. This selects low data.
2. Give WR
a negative pulse. This starts programming of the data byte. RDY/BSY goes low.
$10 ADDR. LOW ADDR. HIGH DATA LOWDATA
XA1
XA2
BS1
XTAL1
RDY/BSY
RESET
WR
OE
+12V
BS2
PAGEL
DATA HIGH
DATA
XA1
XA0
BS1
XTAL1
WR
RDY/BSY
RESET
+12V
OE
BS2
PAGEL
Zobrazit stránku 127
1 2 ... 123 124 125 126 127 128 129 130 131 132 133 ... 155 156

Komentáře k této Příručce

Žádné komentáře