CN103744704A - MCS-51 single-chip microcontroller downloading method based on Bluetooth technology - Google Patents
MCS-51 single-chip microcontroller downloading method based on Bluetooth technology Download PDFInfo
- Publication number
- CN103744704A CN103744704A CN201410013905.2A CN201410013905A CN103744704A CN 103744704 A CN103744704 A CN 103744704A CN 201410013905 A CN201410013905 A CN 201410013905A CN 103744704 A CN103744704 A CN 103744704A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- chip
- chip microcomputer
- connection
- bluetooth module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000005516 engineering process Methods 0.000 title claims abstract description 10
- 238000000034 method Methods 0.000 title claims abstract description 10
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000004891 communication Methods 0.000 claims description 4
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 3
- 229910052710 silicon Inorganic materials 0.000 description 3
- 239000010703 silicon Substances 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
本发明公开了一种基于蓝牙技术的51单片机下载方法,步骤如下:在计算机上安装YRTBlueTour蓝牙模块,启动蓝牙功能,将51单片机下载器的一端通过JTAG线缆连接到目标板上,目标板上的蓝牙模块启动工作,此时通过YRTBlueTour蓝牙模块建立计算机与下载器间的连接,即可完成硬件设备的连接,之后通过51单片机执行下载功能即可。本发明与现有技术相比,有效的减化了设备调试环节,提高了工作效率,延长了设备使用寿命。
The invention discloses a method for downloading 51 single-chip microcomputers based on bluetooth technology. The steps are as follows: install a YRTBlueTour bluetooth module on a computer, start the bluetooth function, connect one end of the 51 single-chip microcomputer downloader to the target board through a JTAG cable, and the target board The bluetooth module starts working. At this time, the connection between the computer and the downloader can be established through the YRTBlueTour bluetooth module to complete the connection of the hardware device, and then the download function can be executed through the 51 single-chip microcomputer. Compared with the prior art, the present invention effectively simplifies the equipment debugging link, improves the work efficiency and prolongs the service life of the equipment.
Description
the
技术领域 technical field
本发明涉及蓝牙技术在微处理器应用的领域,具体地说是一种基于蓝牙技术的51单片机下载方法。 The present invention relates to the field of application of bluetooth technology in microprocessors, specifically a method for downloading 51 single-chip microcomputers based on bluetooth technology.
背景技术 Background technique
通过调频和扩频技术的应用,蓝牙通信的数据传输变得更加迅速与高效,且蓝牙通信摆脱了方向束缚,具有连接距离长(达10米),传输速度较快等优点,在当今移动设备领域得到了普及。 Through the application of frequency modulation and spread spectrum technology, the data transmission of Bluetooth communication becomes faster and more efficient, and Bluetooth communication gets rid of the shackles of direction, and has the advantages of long connection distance (up to 10 meters) and fast transmission speed. field has gained popularity.
51单片机以其结构简单、功耗低、集成度高、应用开发方便等优点获得了广泛的应用。常用的51单片机程序下载器都是通过USB数据线建立PC机与目标板间的连接,然后进行程序的下载。随着计算机的快速发展以及人类对电脑的移动便携性的追求,笔记本电脑、超极本甚至平板电脑得以广泛的应用,这些电脑的USB接口往往较少,甚至没有USB接口,加上调试过程中常常需要外接各种测试装置,需要频繁换插USB,给设备的应用调试带来了极大不便,降低了工作效率。 The 51 single-chip microcomputer has been widely used because of its simple structure, low power consumption, high integration, and convenient application development. The commonly used 51 single-chip program downloader establishes the connection between the PC and the target board through the USB data cable, and then downloads the program. With the rapid development of computers and the pursuit of mobile portability of computers, notebook computers, ultrabooks and even tablet computers are widely used. These computers often have fewer or no USB ports. It is often necessary to connect various test devices externally, and the USB needs to be replaced frequently, which brings great inconvenience to the application debugging of the equipment and reduces the work efficiency.
发明内容 Contents of the invention
本发明的技术任务是提供一种基于蓝牙技术的51单片机下载方法。 The technical task of the present invention is to provide a method for downloading 51 single-chip microcomputers based on bluetooth technology.
本发明的技术任务是按以下方式实现的,该方法步骤如下:在计算机上安装YRT BlueTour蓝牙模块,启动蓝牙功能,将51单片机下载器的一端通过JTAG线缆连接到目标板上,目标板上的蓝牙模块启动工作,此时通过YRT BlueTour蓝牙模块建立计算机与下载器间的连接,即可完成硬件设备的连接,之后通过51单片机执行下载功能即可。 The technical task of the present invention is realized in the following manner, and the method steps are as follows: install the YRT BlueTour bluetooth module on the computer, start the bluetooth function, connect one end of the 51 single-chip microcomputer downloader to the target board through the JTAG cable, and the target board The bluetooth module starts working. At this time, the connection between the computer and the downloader can be established through the YRT BlueTour bluetooth module to complete the connection of the hardware device, and then the download function can be executed through the 51 single-chip microcomputer.
所述的51单片机下载器可设置多个,每个51单片机下载器分别通过JTAG线缆连接到不同的目标板上,在计算机端通过YRT BlueTour蓝牙模块建立一对多的通信,即可执行一次下载多块目标板的功能。 The 51 single-chip downloaders can be set in multiples, and each 51 single-chip downloaders are connected to different target boards through JTAG cables, and one-to-many communication is established on the computer side through the YRT BlueTour Bluetooth module, which can be executed once. Function to download multiple target boards.
所述的51单片机下载器主要由微处理器、RF2968蓝牙芯片、C2/JTAG接口以及LED状态指示灯组成,微处理器负责RF2968蓝牙芯片的初始化及数据收发的控制;RF2968蓝牙芯片负责与计算机上的YRT BlueTour蓝牙模块建立连接,实现数据的无线传输;C2/JTAG接口是建立与目标板间的连接;LED状态指示灯显示设备工作及运行的状态。 Described 51 single-chip microcomputer downloaders are mainly made up of microprocessor, RF2968 bluetooth chip, C2/JTAG interface and LED status indicator light, and microprocessor is responsible for the initialization of RF2968 bluetooth chip and the control of data sending and receiving; RF2968 bluetooth chip is responsible for communicating with computer The YRT BlueTour Bluetooth module establishes a connection to realize wireless data transmission; the C2/JTAG interface establishes a connection with the target board; the LED status indicator shows the working and running status of the device.
本发明的一种基于蓝牙技术的51单片机下载方法和现有技术相比,能有效的减化设备调试的环节,提高工作效率,延长设备的使用寿命。 Compared with the prior art, the method for downloading 51 single-chip microcomputers based on the bluetooth technology of the present invention can effectively reduce the link of equipment debugging, improve work efficiency, and prolong the service life of the equipment.
附图说明 Description of drawings
附图1为51单片机下载器使用连接示意图。 Accompanying drawing 1 is a schematic diagram of the use and connection of the 51 single-chip downloader.
附图2为51单片机下载器基本结构示意图。 Accompanying drawing 2 is a schematic diagram of the basic structure of the 51 single-chip downloader.
具体实施方式 Detailed ways
实施例1: Embodiment 1:
在笔记本电脑上安装YRT BlueTour蓝牙模块,启动蓝牙功能,将一个51单片机下载器的一端通过10pin JTAG线缆连接到目标板上,目标板上的蓝牙模块启动工作,此时通过YRT BlueTour蓝牙模块建立笔记本电脑与下载器间的连接,即可完成硬件设备的连接,之后在51单片机下载器开发环境(Keil μVision或Silicon IDE)下完成程序的编译后,可以利用该开发环境集成的下载功能或专门的HEX51单片机程序下载软件programer进行下载。 Install the YRT BlueTour Bluetooth module on the laptop, start the Bluetooth function, connect one end of a 51 MCU downloader to the target board through a 10pin JTAG cable, and the Bluetooth module on the target board will start to work. The connection between the laptop and the downloader can complete the connection of the hardware device, and then after compiling the program under the 51 single-chip downloader development environment (Keil μVision or Silicon IDE), you can use the integrated download function of the development environment or special HEX51 MCU program download software programer to download.
实施例2: Example 2:
在PC机上安装YRT BlueTour蓝牙模块,启动蓝牙功能,将一个51单片机下载器的一端通过10pin JTAG线缆连接到目标板上,目标板上的蓝牙模块启动工作,此时通过YRT BlueTour蓝牙模块建立PC机与下载器间的连接,即可完成硬件设备的连接,之后在51单片机下载器开发环境(Keil μVision或Silicon IDE)下完成程序的编译后,可以利用该开发环境集成的下载功能或专门的HEX51单片机程序下载软件programer进行下载。 Install the YRT BlueTour Bluetooth module on the PC, start the Bluetooth function, connect one end of a 51 MCU downloader to the target board through a 10pin JTAG cable, and the Bluetooth module on the target board starts to work. At this time, establish a PC through the YRT BlueTour Bluetooth module. After completing the program compilation under the 51 MCU downloader development environment (Keil μVision or Silicon IDE), you can use the integrated download function of the development environment or the dedicated HEX51 MCU program download software programer to download.
实施例3: Embodiment 3:
在笔记本电脑上安装YRT BlueTour蓝牙模块,启动蓝牙功能,将三个51单片机下载器的端部分别通过10pin JTAG线缆连接到三个不同的目标板上,三个不同的目标板上的蓝牙模块启动工作,此时通过YRT BlueTour蓝牙模块建立笔记本电脑与下载器间的连接,即可完成硬件设备的连接,之后在51单片机下载器开发环境(Keil μVision或Silicon IDE)下完成程序的编译后,可以利用该开发环境集成的下载功能或专门的HEX51单片机程序下载软件programer进行一次下载三块目标板。 Install the YRT BlueTour Bluetooth module on the laptop, start the Bluetooth function, and connect the ends of the three 51 MCU downloaders to three different target boards through 10pin JTAG cables, and the Bluetooth modules on the three different target boards Start the work. At this time, establish the connection between the laptop and the downloader through the YRT BlueTour Bluetooth module to complete the connection of the hardware device. After completing the program compilation under the 51 single-chip downloader development environment (Keil μVision or Silicon IDE), You can use the integrated download function of the development environment or the special HEX51 single-chip program download software programer to download three target boards at a time.
上述的51单片机下载器由微处理器、RF2968蓝牙芯片、C2/JTAG接口以、LED状态指示灯以及相关外围电路组成,微处理器负责RF2968蓝牙芯片的初始化及数据收发的控制;RF2968蓝牙芯片负责与计算机上的YRT BlueTour蓝牙模块建立连接,实现数据的无线传输;C2/JTAG接口是建立与目标板间的连接;LED状态指示灯显示设备工作及运行的状态。 The above-mentioned 51 MCU downloader is composed of a microprocessor, RF2968 Bluetooth chip, C2/JTAG interface, LED status indicator light and related peripheral circuits. The microprocessor is responsible for the initialization of the RF2968 Bluetooth chip and the control of data transmission and reception; the RF2968 Bluetooth chip is responsible for Establish a connection with the YRT BlueTour Bluetooth module on the computer to realize wireless data transmission; the C2/JTAG interface is to establish a connection with the target board; the LED status indicator shows the working and running status of the device.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410013905.2A CN103744704A (en) | 2014-01-13 | 2014-01-13 | MCS-51 single-chip microcontroller downloading method based on Bluetooth technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410013905.2A CN103744704A (en) | 2014-01-13 | 2014-01-13 | MCS-51 single-chip microcontroller downloading method based on Bluetooth technology |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103744704A true CN103744704A (en) | 2014-04-23 |
Family
ID=50501724
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410013905.2A Pending CN103744704A (en) | 2014-01-13 | 2014-01-13 | MCS-51 single-chip microcontroller downloading method based on Bluetooth technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103744704A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105117248A (en) * | 2015-08-20 | 2015-12-02 | 浙江中科领航汽车电子有限公司 | Program downloader of multi-split TPMS main controller and download method |
CN109542022A (en) * | 2018-12-25 | 2019-03-29 | 海南艾思能达教育文化科技有限公司 | A kind of program-controlled plate and its program down-loading method for capableing of wireless downloading program |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102170301A (en) * | 2011-04-06 | 2011-08-31 | 湖北大学 | STC single-chip microcomputer Bluetooth serial port wireless download device |
CN103324501A (en) * | 2013-05-28 | 2013-09-25 | 大连理工大学 | Efficient remote updating method for node software of wireless sensor network |
-
2014
- 2014-01-13 CN CN201410013905.2A patent/CN103744704A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102170301A (en) * | 2011-04-06 | 2011-08-31 | 湖北大学 | STC single-chip microcomputer Bluetooth serial port wireless download device |
CN103324501A (en) * | 2013-05-28 | 2013-09-25 | 大连理工大学 | Efficient remote updating method for node software of wireless sensor network |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105117248A (en) * | 2015-08-20 | 2015-12-02 | 浙江中科领航汽车电子有限公司 | Program downloader of multi-split TPMS main controller and download method |
CN109542022A (en) * | 2018-12-25 | 2019-03-29 | 海南艾思能达教育文化科技有限公司 | A kind of program-controlled plate and its program down-loading method for capableing of wireless downloading program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102917095B (en) | A kind of method of the terminal test based on android system and device | |
WO2020057084A1 (en) | Display module test platform | |
CN203366312U (en) | Household appliance upgrading system and household appliance | |
JP2015501048A5 (en) | ||
CN107066034A (en) | Computing device and computing system using the same | |
CN104331300A (en) | Server capable of directly updating setting by using substrate management controller | |
CN104991806A (en) | Remote firmware upgrading system and method for single-chip microcomputer program | |
CN101853203A (en) | An Embedded Software On-line Testing System | |
WO2008090228A3 (en) | Method of identifying devices in mobile and desktop environments | |
CN103744704A (en) | MCS-51 single-chip microcontroller downloading method based on Bluetooth technology | |
CN102170301A (en) | STC single-chip microcomputer Bluetooth serial port wireless download device | |
CN204119337U (en) | A kind of hunting camera of built Bluetooth module | |
CN103226523B (en) | The system of a kind of external equipment and mobile terminal and composition thereof | |
CN209570925U (en) | Board equipment for TEE testing | |
CN112148340A (en) | Real-time wireless program burner for unmanned ship and implementation method | |
CN210428435U (en) | A wireless control multi-channel SWD debugger based on zigbee | |
Kommu et al. | Designing a learning platform for the implementation of serial standards using arm microcontroller LPC2148 | |
CN101715253A (en) | Serial port multiplexing equipment and data transmission method | |
CN207319229U (en) | Simple RS232 multifunctional serial port expanding units | |
CN203643945U (en) | Externally-arranged multifunctional USB wireless signal transceiver of laptop | |
CN103544040A (en) | Rapid programming device | |
CN204288063U (en) | The PC mainboard of a kind of integrated wireless route cat | |
CN206532280U (en) | A kind of stm32 chip program downloaders of more options downloading mode | |
CN101615155A (en) | A new generation of Intel QPI bus test fixture | |
CN202443464U (en) | USB (Universal Serial Bus) to multi-interface conversion device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140423 |