CN2869988Y - Chip programming apparatus - Google Patents

Chip programming apparatus Download PDF

Info

Publication number
CN2869988Y
CN2869988Y CN 200520114621 CN200520114621U CN2869988Y CN 2869988 Y CN2869988 Y CN 2869988Y CN 200520114621 CN200520114621 CN 200520114621 CN 200520114621 U CN200520114621 U CN 200520114621U CN 2869988 Y CN2869988 Y CN 2869988Y
Authority
CN
China
Prior art keywords
chip
interface
cpu
programming
programming device
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.)
Expired - Lifetime
Application number
CN 200520114621
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.)
Beijing C&W Electronics Group Co Ltd
Original Assignee
Beijing C&W Electronics Group Co Ltd
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 Beijing C&W Electronics Group Co Ltd filed Critical Beijing C&W Electronics Group Co Ltd
Priority to CN 200520114621 priority Critical patent/CN2869988Y/en
Application granted granted Critical
Publication of CN2869988Y publication Critical patent/CN2869988Y/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

This utility model relates to the development domain of monolithic processors, which belongs to a chip programming device, which comprises a CPU, a display, a keyboard and a data transmission interface, and a power detection and protection circuit, wherein the CPU must have SPI programming interface. Download the procedure code to be programmed to the memory of this device via the transmission interface from the universal computer, and perform the programming by directly connecting to the chip to be burnt via the SPI interface of the CPU. As input and output devices, the display and keyboard are used to display the current state and allow operation by users. The power detection and protection circuit detects if the power supply of a target board is shorted or subject to over-current, and actuates relevant protection. The device with this utility model greatly increases the programming rate of the chip and provides simple operation, off-line operation, lower fault rate in the programmed chip and disaster protection.

Description

A kind of chip programming device
Technical field
The utility model relates to the single-chip microcomputer design field, is specifically related to chip is carried out the device of programming in batches.
Background technology
In the process of single-chip microcomputer design, exploitation and volume production, one of them important problem is exactly, how fast, in batches, guarantee the quality program is written to single-chip microcomputer.
In the present prior art, the method commonly used of burning single-chip microcomputer has two kinds in batches, and first kind is off-line programing.This method need be used a computing machine, a universal programmer, a chip switching adapter.During programming, the chip that chip switching adapter is used to connect computing machine and treats burning by computer control, is burnt to the object code of program on the single-chip microcomputer.This method has significant disadvantages: because what use is universal programmer and adapter, therefore the code that writes all is identical, and the burning chip that comes out can only be worked out the sequence number of simple increment like this; And the cost height, it need use computing machine, programmable device and adapter; And complicated operation, need simultaneous-operation computer and programmable device.
Another kind popular technique in the industry is serial online programming (ISP).This method needs the programmable device of a computing machine, serial ports or parallel port.Serial ports or parallel port programmable device are connected on SPI (serial peripheral communication interface) interface of computing machine by USB interface, treat that the chip of burning is placed on the programmable device.When needs during to chip programming, by the Control Software on the operational computations machine, the programming progress of control chip.A typical example of this programmable device, as the STK-500 of Atmel company is exactly equipment for the online programming of AVR  Flash single-chip microcomputer design, cooperate AVR Studio tool software or other can drive the software of STK-500, can be at windows platform by the come together programming of control chip of RS-232 serial port transmission line.
This as can be seen technology has its shortcoming:
(1) its complicated operation needs the operational computations machine, and once can only burning a slice chip.
(2) its stability is lower, because such programming process has adopted serial ports or parallel port emulation SPI sequential to finish chip programming, except efficient low, and error correcting capability is poor, in case in the burning process, go wrong, the such problem of buffer zone mistake or data dislocation for example occurs, just must restart computing machine.
(3) disaster tolerance is poor, when Target Board has fault (as power supply short circuit), can burn Target Board, programmable device or computer interface.
(4) Zui Da shortcoming is that its speed is slow.Such replication rate has only about 1.6kbps, that is to say that the content to a burning chip 8KB needs about 50 seconds, is unfavorable for batch jobs.
The utility model content
(1) technical matters that will solve
The purpose of this utility model provide a kind of can the divorced from computer operation, cost is low, stability is strong, speed is fast, can use the complicated program rule to carry out batch programmed chips programmable device.
(2) technical scheme
In order to achieve the above object, the utility model proposes a kind of chip programming device, it comprises with the lower part:
(1) central processor CPU (1) is used to control whole device, and it has at least one SPI interface (5);
(2) display screens (2), it is connected to CPU, is used to show the input and output result;
(3) keyboards (3), it is connected to CPU, the user by it to being programmed into line operate;
(4) transmission interfaces, this interface is connected to multi-purpose computer to this programmer, treats that the program segment of burning downloads in the storer of programmer from multi-purpose computer by this interface.
(5) power supplys detect and holding circuit (9), and it is connected respectively to Target Board and CPU, is used to detect the current conditions of Target Board;
Above-mentioned chip programming device, a kind of preferred scheme are also to comprise data-carrier store (8), are used for the growth data storage space, and the procedure code of burning is treated in storage.
Above-mentioned chip programming device, a kind of preferred scheme are that it also comprises matrix control device (6), and the SPI interface (5) of it and CPU is connected, and is used for the SPI interface is expanded, and is connected with needle-bar or socket (7), allow the burnings simultaneously of a plurality of chips.
Above-mentioned chip programming device, a kind of preferred scheme are that keyboard (3) is 24 key boards.
Above-mentioned chip programming device, a kind of preferred scheme are that transmission interface is a USB interface, and this interface comprises a USB interface chip (4), and this USB interface connects this programmer and multi-purpose computer, is used for the transmission of data; The program segment for the treatment of burning downloads to the memory element of this programmer from multi-purpose computer by this USB interface.
Above-mentioned chip programming device; a kind of preferred scheme is that power supply detects the current conditions that is used to detect Target Board with holding circuit; comprise short circuit whether occurring and whether have overcurrent; when short circuit or electric current occurring greater than the threshold value set; the electric current that disconnects Target Board connects, and information feedback is arrived CPU.
Above-mentioned chip programming device wherein also comprises power unit, is used to all to power with electric device.
(3) beneficial effect
The utlity model has following beneficial effect:
(1) speed is fast.Owing to when using this device, be directly to use the SPI interface that chip is programmed, rather than the picture prior art must be passed through serial ports or parallel port device to chip programming, therefore, transfer rate only depends on the memory response speed of chip, that is to say, the program rate of chip is performed to the limit.Therefore the communication speed of SPI mouth, writes under the enough situations of response speed in the objective chip storage between 250Kbps~4Mbps, reaches as high as 4Mbps.
(2) simple to operate, save cost.Therefore whole programming operation divorced from computer is fit to the volume production operation.Only just need use a computer when this device need download sign indicating number, operation in addition is all irrelevant with computing machine.
(3) fault processing is simple.When adopting this device to chip programming, because the operation divorced from computer, most of mistake need not manual intervention and can recover voluntarily, and individual cases only need operating personnel just can resume work by the keyboard of operating this device.
(4) stability is stronger.Detect and holding circuit because this device comprises power supply, can avoid causing catastrophic event such as on fire because of the Target Board short circuit.
Description of drawings
Fig. 1 is the module diagram of embodiment 1 of the present utility model;
Fig. 2 is the module diagram of embodiment 2 of the present utility model;
Fig. 3 is a workflow diagram of the present utility model;
Among the figure, 1, CPU; 2, LCD display; 3, keyboard; 4, USB interface chip; 5, SPI DLL (dynamic link library); 6, matrix control device; 7, the needle-bar or the socket of programming usefulness; 8, data-carrier store; 9, power supply detects and holding circuit.
Embodiment
The utility model proposes to the chip programming device, be described as follows in conjunction with the accompanying drawings and embodiments.Following embodiment only is used to illustrate the utility model; and be not to restriction of the present utility model; the those of ordinary skill in relevant technologies field; under the situation that does not break away from spirit and scope of the present utility model; can also make various variations and modification; therefore all technical schemes that are equal to also belong to category of the present utility model, and scope of patent protection of the present utility model should be limited by each claim.
Embodiment 1
Present embodiment is used to illustrate a kind of most basic configuration of the present invention, as shown in Figure 1, comprises a CPU, a LCD display, a keyboard, a transmission interface, and a power supply detects and holding circuit.
The CPU aspect, adopted the Mega128 chip of Atmel company in the present embodiment, it comprises: but the EEPROM (EEPROM) of the Flash of the overprogram of 128KB (flash memory), 4KB, master/slave serial SPI DLL (dynamic link library), 8 path 10 position ADC (analogue-to-digital converters), two serial USART able to programme (USART).
The keyboard aspect has adopted 24 general key boards; Display screen has adopted general 128*64 LCDs, and this part all belongs to technology well-known to those skilled in the art, does not repeat them here.
Transmission interface aspect, present embodiment have adopted USB (USB (universal serial bus)) interface popular in the prior art, and it comprises the USB interface chip of a control usefulness.This part technology belongs to existing current techique, for example adopts the CP2102 chip of SILICON company, does not repeat them here.
Power supply detects and the holding circuit aspect, has adopted the design of separation circuit, and it is connected with Target Board or chip carrier socket.When the electric current of Target Board short circuit occurs or during greater than certain threshold value, this part circuit disconnects the electric current of Target Board, plays the effect of protection, and this part information feedback to CPU, on display screen, show.This holding circuit belongs to art technology workman technique known, does not repeat them here.
Display screen, keyboard and USB interface are connected with CPU respectively, finish the combination of this device.In the present embodiment, because the SPI DLL (dynamic link library) of the CPU that is adopted is not expanded, therefore can only programme to a chip simultaneously.
Program object sign indicating number and the programming rule for the treatment of burning pass through USB interface, just are transferred to this device from general-purpose computations, and specifically, the program object sign indicating number has been stored among the Flash of CPU.Therefore, when objective chip is carried out burning, just do not need operational computations machine again, all operations is all finished on this device.
Wherein, programming rule is one section program code, and it can realize the specific function that all changes to some extent along with each programming such as specific serial number codes, manufacturer's information, random number generation, data encryption etc.
The workflow diagram of this device as shown in Figure 3.
The conventional self check of beginning after the device power.General less the making a mistake of this operation, if run into wrong the generation, relevant information can be presented on the LCD, at this time may need the user to restart this device.After self check, the user just can begin chip is operated, for example the burning/recording chip program.When the user assigns instruction beginning burning chip, system begins initialization SPI communication, prepares relevant data, switches to SPI then and connect according to programming rule.At first detect the power status of Target Board, comprise short circuit whether occurring, whether have overcurrent etc., begin conventional burning chip program then, comprise the ID that reads objective chip, fuse bit is set, writes Flash, writes EEPROM, writes locking bit, check.These 7 steps are if mistake, and relevant error message meeting is presented on the LCD, and wait for user's operation, for example restart burning program, do not need the user to restart device usually.Therefore, often need restart facility compared with using ISP (serial online programming) in the prior art in case mistake occurs, this device will make things convenient for manyly in the use.If above 7 steps can both successful operation, then finish burning to a slice chip.At this time system can return, and waits for user's operation, and for example, the user can prepare next sheet chip of burning.
As can be seen, programming efficiency significantly improves when using this device, owing to be directly to use the SPI interface that chip is programmed, rather than adopt serial ports or parallel port emulation SPI mode to be connected to chip as prior art, therefore, the bottleneck of transmission speed is no longer caused by Intra-Interface Communications speed, and only depends on the memory response speed of chip, that is to say, the program rate of chip is performed to the limit.Therefore, aspect replication rate, have very significantly and improve, calculate, can reach 256Kbps according to existing AVR chip-stored response speed; Do not consider to reach as high as 4Mbps under the memory response speed conditions; And simple to operate, whole programming process can divorced from computer, therefore is fit to the output operation; Simpler than prior art aspect fault processing in addition, it does not need to restart computing machine, and when adopting this device, running into mistake generally only needs operating personnel just passable by keyboard operation.
Embodiment 2
Technical scheme when present embodiment is used to the equipment that adopts expansion is described except CPU, LCD, keyboard, transmission interface, power supply detection and the holding circuit of necessity, has also comprised the Flash and the matrix controller of expansion.
The CPU aspect, adopted the Mega64 chip of Atmel company in the present embodiment, it comprises: but the EEPROM (EEPROM) of the Flash of the overprogram of 64KB (flash memory), 2KB, SPI DLL (dynamic link library), 8 path 10 position ADC (analogue-to-digital converters), two serial USART able to programme (USART).
In the present embodiment, the Flash of expansion has adopted the AT29C010 chip of Atmel company, and it is 5 volts a programmable and erasable ROM (read-only memory) (PEROM) only, has the 1MB (capacity of 128K * 8bit).
In addition, the MTP27SF020 of SST company, MPF39SF020 series FLASH storer can be used for the extension storage space equally.
The transmission interface aspect, with embodiment 1, present embodiment has adopted USB (USB (universal serial bus)) interface popular in the prior art, and it comprises the USB interface chip of a control usefulness.This part technology belongs to existing current techique, for example adopts the CP2102 chip of SILICON company, does not repeat them here.
The matrix control device is connected with the SPI interface, is used for the SPI DLL (dynamic link library) is expanded.Programmer after the expansion allows a plurality of chips are programmed simultaneously, further improves programming efficiency.In the present embodiment, adopt the CD4067 chip, it is one 16 path analoging switch.Therefore, the device of present embodiment allows maximum 16 chips are programmed simultaneously.
The IO (input-output device) that a test chip is used be can also expand, and test special-purpose needle-bar or socket are connected to.Like this, chip to be tested is inserted on the needle-bar, can tests.This part technology belongs to the prior art that those skilled in the art uses always, does not repeat them here.
The keyboard aspect has adopted 24 general key boards; Display screen has adopted common apparatus, and this part all belongs to technology well-known to those skilled in the art, does not repeat them here.
Same, adopt device of the present utility model, can significantly improve programming efficiency.Originally a collection of chip is 1000 altogether, when adopting the online programming operating type of prior art, needs 4 operating personnel's operations of totally 20 hours, i.e. during 80 work of everyone per thousand need; And after adopting device of the present utility model, owing to improved program rate and simplified operation, totally 6000 of therefore same chips only need 10 hours operation of 2 operating personnel just can finish, when being 3.3 work of everyone per thousand need, efficient has improved 24 times.And the chip that adopts this device to finish, because the stability of operating process improved, so rate of breakdown is
Prior art is much lower.

Claims (7)

1, a kind of chip programming device is characterized in that it comprises with the lower part:
(1) central processor CPU (1) is used to control whole device, and it has at least one SPI interface (5);
(2) display screens (2), it is connected to CPU, is used to show the input and output result;
(3) keyboards (3), it is connected to CPU, the user by it to being programmed into line operate;
(4) transmission interfaces, this interface is connected to multi-purpose computer to this programmer, treats that the program segment of burning downloads in the storer of programmer by this interface from multi-purpose computer;
(5) power supplys detect and holding circuit (9), and it is connected respectively to Target Board and CPU, is used to detect the current conditions of Target Board.
2, chip programming device as claimed in claim 1 is characterized in that it also comprises data-carrier store (8), is used for the growth data storage space, and the procedure code of burning is treated in storage.
3, chip programming device as claimed in claim 1, it is characterized in that it also comprises matrix control device (6), the SPI interface (5) of it and CPU is connected, and is used for the SPI interface is expanded, and be connected with needle-bar or socket (7), allow the burnings simultaneously of a plurality of chips.
4, chip programming device as claimed in claim 1 is characterized in that keyboard (3) is 24 key boards.
5, chip programming device as claimed in claim 1 is characterized in that transmission interface is a USB interface, and this interface comprises a USB interface chip (4), and this USB interface connects this programmer and multi-purpose computer, is used for the transmission of data; The program segment for the treatment of burning downloads to the memory element of this programmer from multi-purpose computer by this USB interface.
6, chip programming device as claimed in claim 1 is characterized in that described power supply detects the design of adopting separation circuit with holding circuit (9).
7, chip programming device as claimed in claim 1 is characterized in that also comprising power unit, is used to all to power with electric device.
CN 200520114621 2005-11-10 2005-11-10 Chip programming apparatus Expired - Lifetime CN2869988Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200520114621 CN2869988Y (en) 2005-11-10 2005-11-10 Chip programming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200520114621 CN2869988Y (en) 2005-11-10 2005-11-10 Chip programming apparatus

Publications (1)

Publication Number Publication Date
CN2869988Y true CN2869988Y (en) 2007-02-14

Family

ID=37724927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200520114621 Expired - Lifetime CN2869988Y (en) 2005-11-10 2005-11-10 Chip programming apparatus

Country Status (1)

Country Link
CN (1) CN2869988Y (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101876825A (en) * 2010-06-29 2010-11-03 广西工学院 Human-computer interface device of small PLC
CN101576825B (en) * 2009-05-08 2012-07-04 上海耕研电子科技有限公司 Embedded integrated circuit programmer
CN101937205B (en) * 2009-11-13 2013-01-09 广西工学院 Novel portable PLC (Programmable Logic Controller) programming device
CN103021464A (en) * 2012-12-18 2013-04-03 上海市共进通信技术有限公司 Memory chip programmer, setting of memory chip programmer and method for carrying out programming control on memory chip
CN104050005A (en) * 2014-06-30 2014-09-17 广州视源电子科技股份有限公司 Burning method and system
CN104090789A (en) * 2014-06-27 2014-10-08 国家电网公司 FLASH programming device allowing connection with multiple modules
CN106055317A (en) * 2016-05-20 2016-10-26 上海英恒电子有限公司 Microcontroller-based programming apparatus, and programming method and programming system thereof
CN106950875A (en) * 2017-03-17 2017-07-14 北京虹电科技有限公司 A kind of embedded programming device and its fixture system
CN107577901A (en) * 2017-10-20 2018-01-12 浙江建设职业技术学院 A kind of collision detection BIM Database Systems for construction site
CN108287514A (en) * 2018-03-28 2018-07-17 天津中德应用技术大学 A kind of high speed volume production programmable device based on expert system and round-robin method
CN111026412A (en) * 2019-11-27 2020-04-17 Tcl华星光电技术有限公司 Burning system and burning method of display driver

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101576825B (en) * 2009-05-08 2012-07-04 上海耕研电子科技有限公司 Embedded integrated circuit programmer
CN101937205B (en) * 2009-11-13 2013-01-09 广西工学院 Novel portable PLC (Programmable Logic Controller) programming device
CN101876825A (en) * 2010-06-29 2010-11-03 广西工学院 Human-computer interface device of small PLC
CN101876825B (en) * 2010-06-29 2013-01-09 广西工学院 Human-computer interface device of small PLC
CN103021464A (en) * 2012-12-18 2013-04-03 上海市共进通信技术有限公司 Memory chip programmer, setting of memory chip programmer and method for carrying out programming control on memory chip
CN104090789A (en) * 2014-06-27 2014-10-08 国家电网公司 FLASH programming device allowing connection with multiple modules
CN104050005A (en) * 2014-06-30 2014-09-17 广州视源电子科技股份有限公司 Burning method and system
CN106055317A (en) * 2016-05-20 2016-10-26 上海英恒电子有限公司 Microcontroller-based programming apparatus, and programming method and programming system thereof
CN106950875A (en) * 2017-03-17 2017-07-14 北京虹电科技有限公司 A kind of embedded programming device and its fixture system
CN106950875B (en) * 2017-03-17 2023-05-23 科芯(天津)生态农业科技有限公司 Embedded programmer and tooling system thereof
CN107577901A (en) * 2017-10-20 2018-01-12 浙江建设职业技术学院 A kind of collision detection BIM Database Systems for construction site
CN108287514A (en) * 2018-03-28 2018-07-17 天津中德应用技术大学 A kind of high speed volume production programmable device based on expert system and round-robin method
CN111026412A (en) * 2019-11-27 2020-04-17 Tcl华星光电技术有限公司 Burning system and burning method of display driver

Similar Documents

Publication Publication Date Title
CN2869988Y (en) Chip programming apparatus
CN101060436A (en) A fault analyzing method and device for communication equipment
CN1804799A (en) SCM online loading and updating method and system
CN1828535A (en) After-error recovery method of transmission equipment card software on-line update
CN1453713A (en) Applied management system, managing apparatus, managing method and management program
CN1105971C (en) Digital circuit using memory for monitoring signals for occurrences of predefined breakpoint condilions
CN101046764A (en) Server and correlative method for providing hardware diagnostic information
CN1317846C (en) Method of realizing internal external network physical partition and its device
CN1901453A (en) Embedded far remote central maintenance device and method
CN101051242A (en) Power supply control method and device for computer system
CN1172228C (en) Data processing unit and data handling procedure
CN1975689A (en) Configurable universal synchronous and asynchronous communication debugging device and bugging method thereof
CN1313931C (en) Program processing device
CN2640134Y (en) Live bus network interconnection unit for connecting high-speed Ethernet and PROFIBUS-DP/PA bus
CN1262921C (en) Method for computer starting and multiple operation system switching
CN1074148C (en) Data processing system with error detecting processing function
CN1287287C (en) Method for realizing on-line renewing data based on control system
CN1427338A (en) System starting up self examination device and method
CN1176423C (en) Mainboard test program process system and method thereof
CN1220132C (en) Intelligent type switcher for computers
CN1540539A (en) System and method for controlling interrput
CN1598740A (en) Computer keyboard and operating method
CN1848093A (en) Method for debugging high configuration and power supply interface module in basic inputting and outputting system
CN102567161A (en) Notebook mainboard testing system and notebook mainboard testing method
CN1967420A (en) Series PLC host computer and fast parallel communication interface of expanding machine

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20070214

EXPY Termination of patent right or utility model