Electronic Components Datasheet Search
  English  ▼

X  

ATMEGA640 Datasheet(PDF) 320 Page - Microchip Technology

Part # ATMEGA640
Description  8-bit Microcontroller with 16/32/64KB In-System Programmable Flash
PDF  436 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

ATMEGA640 Datasheet(HTML) 320 Page - Microchip Technology

Back Button ATMEGA640 Datasheet HTML 316Page - Microchip Technology ATMEGA640 Datasheet HTML 317Page - Microchip Technology ATMEGA640 Datasheet HTML 318Page - Microchip Technology ATMEGA640 Datasheet HTML 319Page - Microchip Technology ATMEGA640 Datasheet HTML 320Page - Microchip Technology ATMEGA640 Datasheet HTML 321Page - Microchip Technology ATMEGA640 Datasheet HTML 322Page - Microchip Technology ATMEGA640 Datasheet HTML 323Page - Microchip Technology ATMEGA640 Datasheet HTML 324Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 320 / 436 page
background image
320
ATmega640/V-1280/V-1281/V-2560/V-2561/V [DATASHEET]
DS40002211A
29.6.14
ATmega640 Boot Loader Parameters
In Table 29-7 through Table 29-9 on page 320, the parameters used in the description of the Self-Programming are
given.
Note:
1. The different BOOTSZ Fuse configurations are shown in Figure 29-2 on page 312.
Note:
1. For details about these two section, see “NRWW – No Read-While-Write Section” on page 311 and “RWW – Read-
While-Write Section” on page 311.
Note:
1. Z0: should be zero for all SPM commands, byte select for the (E)LPM instruction.
2. See “Addressing the Flash During Self-Programming” on page 314 for details about the use of Z-pointer during
Self-Programming.
Table 29-7.
Boot Size Configuration, ATmega640(1)
1
1
512 words
4
0x0000 - 0x7DFF
0x7E00 - 0x7FFF
0x7DFF
0x7E00
1
0
1024 words
8
0x0000 - 0x7BFF
0x7C00 - 0x7FFF
0x7BFF
0x7C00
0
1
2048 words
16
0x0000 - 0x77FF
0x7800 - 0x7FFF
0x77FF
0x7800
0
0
4096 words
32
0x0000 - 0x6FFF
0x7000 - 0x7FFF
0x6FFF
0x7000
Table 29-8.
Read-While-Write Limit, ATmega640
Section(1)
Pages
Address
Read-While-Write section (RWW)
224
0x0000 - 0x6FFF
No Read-While-Write section (NRWW)
32
0x7000 - 0x7FFF
Table 29-9.
Explanation of different variables used in Figure 29-3 on page 314 and the mapping to the Z-pointer,
ATmega640
Variable
Corresponding
Z-value(2)
Description(1)
PCMSB
14
Most significant bit in the Program Counter. (The Program Counter is 15
bits PC[14:0]).
PAGEMSB
6
Most significant bit which is used to address the words within one page
(128 words in a page requires seven bits PC [6:0]).
ZPCMSB
Z15
Bit in Z-pointer that is mapped to PCMSB. Because Z0 is not used, the
ZPCMSB equals PCMSB + 1.
ZPAGEMSB
Z7
Bit in Z-pointer that is mapped to PCMSB. Because Z0 is not used, the
ZPAGEMSB equals PAGEMSB + 1.
PCPAGE
PC[14:7]
Z15:Z8
Program Counter page address: Page select, for Page Erase and Page
Write.
PCWORD
PC[6:0]
Z7:Z1
Program Counter word address: Word select, for filling temporary buffer
(must be zero during Page Write operation).



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com