Design and implementation of an emulator circuit for the 8051 Microcontroller

number: 
685
English
Degree: 
Author: 
Al-Waleed Hadi Hassan Al-Dulaimy
Supervisor: 
Dr. Manal J. Al-Kindi
Dr. S. S. Mahdi
year: 
2002
Abstract:

Two parts were adopted in this project. In the first part, a circuit of the 89C51-microcontroller emulator was designed and implemented. The emulator software consists mainly of two modules, the first one is written in assembly language and stored in the emulator memory, while the second 'module is written in C-language and sorted in PC. This software enables us of testing the program under test to be debugged through several features. These features are: -
1-Break point.
2-Single step.
3-Overall run
Also this software gives us the ability for monitoring the contents of main registers and
internal memory and modified it. Emulator system communicates serially with the personal
computer via RS232 standard communication port with a selected rate (9600) bps.This emulator was tested by using a data converter card build for this job. The card was designed and implemented. The second part deals with the design and implementation of a circuit to program and erase the EEPROM of the 89C51 microcontroller. In this part, the same circuit was used to do both operations (program and erase) with a simple change. Two software programs were written to do the operation of the programming and the erasing, these packages were written in C-language. The communication between the PC and the card was
done through the parallel port.