Rainbow-electronics ATmega128RFA1 Manual do Utilizador Página 472

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 524
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 471
472
8266A-MCU Wireless-12/09
ATmega128RFA1
Figure 31-5. Addressing the Flash which is Organized in Pages
(1)
PROGRAM MEMORY
WORD ADDRESS
WITHIN A PAGE
PAGE ADDRESS
WITHIN THE FLASH
INSTRUCTION WORD
PAGE
PCWORD[PAGEMSB:0]:
00
01
02
PAGEEND
PAGE
PCWORDPCPAGE
PCMSB
PAGEMSB
PROGRAM
COUNTER
Note: 1. PCPAGE and PCWORD are listed in Table 31-7 on page 467.
Figure 31-3. Programming the Flash Waveforms
(1)
Note: 1. “XX” is don’t care. The letters refer to the programming description above.
31.7.5 Programming the EEPROM
The EEPROM is organized in pages; see Table 31-8 on page 467. When programming
the EEPROM, the program data is latched into a page buffer. This allows one page of
data to be programmed simultaneously. The programming algorithm for the EEPROM
data memory is as follows (refer to "Programming the Flash" on page 470 for details on
Command, Address and Data loading):
1. A: Load Command “0001 0001”.
2. G: Load Address High Byte (0x00 - 0xFF).
3. B: Load Address Low Byte (0x00 - 0xFF).
4. C: Load Data (0x00 - 0xFF).
5. E: Latch data (give PAGEL a positive pulse).
Vista de página 471
1 2 ... 467 468 469 470 471 472 473 474 475 476 477 ... 523 524

Comentários a estes Manuais

Sem comentários