CN209086900U - A kind of ARM programmable device based on USART serial port communicating protocol - Google Patents

A kind of ARM programmable device based on USART serial port communicating protocol Download PDF

Info

Publication number
CN209086900U
CN209086900U CN201821947352.8U CN201821947352U CN209086900U CN 209086900 U CN209086900 U CN 209086900U CN 201821947352 U CN201821947352 U CN 201821947352U CN 209086900 U CN209086900 U CN 209086900U
Authority
CN
China
Prior art keywords
burning
programmable device
serial port
module
model
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.)
Active
Application number
CN201821947352.8U
Other languages
Chinese (zh)
Inventor
张良辰
濮斌
苏静
王鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changzhou Xinlihang Electromechanical Engineering Co ltd
Original Assignee
Changzhou Wujin Semiconductor Lighting Application Technology Institute
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Changzhou Wujin Semiconductor Lighting Application Technology Institute filed Critical Changzhou Wujin Semiconductor Lighting Application Technology Institute
Priority to CN201821947352.8U priority Critical patent/CN209086900U/en
Application granted granted Critical
Publication of CN209086900U publication Critical patent/CN209086900U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

The utility model discloses a kind of ARM programmable devices based on USART serial port communicating protocol, belong to electronic technology field, including single-chip microcontroller, serial port module, LCD display, burning module, burning interface and FLASH memory;It solves to generate and providing the technical issues of a kind of stability is high, replication rate is fast, the low-cost programmable device dedicated for burning ST Series MCU, programmable device disclosed by the utility model is served only for burning ST series monolithic, energy save the cost not single in this way, and due to being made to measure for ST Series MCU, so very big guarantee will be had in terms of stability, programmable device disclosed by the utility model also has good portability, have the function of off line burning, the occasion of no computer still being capable of normal burning/recording chip.

Description

A kind of ARM programmable device based on USART serial port communicating protocol
Technical field
The utility model belongs to electronic technology field more particularly to a kind of ARM programming based on USART serial port communicating protocol Device.
Background technique
Support the programmable device of burning ST series monolithic burning considerably less on domestic market, although some high-end programmable device energy Enough burning ST series monolithics, but price is very expensive, if using the burning cost that will greatly improve MCU.In addition to mating Programmable device type is few, other than the factors such as expensive, inconvenient for operation, interface is ugly, burning rate is slow etc. is all to restrict market The factor of the Special programming of upper few ST Series MCUs.This requires a high speed and stablizes, and supports online programming and off line The programmable device of burning function carries out burning to ST Series MCU.
Programmable device is actually the tool for programmable integrated circuit being write data, and programmable device is mainly used for monolithic The programming (or writing with a brush dipped in Chinese ink) of the chip of machine (containing embedded)/memory (containing BIOS) etc.Traditional programmable device is in fact It is a multifunction circuit board with MCU (Micro Controller unit) for control core.Control core as programmable device The heart, MCU are also known as single-chip microcontroller or one chip microcomputer, are a kind of IC chips, are using super large-scale integration skill Art with data-handling capacity central processor CPU random access memory ram, read only memory ROM, it is a variety of I/O mouthfuls and in The functions such as disconnected system, timer/timer (may further include display driver circuit, pulse-width modulation circuit, Multipexer conversion The circuits such as device, A/D converter) it is integrated into the small and perfect computer system constituted on one piece of silicon wafer.It is believed that single Piece machine is exactly a microcomputer system.
Programmable device can probably be divided into research and development type and production burning two major classes type by the demand used, and foundation can handle The type and function of element, the cd-rom recorder of research and development can be subdivided into simple function type and universal type again.Different use purposes Also different design concept and characteristic are created.
Research (simple function type): the simple function type cd-rom recorder of simple functions is provided for single kind of element, usually Have using simple, cheap advantage, but also has the problem of can not expanding simultaneously.If being intended merely to single exploitation Task need to only use the simple components such as EPROM, MCS-51 or PIC, and hope is stablized, and fraction defective is low, then professional programmable device system The product for making quotient or IC genuine licensed-type production is probably relatively good selection.
Research (universal type): current main product, it should it is universal type programmable device (Universal Compiler), It stands in the position of research and development engineer, the programmable element in product development can be applied what more, mixed in the same design case It can be found everywhere with the chance of single-chip, FLASH, EPROM, CPLD.One is bought through software upgrading, so that it may support thousands of kinds of IC Universal type programmable device although price is more expensive be good selection in the long run.For the manufacturer of programmable device, ten thousand It is most important difficult and challenge is come weeding out the old and bring forth the new as semiconductor manufacturer with type programmable device, writable chip on the market at present It is thousands of, it is annual again with 300~500 speed in metabolism, so the manufacturer of universal type programmable device there must be one A huge R&D team guarantees that software upgrading speed is also completely correct fastly, is otherwise eliminated soon. In addition IC genuine most absolutely is in order to control the extremely low burning fraction defective of IC, so only can be to the excellent manufacturer of minority authenticated IC sample and burning algorithm (Algorithm) are provided.And a small number of manufacturers are to keep the burning to the IC of emergence to support, Constantly constantly oneself product must be upgraded, huge late maintenance cost allows for this kind of universal type programmable device price It is high.
This kind of cd-rom recorders has usually belonged to the scope of production equipment, and price is not the largest considerations, yield, surely Fixed, production capacity and service are only important determinant.Influence element burning yields will be known as three: the processing procedure of cd-rom recorder, IC Change, operator;Wherein cd-rom recorder accounts for most heavy specific gravity again, as long as design is good, abides by the burning of IC manufacturer specification completely Algorithm is recorded, and cooperates the change of IC manufacturer at any time, allowing user that can have in the shortest time, optimal method for burn-recording is available, Along with just right fool-proof design, the carelessness of operator is avoided, has so just brought up the burning non-defective unit of almost Perfect Rate.And production unit is unlike office, other than environmental factor is complicated, even 24 hours 8 hours one day long-times are used, The stability of programmable device just determines that production line can or can not break.Furthermore if burning FLASH/EPROM or other large capacities IC will consider the output efficiency of programmable device, i.e. burning rate.The difference of speed may reach under the specification equally in accordance with IC As many as several times consider overall throughput, and output capacity is also a big emphasis.If front several points compare up, difference is little, that burning The quick service of device manufacturer and it is sustainable just determine all, production line can not " it is standby to stop line " after all.
Currently, the programmable device of volume production is nearly all the world of famous foreign brand, the price of up to hundreds of thousands is even more state The big burden of the one of interior manufacturer.Therefore, one can not connect that computer energy independent work, easy to operate, low in cost, replication rate is fast Volume production cd-rom recorder be only best choice.
Utility model content
The purpose of the utility model is to provide a kind of ARM programmable devices based on USART serial port communicating protocol, solve and make a living At providing, a kind of stability is high, technology of fast, the low-cost programmable device dedicated for burning ST Series MCU of replication rate is asked Topic.
To achieve the above objectives, the present invention adopts the following technical solutions:
A kind of ARM programmable device based on USART serial port communicating protocol, including single-chip microcontroller, serial port module, LCD display, burning Record module, burning interface and FLASH memory;Single-chip microcontroller is equipped with first serial and second serial, the first serial and serial ports Module communication, serial port module connect exterior PC computer, and the second serial is communicated with burning module, and burning module is connect by burning Mouth connection external object MCU, FLASH memory are connect by I2C bus with single-chip microcontroller, and LCD display connects the one of single-chip microcontroller Group I/O port.
Preferably, the model MAX232 of the serial port module;The model STM8S208 of the single-chip microcontroller;It is described The model 24C256 of FLASH memory.
Preferably, the LCD display is connect by 8 parallel-by-bit lines with one group of I/O port of the single-chip microcontroller.
Preferably, the model 74HC244N of the burning module.
Preferably, the burning interface is 3 wire serial bus interfaces.
Preferably, the external object MCU is ST Series MCU.
A kind of ARM programmable device based on USART serial port communicating protocol described in the utility model solves to generate and providing The technical issues of a kind of stability is high, replication rate is fast, the low-cost programmable device dedicated for burning ST Series MCU, this Programmable device disclosed in utility model is served only for burning ST series monolithic, energy save the cost not single in this way, and due to being for ST Series MCU is made to measure, so will have very big guarantee in terms of stability, programmable device disclosed by the utility model also has well Portability, have the function of off line burning, the occasion of no computer still being capable of normal burning/recording chip.
Detailed description of the invention
Fig. 1 is the principles of the present invention figure block diagram;
Fig. 2 is the serial port module schematic diagram of the utility model;
Fig. 3 is the LCD display schematic diagram of the utility model;
Fig. 4 is the burning module schematic diagram of the utility model;
Fig. 5 is the FLASH memory schematic diagram of the utility model.
Specific embodiment
By a kind of Fig. 1-ARM programmable device based on USART serial port communicating protocol shown in fig. 5, including single-chip microcontroller, serial ports mould Block, LCD display, burning module, burning interface and FLASH memory;Single-chip microcontroller is equipped with first serial and second serial, described First serial is communicated with serial port module, and serial port module connects exterior PC computer, and the second serial is communicated with burning module, burning Module connects external object MCU by burning interface, and FLASH memory is connect by I2C bus with single-chip microcontroller, LCD display Connect one group of I/O port of single-chip microcontroller.
Preferably, the model MAX232 of the serial port module;The model STM8S208 of the single-chip microcontroller;It is described The model 24C256 of FLASH memory.
Preferably, the LCD display is connect by 8 parallel-by-bit lines with one group of I/O port of the single-chip microcontroller.
Preferably, the model 74HC244N of the burning module;
Preferably, the burning interface is 3 wire serial bus interfaces.
Preferably, the external object MCU is ST Series MCU.
The burning program of ST Series MCU is the program file of BIN document form.
Preferential, the single-chip microcontroller is also electrically connected several keys, and one group of I/O port that all keys pass through single-chip microcontroller carries out Control.
Preferably, the single-chip microcontroller, serial port module, LCD display, burning module, burning interface and FLASH memory are equal Pass through external 5V power supply power supply.
Preferably, the single-chip microcontroller is also electrically connected several LED lights.
It as Figure 2-Figure 5, is the circuit diagram of the present embodiment, wherein 13,14 pins of MAX232 connect PC, 11,12 pipes Foot connects master control STM8S208.Serial communication is realized with host computer by 2,3 holes in serial ports connector P1.PC machine is assisted by serial ports View sends one piece of data to STM8S208, after STM8S208 receives data, by 2 hole returned datas, if two data With consistent, then represent and communicate successfully.
The hardware of LCD and CPU connects block diagram, and CPU is written and read control, relevant control letter to LCD by 8 parallel-by-bit buses Number have: chip selection signal E, reading and writing signal W/R, register select position RS.
LCD display module passes through SMC1602 screen, developer for showing the various states in the programmable device course of work The course of work of programmable device and the operating condition of modules can be got information about very much.Such as target MCU model, Whether programmable device burning process occurs mistake, some state parameters of system etc..
It is illustrated in figure 4 the circuit diagram of burning module, wherein if there is W&R_Vpp high level signal inputs, then triode Q5 base stage is connected with transmitter, and triode Q6 base stage is pulled low, and triode Q6 emitter inputs 12V voltage, is in high level, According to PNP type triode characteristic, triode Q6 is connected at this time, output voltage Vpp.Similarly, when W&R_Vdd input voltage, then The circuit exports Vdd voltage accordingly.System difference pin obtains which kind of operation order should carry out by detection voltage value. These operations include the reading of chip, write-in, verifying etc..
24C256 storage chip as shown in Figure 5 has the 512*64 memory of I2C interface, in the storing process of data, Follow the necessary logic of I2C agreement.The data capacity of 24C256 reaches 32768 bytes.Its address is 16 integers, and its In only 15 be valid data, be divided into low 6 and 9 high.It has eight pins.And SCL (serial clock input) and SDA The input terminal of (serial data and/or addresses input) as 24C256, is connected with 68,69 pins of master control STM8S208, realizes serial Data communication.
Before implementing burning, the ARM programmable device disclosed by the utility model based on USART serial port communicating protocol is led to first It crosses usb bus to be connected on exterior PC computer, then carries out pin inspection, determine after connecting, carry out burning program: PC computer Before BIN file is written to target MCU, it is necessary to carry out looking into empty detection to chip, it is ensured that chip be it is empty, it is before not written Entered data, target MCU is able to achieve the function of anticipation after just can ensure that write-in BIN file in this way.And look into empty detection process its Real is exactly that data are read from target MCU, the process then compared one by one with the data under chip space state.As the 2K of reading Byte content coincide with the comparing of space state, then represent this chip be it is empty, data were not written into, by looking into sky Chip after detection could start that data are written.
After the completion of looking into empty detection, programmable device will start to write data into target MCU, and dump to FLASH by MCU In memory.Burning process is correct, then the stage for reading verification data is directly entered after chip is written, if burning Journey error then sends message and informs host computer, and exits burning control program.
When needing off line burning, the programming port of target MCU is connected on the burning interface, the utility model is dedicated In ST Series MCU, the programming port of ST Series MCU is the serial ports of its own, i.e., is connected to the programming port of ST Series MCU Hardware connection can be completed on the 3 line serial bus that the burning interface provides to prepare, will first carry out the BIN text of off line burning Part is stored in FLASH memory, if that is, by PC computer by BIN file download into the single-chip microcontroller, the then list Piece chance dumps in FLASH memory automatically, and then programmable device is powered on and initialized, and programmable device is now in listening state, etc. Order to off line burning button.After off line burning button is pressed, signal will be by the pipe of STM8S208 main control singlechip Foot receives, and is placed on high level, and triggering internal processes enter the code segment of off line burning, before carrying out off line burning, with Link PC machine burning target MCU it is identical, will carry out target MCU pin detection, judge for execute burning work pin be No connection is correct, after pin detection is out of question, serial communication will be begun through, by the BIN file source in FLASH memory Source is constantly written in target MCU, and while continuous write-in, system is also constantly carrying out the verification to write-in content, When find the content that is written in target MCU with store content in FLASH memory there are it is inconsistent when, program will be direct It jumps out, and LCD display is called to show program, the printed words of display " Writing Failed " on LCD display, while Off line burning failure indicator light on programmable device lights, and burning personnel is facilitated intuitively to observe very much the work feelings of off line burning Condition.And when off line burning success, LCD display will show " Writing Finished " printed words, and indicator light It lights, programmable device will be forbidden continuing to read and write, and reenter listening state, and the button of off line burning next time is waited to be pressed.
Programmable device is in listening state, and the switch of off line burning is waited to press, if switch starting, programmable device will enter de- Machine program state, the content of BIN file is in the target MCU that write-in has had connected in FLASH.
A kind of ARM programmable device based on USART serial port communicating protocol described in the utility model solves to generate and providing The technical issues of a kind of stability is high, replication rate is fast, the low-cost programmable device dedicated for burning ST Series MCU, this Programmable device disclosed in utility model is served only for burning ST series monolithic, energy save the cost not single in this way, and due to being for ST Series MCU is made to measure, so will have very big guarantee in terms of stability, programmable device disclosed by the utility model also has well Portability, have the function of off line burning, the occasion of no computer still being capable of normal burning/recording chip.

Claims (6)

1. a kind of ARM programmable device based on USART serial port communicating protocol, it is characterised in that: including single-chip microcontroller, serial port module, LCD Display screen, burning module, burning interface and FLASH memory;Single-chip microcontroller is equipped with first serial and second serial, first string Mouth is communicated with serial port module, and serial port module connects exterior PC computer, and the second serial is communicated with burning module, and burning module is logical Burning interface connection external object MCU is crossed, FLASH memory is connect by I2C bus with single-chip microcontroller, and LCD display connection is single One group of I/O port of piece machine.
2. a kind of ARM programmable device based on USART serial port communicating protocol as described in claim 1, it is characterised in that: the string The model MAX232 of mouth mold block;The model STM8S208 of the single-chip microcontroller;The model of the FLASH memory 24C256。
3. a kind of ARM programmable device based on USART serial port communicating protocol as described in claim 1, it is characterised in that: described LCD display is connect by 8 parallel-by-bit lines with one group of I/O port of the single-chip microcontroller.
4. a kind of ARM programmable device based on USART serial port communicating protocol as described in claim 1, it is characterised in that: the burning Record the model 74HC244N of module.
5. a kind of ARM programmable device based on USART serial port communicating protocol as described in claim 1, it is characterised in that: the burning Record interface is 3 wire serial bus interfaces.
6. a kind of ARM programmable device based on USART serial port communicating protocol as described in claim 1, it is characterised in that: described outer Portion target MCU is ST Series MCU.
CN201821947352.8U 2018-11-23 2018-11-23 A kind of ARM programmable device based on USART serial port communicating protocol Active CN209086900U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201821947352.8U CN209086900U (en) 2018-11-23 2018-11-23 A kind of ARM programmable device based on USART serial port communicating protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201821947352.8U CN209086900U (en) 2018-11-23 2018-11-23 A kind of ARM programmable device based on USART serial port communicating protocol

Publications (1)

Publication Number Publication Date
CN209086900U true CN209086900U (en) 2019-07-09

Family

ID=67125417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201821947352.8U Active CN209086900U (en) 2018-11-23 2018-11-23 A kind of ARM programmable device based on USART serial port communicating protocol

Country Status (1)

Country Link
CN (1) CN209086900U (en)

Similar Documents

Publication Publication Date Title
CN105573743B (en) Chip burning system and method and electronic equipment
CN102759676B (en) Capacitive screen comprehensive testing circuit, testing method and output data switching algorithm of testing method
CN106708586B (en) A kind of handheld instrument and method for the update of embedded system program automatic on-line
TW201109913A (en) Main system board error-detecting system and its pluggable error-detecting board
CN103513994A (en) Method and system for carrying out FPGA on-line upgrading through PCIE
CN107678988A (en) A kind of multifunctional serial port device and implementation method
CN204406138U (en) Vehicle-mounted chip one brushes many devices
CN105955911A (en) Hot-plug control circuit and control method thereof
US20060026462A1 (en) Apparatus for recovering BIOS in computer system
CN104899177B (en) A kind of I2C apparatus control methods and system
CN110619914A (en) Mass production method for solid state disk with PCIe interface mass production device
CN203069750U (en) Novel digital chip testing instrument
CN101290724A (en) Computer hardware series course experimental device
CN108595356A (en) A kind of hard disk backboard and method of compatible RSSD hard disks and NVMe hard disks
CN209086900U (en) A kind of ARM programmable device based on USART serial port communicating protocol
CN104699055A (en) Field bus controller and method
CN204406186U (en) A kind of fieldbus controller
CN201397369Y (en) Development test circuit device
CN105677429A (en) Program burning method, processor and electronic circuit
CN105446937A (en) Circuit board based on programmable chip and configuration method of circuit board
CN106227630A (en) A kind of detecting system for embedded radio module
CN205486087U (en) PCI bus interface card based on PCI9052
CN110888656B (en) Multifunctional programming device and programming method
CN208444293U (en) A kind of full-automatic CD writers
CN102043120A (en) Automatic tester of cell management chip

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230505

Address after: 213100 Daizhuang Village, Zou District, Zhonglou District, Changzhou City, Jiangsu Province (Zone C, the third floor of the first building)

Patentee after: Changzhou Xinlihang Electromechanical Engineering Co.,Ltd.

Address before: 213164 Room 101, building 9, Tian'an Digital City, Changzhou City, Jiangsu Province

Patentee before: CHANGZHOU INSTITUTE OF TECHNOLOGY RESEARCH FOR SOLID STATE LIGHTING

TR01 Transfer of patent right