数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ATtiny5 数据表(PDF) 114 Page - ATMEL Corporation

部件名 ATtiny5
功能描述  8-bit Microcontroller with 512/1024 Bytes In-System Programmable Flash
PDF  168 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  ATMEL [ATMEL Corporation]
网页  http://www.atmel.com
标志 ATMEL - ATMEL Corporation

ATtiny5 数据表(HTML) 114 Page - ATMEL Corporation

Back Button ATtiny5 Datasheet HTML 110Page - ATMEL Corporation ATtiny5 Datasheet HTML 111Page - ATMEL Corporation ATtiny5 Datasheet HTML 112Page - ATMEL Corporation ATtiny5 Datasheet HTML 113Page - ATMEL Corporation ATtiny5 Datasheet HTML 114Page - ATMEL Corporation ATtiny5 Datasheet HTML 115Page - ATMEL Corporation ATtiny5 Datasheet HTML 116Page - ATMEL Corporation ATtiny5 Datasheet HTML 117Page - ATMEL Corporation ATtiny5 Datasheet HTML 118Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 114 / 168 page
background image
114
8127C–AVR–10/09
ATtiny4/5/9/10
15.4.4
Reading NVM Lock Bits
The Non-Volatile Memory Lock Byte can be read from the mapped location in data memory.
15.4.5
Writing NVM Lock Bits
The algorithm for writing the Lock bits is as follows.
1. Write the WORD_WRITE command to the NVMCMD register.
2. Write the lock bits value to the Non-Volatile Memory Lock Byte location. This is the low
byte of the Non-Volatile Memory Lock Word.
3. Start the NVM Lock Bit write operation by writing a dummy byte to the high byte of the
NVM Lock Word location.
4. Wait until the NVMBSY bit has been cleared.
15.5 Self programming
The ATtiny4/5/9/10 don't support internal programming.
15.6 External Programming
The method for programming the Non-Volatile Memories by means of an external programmer is
referred to as external programming. External programming can be done both in-system or in
mass production.
The Non-Volatile Memories can be externally programmed via the Tiny Programming Interface
(TPI). For details on the TPI, see “Programming interface” on page 96. Using the TPI, the exter-
nal programmer can access the NVM control and status registers mapped to I/O space and the
NVM memory mapped to data memory space.
15.6.1
Entering External Programming Mode
The TPI must be enabled before external programming mode can be entered. The following pro-
cedure describes, how to enter the external programming mode after the TPI has been enabled:
1. Make a request for enabling NVM programming by sending the NVM memory access
key with the SKEY instruction.
2. Poll the status of the NVMEN bit in TPISR until it has been set.
Refer to the Tiny Programming Interface description on page 96 for more detailed information of
enabling the TPI and programming the NVM.
15.6.2
Exiting External Programming Mode
Clear the NVM enable bit to disable NVM programming, then release the RESET pin.
See NVMEN bit in “TPISR – Tiny Programming Interface Status Register” on page 106.



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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