My Profile
Active Members
TodayLast 7 Days
more...
Awards & Gifts
Online Exams
Fresher Jobs
Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian
cities including Bangalore, Chennai, Hyderabad, Pune or Kochi
Resources
Find educational articles, blogs, discussion threads and other resources.
Colleges
Find details about any college in India or search for courses.
Paid Surveys
|
PROGRAMMING THE MICROCONTROLLER
Posted Date: 27 Apr 2008 Resource Type: Articles/Knowledge Sharing Category: Education
|
Posted By: C.Agnes Member Level: Silver Rating: Points: 6
|
|
|
|
PROGRAMMING THE MICROCONTROLLER: To program a microcontroller one must have two basic tools. One is the hardware programmer board and the second is the software for downloading the program. The hardware programmer mode is used to hole the chip and enable the computer to download the program into the microcontroller. The programmer board is serially connected to the board. The soft wares need to program microcontroller will be two fold. One is the compiler and the other to download the program. The compiler program automatically checks for error in your program and then compiles it into hex file. This hex file is stored in the same directory in which you have stored your original program file. The compiler software used is ASEM software. The downloading software here used is UNIPROG. The UNIPROG can be run in only the DOS mode. This is very user friendly software and can be operated easily. This helps in erasing previous files and downloading new programs into the microcontroller. Steps involved in writing a program in the microcontroller: 1. Write the required program in the notepad of windows with the syntaxes being followed as per the rules of programming. 2. Save the written file in .asm extension. Now the assembly file can be created. 3. Next run this file in ASEM software by specifying the path of the file. 4. After this the ASEM software will check for errors and then convert this into .hex file. 5. Now run the system in DOS mode. 6. Next run the UNIPROG software. 7. It automatically checks the IC placed in the board. 8. They specify the hex file to be downloaded. 9. If any program is in the IC, you can erase it. 10. Now download the program and hence ready to work with the IC.
UNIPRO is an open engine for support any hardware chip programmer. It’s implement an open architecture based in hardware-abstract algorithms and chip definitions, that can work in any hardware. With UNIPROG the development of new and powerful programmers is not limited by lack of software or the need of test chips. ASEM-51 is a two-pass macro assembler for the Intel MCS-51 family of microcontrollers. It is running on the PC under MS-DOS, Windows and Linux. The DOS real-mode assembler ASEM.EXE requires only 256 kB of free DOS memory and MS- DOS 3.0 (or higher). The new protected-m ode assembler ASEMX.EXE requires a 286 CPU (or better), and at l east 512 kB of free XMS memory. The new Win32 console- mode assembler ASEMW.EXE requires a 386 CPU (or better) and Windows 9x, NT, 2000 or XP. The new Linux assembler ASEM requires a 386-based Linux system. The new HTML documentation set requires a 90 MHz Pentium (or better) and a web browser. The ASEM-51 assembly language is a rich subset of the Intel standard that guarantees maximum compatibility with existing 8051 assembler sources. ASEM-51 can generate two sorts of object files: Intel-HEX format which is directly accepted by most EPROM programmers, and absolute OMF-51 format, which is required for many simulators, emulators and target debuggers. Thus ASEM-51 is suitable for small and medium MCS-51-based microcontroller projects in hobby, education and business. However, ASEM-51 has been designed to process also very large programs.
FEATURES: ? fast, compact, reliable, easy to use, and well-documented ? easy installation, almost no configuration required ? command line operation, batch and networking capability ? DOS (RM and PM), Win32 and Linux binaries available ? Intel-compatible syntax ? five location counters, one for each of the MCS-51 address spaces ? assembly-time evaluation of arithmetic and logical expressions
|
Responses
|
No responses found. Be the first to respond and make money from revenue sharing program.
|
|
|