Section 3

Device Programming

3.1

In-System

The on-chip memories and configuration bytes of the AT89C51CC0x parts can be pro-

 

Programming

grammed using the ISP mode of the device.

3.1.1Manual ISP Mode

3.1.1.1Board Configuration To use ISP mode, the board should be configured as follow:

„POWER switch (SW1) on “ON” position

„EA jumper should be open (internal code execution only).

„Before using ISP mode for T89C51CC02 or T89C5115 device, be sure to close SP1 solder pad ( See Section "T89C51CC02/T89C5115 Support (SP1)", page 8).

3.1.1.2Operating Mode To enter in ISP mode, press both the RESET (SW5) and ISP (SW4) buttons simulta- neously. First release the RESET button and then the ISP button. The device enters in ISP mode.

3.1.2

Auto ISP Mode

The Auto ISP is available only for parts with UART bootloader (-UA devices). It allows

 

 

the host PC application (Atmel FLIP software for example) to control the hardware con-

 

 

ditions from the serial lines RTS and DTR.

Thus with the Auto ISP mode, the user does not need to push the ISP and RESET buttons.

3.1.2.1Board Configuration To use Auto ISP mode, put the board in the same configuration as ISP mode and also:

„Close RTS (JP4) jumper

„Close DTR (JP5) jumper

AT89STK-06 Demo Board Software Demonstration Guide

3-11

Rev. 4339C–CAN–07/05