beautypg.com

flash programming and erasure, Figure 19), Preliminary – Rainbow Electronics T89C51CC02 User Manual

Page 36

background image

36

Rev.A - May 17, 2001

Preliminary

T89C51CC02

10.2. Flash Programming and Erasure

There are three methods of programming the Flash memory:

The Atmel bootloader located in FM1 is activated by the application. Low level API routines (located in FM1)
to program FM0 will be used. The interface used for serial downloading to FM0 is the UART or the CAN.
API can be called also by user’s bootloader located in FM0 at [SBV]00h.

A further method exist in activating the Atmel boot loader by hardware activation.

The FM0 can be programed also by the parallel mode using a programmer.

Figure 19. Flash Memory Mapping

F800h

3FFFh

16 Kbytes

Flash memory

2 Kbytes IAP

bootloader

FM0

FM1

Custom
Boot Loader

[SBV]00h

FFFFh

FM1 mapped between FFFF and F800
when API called

0000h