Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

T89C51AC2 Datasheet(PDF) 21 Page - ATMEL Corporation

Part # T89C51AC2
Description  80C51 Microcontrollers
PDF  29 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

T89C51AC2 Datasheet(HTML) 21 Page - ATMEL Corporation

Back Button T89C51AC2 Datasheet HTML 17Page - ATMEL Corporation T89C51AC2 Datasheet HTML 18Page - ATMEL Corporation T89C51AC2 Datasheet HTML 19Page - ATMEL Corporation T89C51AC2 Datasheet HTML 20Page - ATMEL Corporation T89C51AC2 Datasheet HTML 21Page - ATMEL Corporation T89C51AC2 Datasheet HTML 22Page - ATMEL Corporation T89C51AC2 Datasheet HTML 23Page - ATMEL Corporation T89C51AC2 Datasheet HTML 24Page - ATMEL Corporation T89C51AC2 Datasheet HTML 25Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 29 page
background image
21
A/T89C51AC2 UART Bootloader
4231C–CAN–03/05
In-Application
Programming/Self-
programming
The IAP allows to reprogram a microcontroller on-chip Flash memory without removing
it from the system and while the embedded application is running.
The user application can call some Application Programming Interface (API) routines
allowing IAP. These API are executed by the bootloader.
To call the corresponding API, the user must use a set of Flash_api routines which can
be linked with the application.
Example of Flash_api routines are available on the Atmel web site on the software appli-
cation note:
C Flash Drivers for the A/T89C51AC2
The Flash_api routines on the package work only with the UART bootloader.
The Flash_api routines are listed in APPENDIX-B.
API Call
Process
The application selects an API by setting R1, ACC, DPTR0 and DPTR1 registers.
All calls are made through a common interface “USER_CALL” at the address FFF0h.
The jump at the USER_CALL must be done by LCALL instruction to be able to come-
back in the application.
Before jump at the USER_CALL, the bit ENBOOT in AUXR1 register must be set.
Constraints
The interrupts are not disabled by the bootloader.
Interrupts must be disabled by the user prior to jump to the USER_CALL, then re-
enabled when returning.
Interrupts must also be disabled before accessing EEPROM data then re-enabled after.
The user must take care of hardware watchdog before launching a Flash operation.
For more information regarding the Flash writing time see the A/T89C51AC2 datasheet.



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


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