以STM8S208单片机为主控的编程器的设计与实现
发布时间:2018-11-25 15:23
【摘要】:本文重点介绍以STM8S208型号单片机为主控的编程器的设计与实现,该编程器不同于传统意义上的用于开发研究的编程器,而是一款可用来持续不间断地烧录大批量MCU(Micro Control Unit)的编程器,而这些MCU都是由深圳瀚芯微电子有限公司推出的JST系列单片机。该系列MCU主要是作为瀚芯微电子有限公司研发的电容式触摸按键板的主控MCU,在触摸感应模块方面具有强大功能。本文所设计的编程器的任务就是能够高效、快捷地烧录JST系列MCU,在不间断工作的条件下,能够顺利地烧录数以千计的MCU,所以也可以说,该编程器是一款适合长期烧录的高性能编程器,,快速、稳定、高效是它最大的特点。 编程器的制作分为硬件部分和软件部分:硬件部分由7个电路模块组成,分别是:CPU模块、引脚检测模块、烧录控制模块、电源模块、外部FLASH模块、串口通信模块、LCD显示模块。软件部分由下位机软件和上位机软件组成。上位机软件主要用C++编写,集成开发环境是Visual C++。下位机控制程序则由ST公司提供的单片机开发环境来实现,用C语言编写程序代码。采用串口通信实现底层和上层数据的传输。 此外,作为一大亮点,该编程器具有脱机烧录的功能,可以不需要PC机就能实现MCU的BIN文件烧录,方便快捷且大大降低了对编程器操作环境的限制。 最后,通过上位机软件控制编程器,对编程器几个核心功能进行了测试,测试结果符合预期目标。并且取出1000枚目标MCU作为测试样本,最终得到的烧录良品率也达到预期要求。
[Abstract]:This paper focuses on the design and implementation of a programmable device based on STM8S208 single chip microcomputer, which is different from the traditional one, which is used for research and development. Instead, it's a programmer that can continuously burn large quantities of MCU (Micro Control Unit), all of which are JST series microprocessors from Shenzhen Hanxin Microelectronics Co., Ltd. This series of MCU is mainly used as the main control MCU, of capacitive touch keypad developed by Hanxin Microelectronics Co., Ltd. It has powerful functions in touch sensing module. The task of the programmer designed in this paper is to be able to burn thousands of JST series of MCU, efficiently and quickly under uninterrupted working conditions. The programmer is a high-performance programmer suitable for long-term burning. Fast, stable and efficient is its biggest characteristic. The programming device is divided into hardware part and software part: the hardware part is composed of seven circuit modules, namely: CPU module, pin detection module, burning control module, power module, external FLASH module, serial communication module. LCD display module. The software part consists of lower computer software and upper computer software. The host computer software is mainly written in C, and the integrated development environment is Visual C. The lower computer control program is realized by the development environment of single chip computer provided by ST, and the program code is written in C language. Serial communication is used to realize the data transmission between the bottom layer and the upper layer. In addition, as a bright spot, this programming instrument has the function of off-line burning, and can realize the BIN file burning of MCU without the need of PC machine, which is convenient, fast and greatly reduces the limitation to the operating environment of the programmer. Finally, several core functions of the programmer are tested by using the upper computer software control programmer, and the test results are in line with the expected goal. 1000 target MCU were taken out as test samples, and the rate of burning good products reached the expected requirements.
【学位授予单位】:武汉工业学院
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP368.12
本文编号:2356580
[Abstract]:This paper focuses on the design and implementation of a programmable device based on STM8S208 single chip microcomputer, which is different from the traditional one, which is used for research and development. Instead, it's a programmer that can continuously burn large quantities of MCU (Micro Control Unit), all of which are JST series microprocessors from Shenzhen Hanxin Microelectronics Co., Ltd. This series of MCU is mainly used as the main control MCU, of capacitive touch keypad developed by Hanxin Microelectronics Co., Ltd. It has powerful functions in touch sensing module. The task of the programmer designed in this paper is to be able to burn thousands of JST series of MCU, efficiently and quickly under uninterrupted working conditions. The programmer is a high-performance programmer suitable for long-term burning. Fast, stable and efficient is its biggest characteristic. The programming device is divided into hardware part and software part: the hardware part is composed of seven circuit modules, namely: CPU module, pin detection module, burning control module, power module, external FLASH module, serial communication module. LCD display module. The software part consists of lower computer software and upper computer software. The host computer software is mainly written in C, and the integrated development environment is Visual C. The lower computer control program is realized by the development environment of single chip computer provided by ST, and the program code is written in C language. Serial communication is used to realize the data transmission between the bottom layer and the upper layer. In addition, as a bright spot, this programming instrument has the function of off-line burning, and can realize the BIN file burning of MCU without the need of PC machine, which is convenient, fast and greatly reduces the limitation to the operating environment of the programmer. Finally, several core functions of the programmer are tested by using the upper computer software control programmer, and the test results are in line with the expected goal. 1000 target MCU were taken out as test samples, and the rate of burning good products reached the expected requirements.
【学位授予单位】:武汉工业学院
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP368.12
【参考文献】
相关期刊论文 前10条
1 邓启辉;用JTAG烧写Flash的方法[J];兵工自动化;2005年01期
2 桂良启,郭伟,张祖荫;电子开关CD4066在数据采集装置中的应用[J];电子技术;2003年08期
3 杨连国;史小军;朱为;堵国梁;;基于JTAG标准的高速板上编程器设计[J];电子器件;2006年01期
4 刘洋;;8位MCU融入“冗余+检测”高端技术[J];电子设计技术;2009年05期
5 李胜铭;;PL2303HX芯片的USB转串口方法[J];电子制作;2011年03期
6 赵亮;;跟我学51单片机(七)——LCD1602液晶显示模块[J];电子制作;2011年07期
7 张洪顺;;USB转串口模块的设计[J];电子制作;2011年11期
8 申晓宁;赵毅强;张进;檀柏梅;张伟;;多线程串口类在实时数据采集系统中的应用[J];计算机时代;2010年01期
9 周一恒;严家明;;基于单片机控制的液晶显示原理与设计[J];机电工程技术;2008年10期
10 冯平;张治中;;基于可调式稳压器LM317的直流稳压电源[J];电子测试;2009年05期
相关硕士学位论文 前1条
1 石林;带分析功能1对8烧录器的开发[D];吉林大学;2007年
本文编号:2356580
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2356580.html