Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

T89C51RD2-3CWC-M Datasheet(PDF) 56 Page - ATMEL Corporation

Part # T89C51RD2-3CWC-M
Description  0 to 40MHz Flash Programmable 8-bit Microcontroller
PDF  86 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

T89C51RD2-3CWC-M Datasheet(HTML) 56 Page - ATMEL Corporation

Back Button T89C51RD2-3CWC-M Datasheet HTML 52Page - ATMEL Corporation T89C51RD2-3CWC-M Datasheet HTML 53Page - ATMEL Corporation T89C51RD2-3CWC-M Datasheet HTML 54Page - ATMEL Corporation T89C51RD2-3CWC-M Datasheet HTML 55Page - ATMEL Corporation T89C51RD2-3CWC-M Datasheet HTML 56Page - ATMEL Corporation T89C51RD2-3CWC-M Datasheet HTML 57Page - ATMEL Corporation T89C51RD2-3CWC-M Datasheet HTML 58Page - ATMEL Corporation T89C51RD2-3CWC-M Datasheet HTML 59Page - ATMEL Corporation T89C51RD2-3CWC-M Datasheet HTML 60Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 56 / 86 page
background image
Rev. F - 15 February, 2001
56
T89C51RD2
erase block, program byte or page, verify byte or page, program security lock bit, etc. The Boot FLASH can be
locked to prevent erasing. If erased, the Boot FLASH can be restored by parallel programming. Indeed, ATMEL
Wireless and Microcontrollers provides the binary code of the default FLASH boot loader (see section 8.7. ).
Figure 20. Boot loader memory map
Reset Code Execution
At the falling edge of reset (unless the hardware conditions on PSEN, EA and ALE are set as described below),
the T89C51RD2 reads the BLJB bit in the HSB byte. If this bit is set, it jumps to 0000h and if not, it jumps to
FC03h. At this address, the boot software reads two special FLASH registers: the Software Boot Vector (SBV)
and the Boot Status Byte (BSB). If the BSB is set to zero, power-up execution starts at location 0000h, which is
the normal start address of the user’s application code. When the Status Byte is set to a value other than zero, the
contents of the Boot Vector is used as the high byte of the execution address and the low byte is set to 00h. The
factory default setting is FCh, corresponding to the address FC00h for the factory default FLASH ISP boot loader.
A custom boot loader can be written with the Boot Vector set to the custom boot loader address.
It is recommanded to set the BSB before any other IAP so the device automatically resumes ISP when reset. ISP
routines shall only clear BSB after succesfull IAP completion.
Hardware Activation of the Boot Loader
The default boot loader can also be executed by holding PSEN LOW, EA HIGH, and ALE HIGH (or not connected)
at the falling edge of RESET. This has the same effect as having a non-zero status byte anf the Boot Vector equal
to FCh. This allows an application to be built that will normally execute the end user’s code but can be manually
forced into default ISP operation.
As PSEN has the same structure as P1-P3, the current to force PSEN to 0 as ITL is defined in the DC parameters.
If the factory default setting for the Boot Vector (FCh) is changed, it will no longer point to the ISP default
FLASH boot loader code. It can be restored:
With the default ISP activated with hardware conditions on PSEN, EA and ALE.
With a customized loader (in the end user application) that provides features for erasing and reprogramming
of the Boot Vector and BSB.
Through the parallel programming method.
After programming the FLASH, the status byte should be programmed to zero in order to allow execution of the
user’s application code beginning at address 0000h.
FFF0
FC00
FC03
Entry point for API
Status byte check
ISP start



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


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