ملخص المحتوى في الصفحة رقم 1
C51 Microcontrollers Demo Board
..............................................................................................
User Guide
ملخص المحتوى في الصفحة رقم 2
ملخص المحتوى في الصفحة رقم 3
Table of Contents Section 1 Introduction ........................................................................................... 1-2 1.1 C51/C251 Support ....................................................................................1-2 1.2 Demo Board Features...............................................................................1-3 Section 2 Hardware Description ........................................................................... 2-4 2.1 Block Diagram....................
ملخص المحتوى في الصفحة رقم 4
ملخص المحتوى في الصفحة رقم 5
Introduction 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 One PCB C51/C251 Demo Board (with battery connector) Contents One Serial cable (1.8m length) Figure 1-1. C51/C251 Demo Board 1.2 On-line Utilities The following utilies involved in us
ملخص المحتوى في الصفحة رقم 6
Introduction 1.3 Support Questions can be sent to: mcu@atmel.com 1.4 Demo Board An LCD Display (2 lines of 16 characters) Features An Eight LED Bar Graph 128 KB Flash Memory Three Different Sockets: PLCC44, PLCC68 & DIL24 In-System Programming (ISP) Software to Download HEX Files in Flash Memory Hardware Capability to Program the Microcontrollers On-Chip Flash Memory Extension Connectors for Special Features, Applications, New Products, or Demos 1-3 C51 Microcontrollers Demo Board
ملخص المحتوى في الصفحة رقم 7
Hardware Description Section 2 Hardware Description 2.1 Block Diagram Figure 2-1. Block Diagram Bargraph Synchro connectors RS232 LCD 2*16 Reset & INT1# C51/C251 Glue 128 K Flash memory To All Config switches Extensions connector Power interface 2.2 Specifications 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 battery capacity 550 mAh Rechargeable battery capacity 150 mAh 2.3
ملخص المحتوى في الصفحة رقم 8
Hardware Description 2.4 Board Supply Power connector J1 or battery connector J2 may be used to power the board. Considerations On J2 connector a rechargeable battery or a non-rechargeable battery may be used. In case of rechargeable battery usage on J2, if J18 is ON the battery is charged when the board is powered by J1. Board may 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 b
ملخص المحتوى في الصفحة رقم 9
Hardware Description Figure 2-4. C51/C251 Demo Board Powered by J2. J1 Power Supply Connector NOT USED LCD display J2 J18 ON battery 9V (rechargeable or not) PP3 2.5 Board Layout On-Off – Switches ON the power supply. Reset – Resets the microcontrollers. INT1# – Issues an interruption on microcontollers on INT1# pin. J8 Connector – Configure hardware in Page Mode or Non Page Mode. – for C251 microcontrollers. For C51 products, the configuration must be set to Non Page Mode. Synchro I
ملخص المحتوى في الصفحة رقم 10
Hardware Description Figure 2-5. C51/C251 Demo Board RS232 Cable to Terminal RS232 R21 + LCD CTRST LCD J11 J17 Synchro IN OFF Synchro OUT J8 ON RESET J9 INT1 J16 1 1 1 Page Mode X2 J8 PLCC44 X1 X3 Non Page Mode DIL24 PLCC68 Extension connector 2.6 J11 Switches Table 1. J11 Switches 7654 3210 ISP ALE PSEN UC4 UC3 UC2 UC1 UC0 Bit Bit Number Mnemonic Description In-System Programming (external Flash memory) 7ISP1 Set to enable external Flash memory programming Clear to protect external Flash me
ملخص المحتوى في الصفحة رقم 11
User Code Hardware Description Table 2. J9 Switches 10 MAP SELECT EA Bit Bit Number Mnemonic Description Map Select MAP 1 Set to select external Flash memory zone from $10000 to $1FFFF SELECT Clear to select external Flash memory zone from $00000 to $0FFFF External Address 0EA Set to fetch internal code (on chip code). Clear to fetch code from external Flash memory Table 3. J16 Switches 0 ISP2 Bit Bit Number Mnemonic Description In System Programming 2 (external Flash memory) 0ISP2 RESERVED
ملخص المحتوى في الصفحة رقم 12
ملخص المحتوى في الصفحة رقم 13
User Code Operation Mode Section 3 Operation Mode 3.1 Flash Products 3.1.1 Switch To program the on-chip Flash memory, hardware configuration of the chip should be the Configuration following: PSEN = 0, EA = 1 and ALE = 1 or not connected. On C51/C251 Demo Board, switches must be as shown on Figure 3-2. Figure 3-1. C51/C251 Demo Board Switches Configuration to use ISP RS232 Cable to PC Position don’t care J11 Position needed PSEN ALE J11 ISP1 1 0 J9 J9 10 EA J16 MAP SELECT ISP2 J16 3.1.2 Runnin
ملخص المحتوى في الصفحة رقم 14
User Code Operation Mode 3.2 ISP External External Flash memory might be programmed using Windows hyper terminal or any ter- minal able to send HEX files in text mode. Flash Memory Mode 3.2.1 Hardware The C51/C251 Demo Board must be connected to the PC com port with the cable con- Configuration nected to the RS232 connector J10. The switch must be set as shown on Figure 3-2. PLCC44 socket and X1 Quartz crystal will be used to program external Flash memory. X1 must be 11.0592 Mhz and Atmel micro
ملخص المحتوى في الصفحة رقم 15
Operation Mode Figure 3-3. Com Port 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). C51 Microcontrollers Demo Board User Guide 3-12 4119C–8051–3/03
ملخص المحتوى في الصفحة رقم 16
Operation Mode Figure 3-5. Send HEX File in Text Mode Figure 3-6. Use *.* in the Selection Zone to See HEX files in the Directory 3-13 C51 Microcontrollers Demo Board User Guide 4119C–8051–3/03
ملخص المحتوى في الصفحة رقم 17
User Code Operation Mode After the download of the HEX file, the program asks if you want to download another HEX file in the second zone of the external Flash memory. In this case you’ll have to switch MAP SELECT (to access second zone) and send another HEX file in text mode. All the external flash memory (128K bytes) is erased when ISP is used, even if you only want to download one zone. If you have one external Flash memory zone programmed, and later you want to add another program to the sec
ملخص المحتوى في الصفحة رقم 18
Operation Mode Figure 3-8. C51 Mode (Non Page Mode) J11 J8 NON PAGE MODE J9 J16 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 PAGE MODE J8 J9 J16 3-15 C51 Microcontrollers Demo Board User Guide 4119C–8051–3/03
ملخص المحتوى في الصفحة رقم 19
Bill of Material Section 4 Bill of Material Reference Type Qty Comment C1-C28 POL_CAPACITOR 4,7uF 2 CMS_TAJ_Package_B C2:C10-C19:C23 CAPACITOR 100nF 14 Package_0805 C11 POL_CAPACITOR 3,3uF 1 TAJ_CMS_Package_B C12 POL_CAPACITOR 10uF 1 TAJ_CMS_Package_B C13-C14-C24:C27 CAPACITOR 22pF 6 Serie_680 C15:C18 POL_CAPACITOR 10uF 4 CMS_TAJ_Package_B D1-D14 1N4001 1N4001 2 Package_DO204AL D2-D11:D13 LED LED 4 CMS_STANDART D3:D6 LED_GREEN GREEN LED 1 in_line_2.54mm step D7:D8 LED_YELLOW YELLOW LED 1 in_line
ملخص المحتوى في الصفحة رقم 20