Electronic Components Datasheet Search
  English  ▼

X  

ATmega128 Datasheet(PDF) 317 Page - ATMEL Corporation

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

ATmega128 Datasheet(HTML) 317 Page - ATMEL Corporation

Back Button ATmega128 Datasheet HTML 313Page - ATMEL Corporation ATmega128 Datasheet HTML 314Page - ATMEL Corporation ATmega128 Datasheet HTML 315Page - ATMEL Corporation ATmega128 Datasheet HTML 316Page - ATMEL Corporation ATmega128 Datasheet HTML 317Page - ATMEL Corporation ATmega128 Datasheet HTML 318Page - ATMEL Corporation ATmega128 Datasheet HTML 319Page - ATMEL Corporation ATmega128 Datasheet HTML 320Page - ATMEL Corporation ATmega128 Datasheet HTML 321Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 317 / 386 page
background image
317
2467S–AVR–07/09
ATmega128
Programming the
Fuses
1.
Enter JTAG instruction PROG_COMMANDS.
2.
Enable Fuse write using programming instruction 6a.
3.
Load data byte using programming instructions 6b. A bit value of “0” will program the cor-
responding fuse, a “1” will unprogram the fuse.
4.
Write Extended Fuse byte using programming instruction 6c.
5.
Poll for Fuse write complete using programming instruction 6d, or wait for t
WLRH (refer to
Table Note: on page 299).
6.
Load data byte using programming instructions 6e. A bit value of “0” will program the cor-
responding fuse, a “1” will unprogram the fuse.
7.
Write Fuse high byte using programming instruction 6f.
8.
Poll for Fuse write complete using programming instruction 6g, or wait for t
WLRH (refer to
Table Note: on page 299).
9.
Load data byte using programming instructions 6h. A “0” will program the fuse, a “1” will
unprogram the fuse.
10. Write Fuse low byte using programming instruction 6i.
11. Poll for Fuse write complete using programming instruction 6j, or wait for t
WLRH (refer to
Table Note: on page 299).
Programming the Lock
Bits
1.
Enter JTAG instruction PROG_COMMANDS.
2.
Enable Lock bit write using programming instruction 7a.
3.
Load data using programming instructions 7b. A bit value of “0” will program the corre-
sponding lock bit, a “1” will leave the lock bit unchanged.
4.
Write Lock bits using programming instruction 7c.
5.
Poll for Lock bit write complete using programming instruction 7d, or wait for t
WLRH (refer
to Table Note: on page 299).
Reading the Fuses
and Lock Bits
1.
Enter JTAG instruction PROG_COMMANDS.
2.
Enable Fuse/Lock bit read using programming instruction 8a.
3.
To read all Fuses and Lock bits, use programming instruction 8f.
To only read Extended Fuse byte, use programming instruction 8b.
To only read Fuse high byte, use programming instruction 8c.
To only read Fuse low byte, use programming instruction 8d.
To only read Lock bits, use programming instruction 8e.
Reading the Signature
Bytes
1.
Enter JTAG instruction PROG_COMMANDS.
2.
Enable Signature byte read using programming instruction 9a.
3.
Load address $00 using programming instruction 9b.
4.
Read first signature byte using programming instruction 9c.
5.
Repeat steps 3 and 4 with address $01 and address $02 to read the second and third
signature bytes, respectively.
Reading the
Calibration Byte
1.
Enter JTAG instruction PROG_COMMANDS.
2.
Enable Calibration byte read using programming instruction 10a.
3.
Load address $00 using programming instruction 10b.
4.
Read the calibration byte using programming instruction 10c.



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