The Design and Implementation of M68HC08 Series MCU Embedded Developing Platform

Author
LiuXueLan
Advisor
WangYiHuai
School
Suzhou University
Major
Applied Computer Technology
Classification
TP368.1 Microprocessor
Degree
Master's thesis
Year
2006
Downloads
148
Citations
6

Request the full text

Abstract

Embeded technology embrace new era for its pervasive computing ability. Freescale’s new M68HC08 series MCU have been accepted by all kind of industries all over the world for their powerful computing,lower energy consumption and price.There is necessary to develop and design product with M68HC08 series MCU under the suitable circumstance that provide code editer,compiler,programmer and debugger. Some foreign companies have issued several program tools such as Metrowerks Code Warrior and P&E Microcomputer Systems CASMS08,but they are expensive and the interface is showen in English,so it is a serious problem for many native user. There are a few universities develop coherent program tools but they are just support only one style MCU of MC68HC08 and without debugger.To resolve these problem,we bring forward a new program tool to support all kind of MCUs of M68HC08 and provide debugger to debug C code. It is a challenge to make it true. Base on the In-System Programmable SD-1 that developed by Soocoo University MCU&DSP research and develope Center, depending on the inherent editer and compiler, we design the program tool to offer generalization utility, flexible extention and low cost for native user. The paper describe in detailedly the scheme of all-purpose programmer and debugger with USB interface, also include the design of hardware and software.

Table of contents

The first chapter 7-13 1.1 M68HC08 Series MCU embedded development platform background 7-9 1.1.1 M68HC08 Series MCU Overview 7-8 of 1.1.2 embedded development platform 8-9 1.2 the M68HC08 embedded development platform of necessity 9-10 1.3 in this work and structure 10-13 1.3.1 This work the 10-11 1.3.2 structure of the paper 11-13 design and technology foundation the 13-23 2.1 design 13-15 2.2 Flash memory programming 15-19 2.2.1 Flash memory characteristics 15 2.2.2 M68HC08 characteristics of a series of single-chip Flash memory programming mode 15-16 2.2.3 GP32 microcontroller Flash memory programming method 16-19 < br /> 2.3 Monitoring ROM the 19-23 Overview 2.3.1 monitor ROM 20 2.3.2 into monitor mode 20-21 <br / 2.3.3 M68HC08 Series MCU monitoring command 21-23 Chapter hardware design the 23-32 3.1 Write debugging head 24-30 < /> 3.1.1 microcontroller MC68HC908J88 24-26 3.1.2 variable frequency generator circuit 26-28 3.1.3 power control circuit 28-29 3.1.4 9V produce and control circuit specific I / O port level control circuit 29 3.1.5 29-30 3.1.6 connected to the interface with the core board 30 3.2 core board circuit 30-32 Chapter MCU side software design 32-50 4.1 overall of design the 32-33 4.2 USB module design 33-38 4.2.1 USB initialization 33 4.2.2 USB Configuration stage nbsp 33-37 4.2.3 data transmission; 37-38 4.3 Flash erase module the 38-40 the 4.3.1 implementation process 38-39 4.3.2 The overall erase code 39-40 4.4 Flash write module 40-42 4.4.1 perform 40-41 4.4.2 write program code the 41-42 4.5 of debugging module 42-45 4.5.1 set off the point registers the 43-44 4.5.2 monitor mode breakpoint interrupt 44-45 the the 4.6 master MCU target MCU data communication 45-47 4.6.1 is sent to the target MCU byte the 45-46 4.6.2 from the target MCU receives a byte 46-47 4.7 programmable oscillation device the LTC6903-driven program 47-50 Chapter PC side software design 50-66 5.1 SDD Debugger overall design 50-52 5.2 the SDD Debugger and write debug header USB communication design 52-54 5.3 target chip libraries 54-56 5.4 erase, write functions to achieve 56-57 5.5 debugging features of the C language program design the 57-66 5.5.1 dbg file structures 57-58 5.5.2 set breakpoints 58-59 5.5.3 start debugging the 59-60 5.5.4 perform 60 5.5.5 single-step execution 60-61 5.5.6 Variable Data Acquisition and Processing 61-66 Chapter VI development experience 66-69 Chapter VII Conclusion 69-70 Reference 70-72 Appendix A J88 chip USB module registers 72-73 Appendix B USB device descriptor and equipment requests 73-76 degree during the published papers and to participate in the identification of projects 76-77 Acknowledgements 77-78 detailed summary 78-79

Related dissertations

  1. The Design of Universal Programmer and Software for M68HC08 MCUs
    JiangYinZhen ·Suzhou University ·2004 ·Master's thesis
  2. The Design and Implementation of Universal Programmer for M68HC08 MCUs
    WangYanChun ·Hefei University of Technology ·2005 ·Master's thesis