DocumentCode :
3411875
Title :
Development of a graphical user interface using Windows 7-C# to download Intel-Hex formatted file into the flash of 89S52 microcontroller
Author :
Mostafa, Golam ; Abedin, Yeasin
Author_Institution :
Dept. of Electr. & Electron. Eng., Ahsanullah Univ. of Sci. & Technol. (AUST), Dhaka, Bangladesh
fYear :
2013
fDate :
19-21 Dec. 2013
Firstpage :
136
Lastpage :
141
Abstract :
The 89S52 microcontroller (MCU) is very popular among the students, teachers, engineers, scientists and amateurs to build small and cost effective projects for learning purposes and or to incorporate it in a bigger project. In these projects, the chip remains in the system and occasionally need arises to change the program bytes of the code memory (flash) without removing the MCU from the holding instrument. To facilitate entering new codes into the flash without employing expensive commercial ROM Programmer, an interface circuit exists within the 89S52 known as `In-System Programming Interface (ISP)´. ISP Programming requires two components viz., (i) an interactive GUI (Graphical User) Interface (Fig. 7) at the IBMPC side, and (ii) an auxiliary communication controller (ACC) at the target MCU side (Fig. 1). The GUI interface transfers `control information (Chip Erase, chip Blank, Chip Write, Chip Read, Lock Security Bits and etc.)´ and `Intel-Hex´ formatted program bytes over COM port to the ACC. The ACC decodes the control information, extracts the program bytes and then configures the programming mode of the target MCU. It then activates the ISP interface as per `Serial Programming Instructions [1]´ for writing the received program bytes into the flash of the target MCU. This paper has presented the development procedures of the GUI interface written using C# programming language, which is compatible with Windows 7 operating system. The GUI has been tested in an existing 89S52 based `CMCKIT: CISC Microcontroller Learning Kit (Fig. 1)´ and found to be working as expected. The contents of this paper will encourage the interested readers to learn C# programming language, physical COM port hardware and programming, virtual COM port concept and finally creating new versions of GUI Interfaces for their own ISP Programmers.
Keywords :
C++ language; computer science education; flash memories; graphical user interfaces; microcontrollers; operating systems (computers); 89S52 microcontroller; ACC; C# programming language learning; CISC microcontroller learning kit; CMCKIT; GUI interface transfers; IBMPC side; ISP programming; Intel-Hex formatted file; MCU; Windows 7 operating system; Windows 7-C#; auxiliary communication controller; code memory; control information decoding; flash; graphical user interface; in-system programming interface; interactive GUI; interface circuit; learning purposes; physical COM port hardware; program bytes; serial programming instructions; virtual COM port concept; Graphical user interfaces; Hardware; Microcontrollers; Ports (Computers); Programming; Receivers; Registers; 89S52 MCU; C#; GUI Interface; ISP Interface; Intel-Hex Frame; Virtual serial COM port;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Advances in Electrical Engineering (ICAEE), 2013 International Conference on
Conference_Location :
Dhaka
Print_ISBN :
978-1-4799-2463-9
Type :
conf
DOI :
10.1109/ICAEE.2013.6750321
Filename :
6750321
Link To Document :
بازگشت