Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ATmega165 Datasheet(PDF) 244 Page - ATMEL Corporation

Part # ATmega165
Description  8-bit Microcontroller with 16K Bytes In-System Programmable Flash
PDF  336 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATmega165 Datasheet(HTML) 244 Page - ATMEL Corporation

Back Button ATmega165 Datasheet HTML 240Page - ATMEL Corporation ATmega165 Datasheet HTML 241Page - ATMEL Corporation ATmega165 Datasheet HTML 242Page - ATMEL Corporation ATmega165 Datasheet HTML 243Page - ATMEL Corporation ATmega165 Datasheet HTML 244Page - ATMEL Corporation ATmega165 Datasheet HTML 245Page - ATMEL Corporation ATmega165 Datasheet HTML 246Page - ATMEL Corporation ATmega165 Datasheet HTML 247Page - ATMEL Corporation ATmega165 Datasheet HTML 248Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 244 / 336 page
background image
244
ATmega165/V
2573G–AVR–07/09
ret
; re-enable the RWW section
ldi
spmcrval, (1<<RWWSRE) | (1<<SPMEN)
call
Do_spm
rjmp
Return
Do_spm:
; check for previous SPM complete
Wait_spm:
in
temp1, SPMCSR
sbrc
temp1, SPMEN
rjmp
Wait_spm
; input: spmcrval determines SPM action
; disable interrupts if enabled, store status
in
temp2, SREG
cli
; check that no EEPROM write access is present
Wait_ee:
sbic
EECR, EEWE
rjmp
Wait_ee
; SPM timed sequence
out
SPMCSR, spmcrval
spm
; restore SREG (to enable interrupts if originally enabled)
out
SREG, temp2
ret
ATmega165 Boot Loader
Parameters
In Table 96 through Table 98, the parameters used in the description of the Self-Pro-
gramming are given.
Note:
1. The different BOOTSZ Fuse configurations are shown in Figure 109
Note:
1. For details about these two section, see “NRWW – No Read-While-Write Section” on
page 233 and “RWW – Read-While-Write Section” on page 233.
Table 96. Boot Size Configuration
(1)
1
1
128
words
2
0x0000 -
0x1F7F
0x1F80 -
0x1FFF
0x1F7F
0x1F80
1
0
256
words
4
0x0000 -
0x1EFF
0x1F00 -
0x1FFF
0x1EFF
0x1F00
0
1
512
words
8
0x0000 -
0x1DFF
0x1E00 -
0x1FFF
0x1DFF
0x1E00
0
0
1024
words
16
0x0000 -
0x1BFF
0x1C00 -
0x1FFF
0x1BFF
0x1C00
Table 97. Read-While-Write Limit(1)
Section
Pages
Address
Read-While-Write section (RWW)
112
0x0000 - 0x1BFF
No Read-While-Write section (NRWW)
16
0x1C00 - 0x1FFF



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