In-system programming (isp), Flash programming and erasure – Rainbow Electronics T89C5115 User Manual
Page 38
38
T89C5115
4128A–8051–04/02
In-System
Programming (ISP)
With the implementation of the User Space (FM0) and the Boot Space (FM1) in Flash
technology the T89C5115 allows the system engineer the development of applications
with a very high level of flexibility. This flexibility is based on the possibility to alter the
customer program at any stages of a product’s life:
•
Before assembly the 1st personalization of the product by programming in the FM0
and if needed also a customized Boot loader in the FM1.
Atmel provide also a standard Boot loader by default UART
•
After assembling on the PCB in its final embedded position by serial mode via the
UART.
This In-System Programming (ISP) allows code modification over the total lifetime of the
product.
Besides the default Boot loader Atmel provide to the customer also all the needed Appli-
cation-Programming-Interfaces (API) which are needed for the ISP. The API are located
also in the Boot memory.
This allow the customer to have a full use of the 16-Kbyte user memory.
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)will be used to program FM0. The interface used for serial
downloading to FM0 is the UART. 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 programmed also by the parallel mode using a programmer.
Figure 16. Flash Memory Mapping
F800h
3FFFh
16-KB
Flash memory
2K Bytes IAP
bootloader
FM0
FM1
Custom
Boot Loader
[SBV]00h
FFFFh
FM1 mapped between F800h and FFFFh
when API called
0000h