Atmel C51 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Atmel C51, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Atmel C51 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Atmel C51. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Atmel C51 should contain:
- informations concerning technical data of Atmel C51
- name of the manufacturer and a year of construction of the Atmel C51 item
- rules of operation, control and maintenance of the Atmel C51 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Atmel C51 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Atmel C51, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Atmel service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Atmel C51.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Atmel C51 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    C51 Microcontrollers Demo Board .............. .......... ......... ......... .............. .......... ......... .............. ..... User Gu ide[...]

  • Page 2

    [...]

  • Page 3

    C 5 1 M ic r o c ont r ol l e r s D e mo B o a r d U s er G uide i 41 1 9 C–8051–3/03 T able of Contents Section 1 Introductio n .............. .......... ......... ......... .............. .......... ......... .............. .. 1-2 1.1 C51/C251 Su pport ................ ............. .................... ................... ................ 1-[...]

  • Page 4

    [...]

  • Page 5

    Introduction C51 Micr ocontroll ers Demo Board Us er Guide 1-2 4119C–8051–3/03 Section 1 Introduction The C51/C2 51 Demo Board al lows easy e valuation of mo st of Atmel C51/C251 dev ices. The C51/C251 Demo Board can be powered using a simple 9V battery or using a 9V recharge able batt ery. The C5 1/C251 Dem o Board can als o be use d as pro gr[...]

  • Page 6

    Introduction 1-3 C51 Microcontro llers Demo Board User Guide 4119C – 8051 – 3/03 1.3 Support Questions can be sent to: mcu@a tmel.com 1.4 Demo Board Features n An LC D Disp la y (2 line s of 16 char acte rs) n An Eigh t LED Bar Graph n 128 KB F lash Memor y n Three Different So c kets: PLCC44, PLCC6 8 & DIL24 n In-System Programmin g (ISP) [...]

  • Page 7

    Hardware Description C51 Micr ocontroll ers Demo Board Us er Guide 2-4 41 1 9 C– 8 0 5 1 – 3/03 Section 2 Hardware Description 2.1 Block Di agram Figure 2-1. Block Diagr am 2.2 Specif ications 2.3 Supported Microcontrollers Most Atm el C51 and C251 micr ocontrolle rs are supp orted. The Demo Board do es not su pport lo w voltage parts, only 5V [...]

  • Page 8

    Hardware Description 2-5 C51 Microcontro llers Demo Board User Guide 4 11 9 C–8051–3/03 2.4 Board Supply Considerations n Power c onnector J1 or battery c onnector J2 ma y be use d to power the board. n On J2 conn ector a rechargea ble battery or a non-r echargeabl e battery ma y be used . n In case o f rechargea ble battery u sage on J2, i f J[...]

  • Page 9

    Hardware Description C51 Micr ocontrollers De mo Board U ser Guide 2-6 41 1 9 C–8051–3/03 Figure 2-4. C51/C251 D emo Boar d Powered by J 2. 2.5 Board Layout n On-Of f – Switch es ON the power su pply . n Reset – Res ets the microc ont ro ller s. n INT1# – Issues a n interrupt ion on mic rocontoll ers on INT 1# pin. n J8 Connec tor – Con[...]

  • Page 10

    Hardware Description 2-7 C51 Microcontro llers Demo Board User Guide 4 11 9 C–8051–3/03 Figure 2-5. C51/C251 D emo Boar d 2.6 J11 S w itches T able 1. J1 1 Sw itches (Set=1, Clear= 0) J11 J9 J16 RS232 Cabl e to Termi nal J8 J8 LCD CTRST + RESET INT1 OFF ON J17 R21 Page Mode Non Page Mode Sync hro IN Synchr o OUT RS232 LCD 1 1 1 X2 X3 X1 PLCC44 [...]

  • Page 11

    Hardware Description C51 Micr ocontrollers De mo Board U ser Guide 2-8 41 1 9 C–8051–3/03 T able 2. J9 Swit ches T able 3. J16 Sw itches Figure 2-6. Swit ch Conf iguratio n Socket an d Quartz Cr ystal T he C51/C251 Dem o Board provid es three di fferent sock ets for microc ontrollers , a PLCC44, a P LCC68 and a DIL24. Each socket has it own qua[...]

  • Page 12

    [...]

  • Page 13

    Oper ation Mode C51 Micr ocontrollers De mo Board U ser Guide 3-10 41 1 9 C–8051–3/03 Section 3 Operation Mode 3.1 Flash Products 3.1.1 Switch Configuration To program th e on-chip F lash memor y, hardware configur ation of the chip should be the followin g: PSEN = 0, EA = 1 an d ALE = 1 or not conn ected. On C51/C25 1 Demo Boa rd, switche s mu[...]

  • Page 14

    Operat ion Mo de 3-11 C 51 Mic r ocont r ollers Demo Board User G u ide 4 11 9 C–8051–3/03 3.2 ISP Ex tern al Flash Memory Mode Extern al Flash memory might be program med using Windows hyper t erminal o r any ter- minal ab le to send HEX files in text mo de. 3.2.1 Hardwa re Configuration The C51/C251 Demo B oard must b e connec ted to th e PC [...]

  • Page 15

    Oper ation Mode C51 Micr ocontrollers De mo Board U ser Guide 3-12 41 1 9 C–8051–3/03 Figure 3-3. Com Port Co nfiguration Figure 3-4. Termina l Window on Running ISP Turn on the C51/C251 Demo Board and then foll ow the instructions on the terminal screen and LCD display. After eras ing Flash, the pro gram asks for the mem ory zone, and then ask[...]

  • Page 16

    Operat ion Mo de 3-13 C 51 Mic r ocont r ollers Demo Board User G u ide 4 11 9 C–8051–3/03 Figure 3-5. Send HE X File in Text Mo de Figure 3-6. Use *.* in the Selec tion Zone to See HEX files in the Directo ry[...]

  • Page 17

    Oper ation Mode C51 Micr ocontrollers De mo Board U ser Guide 3-14 41 1 9 C–8051–3/03 After the download of the HEX file, the program asks if you want to download another HEX file in the se cond zone of the external Flash me mory. In this case you ’ ll have to switch MAP SE LECT (to access second zone ) a nd send another H EX file in t ext mo[...]

  • Page 18

    Operat ion Mo de 3-15 C 51 Mic r ocont r ollers Demo Board User G u ide 4 11 9 C–8051–3/03 Figure 3-8. C51 Mode (Non Page Mode) 3.3.2 C251 Mod e In C251 mode, the m icrocontrolle r can be used in Page Mode or Non Page Mode. For Non Pa ge Mode switch J8 must be in the same co nfigurati on as in C51 mode. For Page Mode switc h J8 mus t be as show[...]

  • Page 19

    Bill of Material C51 Micr ocontrollers De mo Board U ser Guide 4-16 41 1 9 C–8051–3/03 Section 4 Bill of Material Refere nce Type Qty Comm ent C1- C28 POL_C APACITOR 4,7u F 2 CMS_T AJ_Packag e_B C2: C10-C1 9:C2 3 CAPACITOR 100n F 14 Packa ge_0 805 C11 POL_C APACITOR 3,3u F 1 TAJ_CMS_ Package _B C12 POL_C APACITOR 10uF 1 TAJ_CMS_ P ack age_ B C1[...]

  • Page 20

    [...]

  • Page 21

    C51 Demo Board User Gu ide 5-18 R e v . 4 1 19 C–8051–3/03 Section 5 Schematics[...]

  • Page 22

    Schematic s 5-19 C51 Demo Board User Guide 4 11 9 C–8051–3/03[...]

  • Page 23

    Schematic s C51 Demo Board User Gu ide 5-20 41 1 9 C–8051–3/03[...]

  • Page 24

    Schematic s 5-21 C51 Demo Board User Guide 4 11 9 C–8051–3/03[...]

  • Page 25

    Schematic s C51 Demo Board User Gu ide 5-22 41 1 9 C–8051–3/03[...]

  • Page 26

    Schematic s 5-23 C51 Demo Board User Guide 4 11 9 C–8051–3/03[...]

  • Page 27

    Printed on recycled paper. Atmel ® is a registered trademark of Atmel. Other terms and product names may be the trademarks of others. © Atm e l C o r p o r at i o n 2003. Atmel Corporation mak es no warranty for t he use of its products, other t han those expressly contained in the Com pany ’ s standard warranty which is detailed in A tmel ’ [...]