Design and Implementation of Embedded IDE for Freescale HCS12 MCU

Author
NieZhangLong
Advisor
WangYiHuai
School
Suzhou University
Major
Applied Computer Technology
Classification
TP368.12 Microprocessor
Degree
Master's thesis
Year
2007
Downloads
339
Citations
0

Request the full text

Abstract

The embedded integrated development environment (IDE) and hardware assessment system is a necessary tool for embedded product development . Develop embedded tools integrated development system involves more complex process than the target chip replacement is also faster , so there is a greater degree of difficulty . HCS12 MCU family is Freescale Company in 2004 before and after the introduction of the cost-effective 16-bit chip , model , and good market prospects , not yet developed the embedded IDE for the series MCU , mainly dependent on foreign imports . It is based on such a rare opportunity and challenge , the design of this project a common of embedded integrated development system , to achieve a series of Freescale HCS12 MCU source file to edit , compile , download and basic debugging features , at the same time in the design process also give full consideration to the versatility of the hardware and software platform . HCS12 series MCU SdIDE12 hardware platform contains the minimum system module , the program writes the module and universal expansion board module software platform by General edit compiled modules , the program is written modules and debug module . The article gives the versatility of the hardware platform design method , the corresponding block diagram of the module and the testing process , and focuses on general software platform edit the compiled module and universal HCS12 MCU write module design points , difficulties and details , to solve the cross compiled modules and write module is not universal , to write code size restrictions . In addition , the article also gives a preliminary design and realization of HCS12 Series MCU debug module . Finally, in order to verify the stability and performance of the SdIDE12 the basis of MC9S12DG128 chip experiments routine preparation and CPU12 microprocessor - based μC/OS- Ⅱ transplantation , integrated hardware and software module testing , test results show that the SdIDE12 stable and reliable.

Table of contents

Chinese Abstract 3-4 ABSTRACT 4-8 first chapter 8-16 1.1 Embedded Systems Overview 8-9 the 1.2 SDIDE12 development background 9-12 the the 1.2.1 embedded IDE development status at home and abroad 9-11 1.2.2 Freescal HC512 Series MCU Overview 11-12 the 1.3 development SDIDE12 necessity and significance 12-13 1.4 subject design goals 13-14 1.5 This paper work and thesis structure 14-16 1.5.1 this paper work 14-15 1.5.2 papers structure 15-16 the second chapter SDIDE12 overall design ideas 16-28 2.1 needs analysis 16-17 the 2.2 SDIDE12 the hardware environment design ideas 17 2.3 hardware and software co-design ideas 17-18 a 2.4 SDIDE12 the versatility of design ideas 18-23 2.4.1 hardware versatility of design 18-20 2.4.2 software versatility of design 20-23 2.5 SDIDE12 function module design ideas 23-27 2.5.1 SdIDE12 public module 24-25 2.5.2 SdIDE12 private module 25-27 2.6 This chapter Summary 27-28 hardware design 28-42 3.1 minimum system hardware design 28-30 3.2 Universal expansion board design 30-35 3.2.1 keyboard module 30-31 3.2.2 LCD module 31-32 3.2.3 serial module 32-33 3.2.4 A / D conversion module 33 3.2.5 PWM Module 33 3.2.6 USB module 33-34 3.2.7 CAN module 34-35 3.2.8 Ethernet module 35 3.3 write module (BDM header) hardware design 35-38 3.3.1 M68HC908J88 master chip 35-36 3.3.2 write modules diagram analysis and design 36-38 3.4 hardware platform testing and test experience 38-40 3.4.1 testing methods and steps 38-39 3.4.2 testing experience 39-40 3.5 This chapter Summary 40-42 software design 42-70 4.1 SDIDE12 generic edit-compile-module detailed design 42-50 4.1.1 SdIDE12 main interface structure design 42-43 4.1.2 SdIDE12 directory structure 43-44 the 4.1.3 SdIDE12 code structure 44-45 a 4.1.4 SdIDE12 project management module 45-50 4.2 General HC512 series MCU write module detailed design 50-59 4.2.1 TBDML communication interface program design 51-54 4.2.2 generic write module PC side program design 54-56 the write module MCU side 4.2.3 General design 56-59 430 HC512 Series the MCU memory expansion 59-64 4.3.1 storage space expansion 59-60 4.3.2 Linear address translation for memory expansion addresses 60-61 4.3.3 compiled 52 file format 61-64 4.4 debug module detailed design 64-68 4.4.1. 1st file structure 65 4.4.2 breakpoint address Get 65-66 4.4.3 debugging environment initialization 66-67 4.4.4 single-step debugging achieve 67-68 4.5 test experience 68-69 4.6 This chapter Summary 69-70 Chapter CPU12 microprocessor-based μC/OS- Ⅱ transplant 70-78 5.1 ΜC/OS- II porting process 71-75 5.1.1 the modifications OS_CPU.H file 71-72 the 5.1.2 modify OS_CPU_C.C-file 72-73 5.1.3 the modifications OS_CPU_A.S file 73-75 5.2 ΜC/OS- Ⅱ transplantation test 75-77 5.3 This chapter Summary 77-78 Chapter VI basic experimental routine 78-89 6.1 programming specification 78-80 the 6.2 MC9512DG128 chip template program 80-83 the of 6.3 MC9512DG128 module experiment routine 83-88 6.4 This chapter Summary 88-89 Chapter VII Summary and Outlook 89-91 7.1 summarizes 89-90 7.2 Looking 90-91 the References 91-93 the Appendix A hardware evaluation board schematic 93-100 the Appendix B hardware evaluation board physical map 100-101 Appendix C specification process instance 101-102 the studying for a degree during the published papers and to participate in the identification of projects 102-103 Acknowledgements 103-104 the detailed summary 104-107

Related dissertations

  1. B2C Online Shopping Packaging Design of Clothing, Footwear Category
    ZhangShuai ·Hunan University of Technology ·2013 ·Master's thesis
  2. Food Packaging Design for B2C Online Shopping
    ZhaoPei ·Hunan University of Technology ·2013 ·Master's thesis
  3. Research on the Usability of Software User Interface Based on Icon Design
  4. A Research of Comprehensiveness and Versatility of Traditional Chinese Painting Teaching Activities in Current Primary School
    JiangYuHua ·Fujian Normal University ·2012 ·Master's thesis
  5. The Marketing Plan Research on the Film Band of China Based on4V Theory
    LongJia ·Hunan University ·2012 ·Master's thesis
  6. A Study on Sustainable Design of Modern Research and Experiment Factory
    JieDan ·Tsinghua University ·2011 ·Master's thesis
  7. New College Sports Versatility of the Building and Its Design Application
    ZhangZuo ·North China University of Technology ·2012 ·Master's thesis
  8. A Research on Eco-economical Efficiency of Agriculture International Trade
    ZhouShengQi ·Shandong Agricultural University ·2005 ·Doctoral dissertation
  9. Toward a Scientific Appraisal of Western Contemporary Translation Theories
    HuangYuanPeng ·Shandong University ·2009 ·Doctoral dissertation
  10. Spiking neural computing performance of the system
  11. Pseudo-half- rings in automata theory and its application
    LiPing ·Shaanxi Normal University ·2010 ·Doctoral dissertation
  12. Two kinds of soy protein LEA4 metal ion binding properties and protective effects on biological macromolecules
    LiuGuoBao ·Northeast Normal University ·2011 ·Doctoral dissertation
  13. A Corpus-based Study of EFL Teachers’ Metadiscourse in Classroom Teaching
    ZuoTao ·Shanghai International Studies University ·2011 ·Doctoral dissertation
  14. Research and Realization of Administration of Networks for Electric Power Work Ticket System
  15. Design and Analysis of Slave Interface for NCS Based on PROFIBUS
    SongLiJie ·Hebei University of Technology ·2007 ·Master's thesis
  16. Multifunctional detonation tube debugging and commissioning
  17. Research and Design on Versatile Automatic Test System for Low Frequent Equipment of Military Aircraft
    LvYingJun ·Jilin University ·2008 ·Master's thesis
  18. メTatari speech functionality discourse
    GuoYang ·Jilin University ·2007 ·Master's thesis
  19. Research on the Key Technologies of Aerocraft Automatic Test Systems
    NieYing ·Xiangtan University ·2007 ·Master's thesis
  20. Visualization CFB boiler thermal calculation software development
    LiCuiWei ·China University of Petroleum ·2007 ·Master's thesis