以STM8S208單片機為主控的編程器的設計與實現(xiàn)
發(fā)布時間:2018-11-25 15:23
【摘要】:本文重點介紹以STM8S208型號單片機為主控的編程器的設計與實現(xiàn),該編程器不同于傳統(tǒng)意義上的用于開發(fā)研究的編程器,而是一款可用來持續(xù)不間斷地燒錄大批量MCU(Micro Control Unit)的編程器,而這些MCU都是由深圳瀚芯微電子有限公司推出的JST系列單片機。該系列MCU主要是作為瀚芯微電子有限公司研發(fā)的電容式觸摸按鍵板的主控MCU,在觸摸感應模塊方面具有強大功能。本文所設計的編程器的任務就是能夠高效、快捷地燒錄JST系列MCU,在不間斷工作的條件下,能夠順利地燒錄數(shù)以千計的MCU,所以也可以說,該編程器是一款適合長期燒錄的高性能編程器,,快速、穩(wěn)定、高效是它最大的特點。 編程器的制作分為硬件部分和軟件部分:硬件部分由7個電路模塊組成,分別是:CPU模塊、引腳檢測模塊、燒錄控制模塊、電源模塊、外部FLASH模塊、串口通信模塊、LCD顯示模塊。軟件部分由下位機軟件和上位機軟件組成。上位機軟件主要用C++編寫,集成開發(fā)環(huán)境是Visual C++。下位機控制程序則由ST公司提供的單片機開發(fā)環(huán)境來實現(xiàn),用C語言編寫程序代碼。采用串口通信實現(xiàn)底層和上層數(shù)據(jù)的傳輸。 此外,作為一大亮點,該編程器具有脫機燒錄的功能,可以不需要PC機就能實現(xiàn)MCU的BIN文件燒錄,方便快捷且大大降低了對編程器操作環(huán)境的限制。 最后,通過上位機軟件控制編程器,對編程器幾個核心功能進行了測試,測試結果符合預期目標。并且取出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.
【學位授予單位】:武漢工業(yè)學院
【學位級別】:碩士
【學位授予年份】: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.
【學位授予單位】:武漢工業(yè)學院
【學位級別】:碩士
【學位授予年份】:2012
【分類號】:TP368.12
【參考文獻】
相關期刊論文 前10條
1 鄧啟輝;用JTAG燒寫Flash的方法[J];兵工自動化;2005年01期
2 桂良啟,郭偉,張祖蔭;電子開關CD4066在數(shù)據(jù)采集裝置中的應用[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 申曉寧;趙毅強;張進;檀柏梅;張偉;;多線程串口類在實時數(shù)據(jù)采集系統(tǒng)中的應用[J];計算機時代;2010年01期
9 周一恒;嚴家明;;基于單片機控制的液晶顯示原理與設計[J];機電工程技術;2008年10期
10 馮平;張治中;;基于可調式穩(wěn)壓器LM317的直流穩(wěn)壓電源[J];電子測試;2009年05期
相關碩士學位論文 前1條
1 石林;帶分析功能1對8燒錄器的開發(fā)[D];吉林大學;2007年
本文編號:2356580
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2356580.html
最近更新
教材專著