background image

Introduction

C51 Microcontrollers Demo Board User Guide

1-2

4119C–8051–3/03

Section 1

Introduction

The C51/C251 Demo Board allows easy evaluation of most of Atmel C51/C251 devices.
The C51/C251 Demo Board can be powered using a simple 9V battery or using a 9V
rechargeable battery. The C51/C251 Demo Board can also be used as programming
tool for Flash products.

1.1

Package 
Contents

n

One PCB C51/C251 Demo Board (with battery connector)

n

One Serial cable (1.8m length)

Figure 1-1.  

C51/C251 Demo Board

1.2

On-line Utilities

The following utilies involved in using the C51/C251 Demo Board are 

available on the

Atmel Web site http://www.atmel.com

.

Search for DEMOBOARD1.

n

FLIP: In-System Programming (ISP) software for Flash microcontrollers

n

ISP Demo Board Source and Code to program external Flash memory

n

Source and Code of demo software

Summary of Contents for C51

Page 1: ...C51 Microcontrollers Demo Board User Guide ...

Page 2: ......

Page 3: ...crocontrollers 2 4 2 4 Board Supply Considerations 2 5 2 5 Board Layout 2 6 2 6 J11 Switches 2 7 Section 3 Operation Mode 3 10 3 1 Flash Products 3 10 3 1 1 Switch Configuration 3 10 3 1 2 Running ISP 3 10 3 2 ISP External Flash Memory Mode 3 11 3 2 1 Hardware Configuration 3 11 3 2 2 Terminal Configuration 3 11 3 2 3 ISP Operation 3 11 3 3 Demo Mode 3 14 3 3 1 C51 Mode 3 14 3 3 2 C251 Mode 3 15 S...

Page 4: ......

Page 5: ...be used as programming tool for Flash products 1 1 Package Contents n One PCB C51 C251 Demo Board with battery connector n One Serial cable 1 8m length Figure 1 1 C51 C251 Demo Board 1 2 On line Utilities The following utilies involved in using the C51 C251 Demo Board are available on the Atmel Web site http www atmel com Search for DEMOBOARD1 n FLIP In System Programming ISP software for Flash mi...

Page 6: ...LCD Display 2 lines of 16 characters n An Eight LED Bar Graph n 128 KB Flash Memory n Three Different Sockets PLCC44 PLCC68 DIL24 n In System Programming ISP Software to Download HEX Files in Flash Memory n Hardware Capability to Program the Microcontrollers On Chip Flash Memory n Extension Connectors for Special Features Applications New Products or Demos ...

Page 7: ...orted The Demo Board does not support low voltage parts only 5V parts are supported Reset INT1 Power interface RS232 C51 C251 LCD 2 16 Bargraph Config switches 128 K Flash memory Glue Synchro connectors To All Extensions connector Parameter Typ Max Unit Supply DC voltage 9 12 V Supply DC current 200 mA Consumption at 12 MHz 60 100 mA Consumption at 60 MHz in X2 mode 110 150 mA non rechargeable bat...

Page 8: ...ay be powered by J2 for about 10 hours with one new non rechargeable battery Note J18 must be Off when the board is powered by J1 with a non rechargeable battery connected on J2 see figure 3 Figure 2 2 C51 C251 Demo Board powered by J1 with a non rechargeable battery on J2 Figure 2 3 C51 C251 Demo Board powered by J1 with a rechargeable battery on J2 J1 Power Supply Connector 9V to 12V DC IN J18 9...

Page 9: ...several C51 C251 Demo Boards together provides global reset interrupt for all connected C51 C251 Demo Boards n Synchro OUT Only one power supply is needed but it may be able to deliver enough current to supply all the C51 C251 Demo Boards There are no rules to connect two boards together anyone of the two DB9 may be used n RS232 Used to connect a terminal or through an RS232 serial communication p...

Page 10: ...X1 PLCC44 PLCC68 DIL24 Extension connector 7 6 5 4 3 2 1 0 ISP ALE PSEN UC4 UC3 UC2 UC1 UC0 Bit Number Bit Mnemonic Description 7 ISP1 In System Programming external Flash memory Set to enable external Flash memory programming Clear to protect external Flash memory from erasure and programming 6 ALE Address Latch Enable Set to see ALE activity Clear to ground ALE 5 PSEN Program Store Enable Set to...

Page 11: ...f the three sockets Crystal may be easily changed on each socket 1 0 MAP SELECT EA Bit Number Bit Mnemonic Description 1 MAP SELECT Map Select Set to select external Flash memory zone from 10000 to 1FFFF Clear to select external Flash memory zone from 00000 to 0FFFF 0 EA External Address Set to fetch internal code on chip code Clear to fetch code from external Flash memory 0 ISP2 Bit Number Bit Mn...

Page 12: ......

Page 13: ... Demo Board switches must be as shown on Figure 3 2 Figure 3 1 C51 C251 Demo Board Switches Configuration to use ISP 3 1 2 Running ISP The C51 C251 Demo Board must be connected to a PC com port via the RS232 cable connected to the RS232 connector of C51 C251 Demo Board After downloading you can run code by switching PSEN on J11 to 1 and pressing the RESET push button J11 PSEN ALE ISP1 User Code 1 ...

Page 14: ...used to program external Flash memory X1 must be 11 0592 Mhz and Atmel microcontroller must be plugged into PLCC44 socket Figure 3 2 C51 C251 Demo Board Switches Configuration to Program External Flash Memory 3 2 2 Terminal Configuration Use the following configuration for the terminal 3 2 3 ISP Operation 1 Connect C51 C251 Demo Board to the PC com port with the cable 2 Run Windows hyper terminal ...

Page 15: ...Configuration Figure 3 4 Terminal Window on Running ISP Turn on the C51 C251 Demo Board and then follow the instructions on the terminal screen and LCD display After erasing Flash the program asks for the memory zone and then asks to send the HEX file in text mode see Figure 3 4 Figure 3 5 Figure 3 6 ...

Page 16: ...Operation Mode 3 13 C51 Microcontrollers Demo Board User Guide 4119C 8051 3 03 Figure 3 5 Send HEX File in Text Mode Figure 3 6 Use in the Selection Zone to See HEX files in the Directory ...

Page 17: ...d another program to the second memory zone you will have to download both programs at the same time Note The data transfer is seen on bar graph 3 3 Demo Mode In demo mode programs stored into external flash memory are executed to demon strate capability of Atmel Microcontrollers To run external code we must have EA 0 In this mode the first four bits of J11 UC3 0 are used to select demo program an...

Page 18: ...Mode 3 3 2 C251 Mode In C251 mode the microcontroller can be used in Page Mode or Non Page Mode For Non Page Mode switch J8 must be in the same configuration as in C51 mode For Page Mode switch J8 must be as shown in Figure 3 9 Figure 3 9 C251 Mode Page Mode J11 J9 J16 J8 NON PAGE MODE J11 J9 J16 J8 PAGE MODE ...

Page 19: ...J9 Commut_DIP_2 Commut_DIP_2 1 J11 Commut_DIP_8 Commut_DIP_8 1 DIL J12 CONNECTOR CONNECTOR 1 DIN41612_3 32_MALE_Right_Angle J13 Jumper_2 54mm CONNECTOR 1 2 11 contacts J14 LCD_2X16 LCD_2X16 1 NULL J15 ALE_DIS Strap 0 J16 Commut_DIP_1 Commut_DIP_1 1 J17 Switch ON ON Switch ON ON 1 Inter ON OFF J18 jumper Battery Picot Pile 1 2 pins step of 2 54mm J19 Switch ON ON Switch ON ON R1 R24 R28 R29 RESISTO...

Page 20: ......

Page 21: ...C51 Demo Board User Guide 5 18 Rev 4119C 8051 3 03 Section 5 Schematics ...

Page 22: ...Schematics 5 19 C51 Demo Board User Guide 4119C 8051 3 03 ...

Page 23: ...Schematics C51 Demo Board User Guide 5 20 4119C 8051 3 03 ...

Page 24: ...Schematics 5 21 C51 Demo Board User Guide 4119C 8051 3 03 ...

Page 25: ...Schematics C51 Demo Board User Guide 5 22 4119C 8051 3 03 ...

Page 26: ...Schematics 5 23 C51 Demo Board User Guide 4119C 8051 3 03 ...

Page 27: ...a 77 Mody Road Tsimhatsui East Kowloon Hong Kong TEL 852 2721 9778 FAX 852 2722 1369 Japan Atmel Japan K K 9F Tonetsu Shinkawa Bldg 1 24 8 Shinkawa Chuo ku Tokyo 104 0033 Japan TEL 81 3 3523 3551 FAX 81 3 3523 7581 Memory Atmel Corporate 2325 Orchard Parkway San Jose CA 95131 TEL 1 408 436 4270 FAX 1 408 436 4314 Microcontrollers Atmel Corporate 2325 Orchard Parkway San Jose CA 95131 TEL 1 408 436...

Reviews: