The Design and Implementation of Universal Programmer for M68HC08 MCUs
- Author
- WangYanChun
- Advisor
- OuYangYiMing
- School
- Hefei University of Technology
- Major
- Applied Computer Technology
- Classification
- TP368.11 Microprocessor
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 246
- Citations
- 1
Abstract
With the rapid development of SCM technology , high-performance microcontroller of a variety of new models are emerging. M68HC08 Series MCU Freescale (formerly Motorola company ) in recent years launched a new generation of cost-effective 8-bit microcontroller , it has a fast , strong function , low price , power consumption and other small features , there are a more than one hundred kinds of models into the market , Freescale continues to introduce new types of sub- products , to meet the broader market demand . Microcontroller application development stage , the programmer is an essential tool of each microcontroller application development workers . While Freescale's chip programmer supporting the series , but due to the expensive and can not be accepted by the majority of domestic users . Domestic market to support Freescale microcontroller chip programmer rarely , Freescale has introduced new models of single-chip , some programmer will not do anything . For this reason , some users can only be based on their own needs , their own design for certain models of single-chip programming , the impact of the development process . In fact , for various models M68HC08 MCU programming , hardware and software design ideas . In order to shorten the development cycle of new models of single-chip , to design a versatile, scalable, inexpensive programming is very meaningful . This project explores the M68HC08 Series MCU Universal Programmer - based hardware and software design methods . The complete programmer can easily implement the existing for M68HC08 series MCU programming , but also provides a solution for the the M68HC08 Family New Model MCU programmer . The article first briefly programmer 's historical development , research status and development of this paper background , then given universal programmer hardware system design , followed by discussion of the master MCU and the PC -side software design , and finally a brief introduction to the programming is the use of methods and new models MCU join method .
Table of contents
Chapter Introduction 12-17
1.1 development background and meaning of work 12-14
1.1.1 Programming the status quo 12-13
1.1.2 Freescale M68HC08 MCU About 13
1.1.3 development M68HC08 Series Universal Programmer significance 13-14
1.2 In this paper, design ideas 14-15
1.3 This paper work and thesis structure 15-17
1.3.1 this paper work 15
1.3.2 papers structure 15-17
system hardware design 17-27
2.1 General programming design 17-18
2.1.1 Freescale provides programs 17-18
2.1.2 substrate - adapter program 18
2.2 M68HC08 MCU enter monitor mode 18-21
2.2.1 JB8 enter monitor mode conditions 18-19
2.2.2 JL3/JL8 enter monitor mode conditions 19
2.2.3 GP32 into the monitoring mode foot conditions 19-20
2.2.4 GR8 enter monitor mode conditions 20
2.2.5 QY4 enter monitor mode conditions 20
2.2.6 MR8 enter monitor mode conditions 20-21
2.3 this design implementations 21-22
2.4 system circuit design 22-27
2.4.1 master MCU support circuit 22-23
2.4.2 variable frequency generating circuit 23-25
2.4.3 level conversion and high-voltage circuit 25-26
2.4.4 high and low produce circuit 26
2.4.5 power control circuit 26-27
Chapter master MCU software design 27-46
3.1 Overview 27
3.2 master MCU target MCU data communications 27-35
3.2.1 is sent to the target MCU byte 27-30
3.2.2 received from the target MCU byte 30
3.2.3 send confidential bytes 30-31
3.2.4 send monitor command 31-35
the
the 3.3 master MCU and PC serial communication 35
3.4 master MCU function block implementation 35-46
the 3.4.1 target MCU crystal frequency setting 35-39
3.4.2 overall erase function to achieve 39-41
3.4.3 write functions to achieve 41-44
3.4.4 blank check function to achieve 44-45
the 3.4.5 read out function to achieve 45-46
Chapter IV PC, software design 46-62
4.1 overall design 46-47
4.2 Form Designer 47-50
4.2.1 FrmMain Form Designer 47-49
4.2.2 FrmConnect Form Designer 49-50
4.2.3 FrmLogin Form Designer 50
4.3 target MCU database design 50-53
4.3.1 database created 50-52
4.3.2 records add 52-53
4.3.3 database open 53
4.4 function module design 53-62
the 4.4.1 target MCU Library Management module 53-54
4.4.2 erase module 54-56
4.4.3 write module 56-58
4.4.4 readout module 58-59
4.4.5 disassembly module 59-62
the
fifth chapter of the whole application and expansion 62-65
5.1 system hardware chart 62-64
5.2 Programmer's use 64-
5.3 system expansion operation 64-65
Chapter VI Conclusion 65-66
the
References 66-68
the
master's degree during the main research work and achievements 68