The Design and Realization of Programming Device Based on the Type of STM8S208Single Chip Microcomputer as the Controller

Author
ChenXiong
Advisor
ZhouLong
School
Wuhan Polytechnic University
Major
Mechanical and Electronic Engineering
Classification
TP368.1 Microprocessor
Degree
Master's thesis
Year
2012
Downloads
84
Citations
0

Request the full text

Abstract

This thesis mainly introduces the design and implementation of a compiler,with STM8S208type single-chip computer as central controller. This kind ofcompiler is different from traditional ones, but of a compiler used to constantlyprogram a huge amount of MCU (Micro Control Unit) that is manufactured byHanXinWei Microelectronics Co Ltd of Shenzhen as JST series. The MCU is themain controller of the capacitive touching key developed by the company, whichhas been performing lots of powerful functions. The compiler introduced in thearticle is mainly used to program MCU of JST series conveniently and efficiently. Itcan write the data near thousands of MCU under continuous operating condition.Therefore, this kind of mass produced compiler is characterized withhigh-performance, steadiness and efficiency.The compiler can be divided into hardware part and software part: thehardware part consists of CPU module, pin check module, program control module,power supply module, I2C module, series and USB communication module, LCDdisplay module. The software segment is constituted of slave software and centralsoftware. The latter one is programmed by C++, with Visual C++as developenvironment; the develop environment of the slave controlling software is amicro-controller designed by STMicroelectronics, software is developed by C.Among them, series communication is selected as their data transmission protocol.Moreover, for the innovation part of the compiler could work under off-linemode, which means it can program the MCU with BIN files without PC, so it isconvenient, efficient also and beyond gets rid of the programming environmentrestrictions.At last, the main functions are tested through software control compiler of hostcomputer, the results meet the expected target. And also sampled1000pieces ofMCU, the ratio of the good products reach the expected target too.

Table of contents

Summary 4-5 ABSTRACT 5-10 Chapter 1 Introduction 10-16 1.1 research background 10 - 13 1.1.1 Introduction to programming 10-11 development history 1.1.2 programmer 11 1.1.3 programming classification significance 11-13 1.2 topics 13 trends 1.3 microcontroller Programmer 13-14 research objectives 1.4 topics and major work research objectives 14-16 1.4.1 of this topic main work 14 1.4.2 of this topic 14-16 Chapter 2 system the overall program design 16-20 2.1 This topic programmer features composition analysis nbsp 16 2.2 This topic programmer system ; 16-19 <br / > 2.2.1 programmer hardware system design 18 2.2.2 programming software system design 18-19 2.3 programmer offline programming function design 19 2.4 Summary 19-20 Chapter 3 introduces the master programmer system and hardware design 20-32 3.1 STM8S series microcontrollers Introduction classification 20-22 3.1.1 STM8S family microcontrollers advantage 21-22 3.1.2 STM8S208 microcontroller 22 3.2 STM8S208 pin its description 22-23 3.3 system hardware circuit design ideas 23-24 3.3.1 hardware block diagram 23 -24 function of each hardware module 3.4 system introduced 24-31 3.4.1 CPU control module describes 24-25 3.4.2 power Module introduces 25-26 3.4.3 pin detection module 26-27 3.4.4 burn control module describes 27-28 3.4.5 external FLASH module introduces 28-29 3.4.6 serial communication module 29-30 3.4.7 serial to USB module introduces 30-31 3.4.8 LCD display module 31 3.5 This chapter summarizes 31-32 Chapter 4 PC system software design 32-46 4.1 PC software system Overview 32-34 build 4.1.1 software development environment 32 4.1.2 PC software programming 32-34 <br / > 4.2 PC control program interface design 34-40 4.2.1 button interface design 34-36 4.2.2 interface design menus and dialog boxes prompt 36-37 4.2.3 main display interface design 37-40 4.4 serial communication program design 40-41 4.5 interface is user-friendly display design 41-44 4.6 PC control interface used controls introduced 44-45 4.7 Summary 45-46 Chapter 5 programming SCM software system design 46-57 5.1 SCM software development environment overview 46 5.2 ST TOOLSET About 46-47 5.3 microcontroller development Environment 47-49 5.3.1 STM8 series emulator ST-LINK Profile carry 47-48 5.3.2 microcontroller development environment 48 -49 5.4 microcontroller programming 49-50 5.5 burn programming 50-53 5.5.1 pin detection program 50 -51 5.5.2 chip blank check testing, burn BIN files, read the verification program design 51-53 5.6 offline programming functions are implemented 53 - 55 5.7 Chapter summary debugging and application 55-57 Chapter 6 programmer 57-63 6.1 programmer physical map 57 6.2 PC control software debugger programmer 57-61 6.3 erase and write data to an external FLASH 61 6.4 system speed and stability testing 61-62 6.5 summary 62-63 Chapter 7 summary and Outlook 63-65 7.1 summarizes 63 <br / > 7.2 Prospects 63-65 References 65-68 Thanks 68-69 Appendix A 69-76 A.1 pin detection code 69-70 A.2 blank check chip detection code 70-71 A.3 write data to the target MCU code 71-73 A.4 offline programming code research results 73-76 pursue a degree during 76

Related dissertations

  1. CAN Based Hospital Infusion Monitoring System Research
    LongYuXiang ·Jilin University ·2012 ·Master's thesis
  2. Liquid Concentration Measure System Based on MSP 430
    LiChangLin ·Southwest Jiaotong University ·2007 ·Master's thesis
  3. Study and Developement on Intelligent Monitoring of Clothing Based on Single Chip
    ChenHuanHuan ·Zhejiang Sci-Tech University ·2012 ·Master's thesis
  4. Application of Automatic Controlling and Image Recognition Technology in a Fout-Point Probe Instrument
    LiChenShan ·Hebei University of Technology ·2007 ·Master's thesis
  5. The Research and Design for the Automatic Measuring of Oven Temperature Based on Microcontroller
    WangKeNing ·Northeast Forestry University ·2004 ·Master's thesis
  6. Coking automation control systems and system software development
    MeiBoWen ·Dalian University of Technology ·2004 ·Master's thesis
  7. Design and Implementation of Hydrological Information Telemetry System Based on GSM
  8. Research and Design of Intelligent Medical Infusion Monitoring System
  9. Research on PLC remote monitoring technology based on Internet
    LiuWeiGang ·University of North ·2014 ·Master's thesis
  10. Research of Permeability Testing System for Clay
  11. Design of an Automatic Test System for Radar
    LiangYu ·Harbin Institute of Technology ·2012 ·Master's thesis
  12. Study of Vision-based Tracking and Positioning System for Moving Target in a Large-scale Space
    ZhangChen ·Tianjin University ·2012 ·Master's thesis
  13. Design and Implementation of Information Acquisition System for Industry Field
    WangChongXiang ·Dalian University of Technology ·2013 ·Master's thesis
  14. Development and design of intelligent residential area centralized control system
  15. Development of Simple Controller Device
    XuMing ·Dalian Polytechnic University ·2010 ·Master's thesis
  16. Development of Automatic Towel Hemming Machine Control System
    ZhaoXu ·Dalian Polytechnic University ·2012 ·Master's thesis
  17. Measurement and Control System Design of Intelligent Greenhouse Nutritional Liquid Dripirrigation Device
    YuChao ·Hebei University of Technology ·2013 ·Master's thesis
  18. PID Parameters Adjustingand Optimization Tuning Assistant by Upper Computer
    LiuXin ·Hebei University of Technology ·2013 ·Master's thesis
  19. Microcomputer-controled Precision AC High-Voltage Power
  20. The Design of Data Acquisition Controller Based on Wireless Ad-Hoc Network Technology