Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

AT89C51ID2-RDTIM Datasheet(PDF) 138 Page - ATMEL Corporation

Part # AT89C51ID2-RDTIM
Description  8-bit Flash Microcontroller
PDF  159 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89C51ID2-RDTIM Datasheet(HTML) 138 Page - ATMEL Corporation

Back Button AT89C51ID2-RDTIM Datasheet HTML 134Page - ATMEL Corporation AT89C51ID2-RDTIM Datasheet HTML 135Page - ATMEL Corporation AT89C51ID2-RDTIM Datasheet HTML 136Page - ATMEL Corporation AT89C51ID2-RDTIM Datasheet HTML 137Page - ATMEL Corporation AT89C51ID2-RDTIM Datasheet HTML 138Page - ATMEL Corporation AT89C51ID2-RDTIM Datasheet HTML 139Page - ATMEL Corporation AT89C51ID2-RDTIM Datasheet HTML 140Page - ATMEL Corporation AT89C51ID2-RDTIM Datasheet HTML 141Page - ATMEL Corporation AT89C51ID2-RDTIM Datasheet HTML 142Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 138 / 159 page
background image
138
AT89C51ID2
4289A–8051–09/03
API Call Description
Several Application Program Interface (API) calls are available for use by an application
program to permit selective erasing and programming of Flash pages. All calls are made
through a common interface, PGM_MTP. The programming functions are selected by
setting up the microcontroller’s registers before making a call to PGM_MTP at FFF0h.
Results are returned in the registers.
When several bytes have to be programmed, it is highly recommended to use the Atmel
API “PROGRAM DATA PAGE” call. Indeed, this API call writes up to 128 bytes in a sin-
gle command.
All routines for software access are provided in the C Flash driver available on Atmel
web site.
The API calls description and arguments are shown in Table
Table 96. API Call Summary
Command
R1
A
DPTR0
DPTR1
Returned Value
Command Effect
READ MANUF ID
00h
XXh
0000h
XXh
ACC=Manufacturer Id Read Manufacturer identifier
READ DEVICE ID1
00h
XXh
0001h
XXh
ACC= Device Id 1
Read Device identifier 1
READ DEVICE ID2
00h
XXh
0002h
XXh
ACC=Device Id 2
Read Device identifier 2
READ DEVICE ID3
00h
XXh
0003h
XXh
ACC=Device Id 3
Read Device identifier 3
ERASE BLOCK
01h
XXh
DPH=00h
00h
ACC=DPH
Erase block 0
DPH=20h
Erase block 1
DPH=40h
Erase block 2
DPH=80h
Erase block 3
DPH=C0h
Erase block 4
PROGRAM DATA
BYTE
02h
Byte value to
program
Address of
byte to
program
ACC=0 : DONE
Program one Data Byte in user flash
ERASE BOOT
VECTOR
04h
XXh
XXh
XXh
ACC=FCh
Erase Software boot vector and boot status
byte. (SBV=FCh and BSB=FFh)
PROGRAM SSB
05h
XXh
DPH=00h
DPL=00h
00h
ACC= SSB value
Set SSB level 1
DPH=00h
DPL=01h
Set SSB level 2
DPH=00h
DPL=10h
Set SSB level 0
DPH=00h
DPL=11h
Set SSB level 1
PROGRAM BSB
06h
New BSB
value
0000h
XXh
none
Program boot status byte
PROGRAM SBV
06h
New SBV
value
0001h
XXh
none
Program software boot vector
READ SSB
07h
XXh
0000h
XXh
ACC=SSB
Read Software Security Byte
READ HSB
07h
XXh
0004h
XXh
ACC=HSB
Read Hardware Byte
READ BSB
07h
XXh
0001h
XXh
ACC=BSB
Read Boot Status Byte
READ SBV
07h
XXh
0002h
XXh
ACC=SBV
Read Software Boot Vector



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