beautypg.com

Functional description, In-system programming capability, Block diagram – Rainbow Electronics AT89C5132 User Manual

Page 2

background image

2

AT89C5132

4256A–USB–06/03

Functional
Description

The AT89C5132 USB Bootloader facilitates In-System Programming (ISP) and In-Appli-
cation Programming (IAP) .

In-System Programming
Capability

In-System Programming allows the user to program or reprogram the microcontroller
on-chip Flash memory without removing it from the system and without the need of a
pre-programmed application.

The USB bootloader can manage a communication with a host through the USB bus. It
can also access and perform requested operations on the on-chip Flash memory.

In-Application
Programming or Self-
Programming Capability

IAP allows the reprogramming of the microcontroller on-chip Flash memory without
removing it from the system and while the embedded application is running.

The USB bootloader contains some Application Programming Interface routines named
API routines allowing IAP by using the user’s firmware.

Block Diagram

This section describes the different parts of the USB bootloader. Figure 1 shows the on-
chip bootloader and IAP processes.

Figure 1. Bootloader Process Description

ISP Communication

Management

User

Application

USB Protocol

Communication

Management

Flash

Memory

External host via the

Flash Memory

IAP

Management

User Call

On-chip