CN201060402Y - Hand-hold singlechip programmer - Google Patents

Hand-hold singlechip programmer Download PDF

Info

Publication number
CN201060402Y
CN201060402Y CNU200720118742XU CN200720118742U CN201060402Y CN 201060402 Y CN201060402 Y CN 201060402Y CN U200720118742X U CNU200720118742X U CN U200720118742XU CN 200720118742 U CN200720118742 U CN 200720118742U CN 201060402 Y CN201060402 Y CN 201060402Y
Authority
CN
China
Prior art keywords
programming
programmable device
circuit
dll
hand
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 - Fee Related
Application number
CNU200720118742XU
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.)
SHENZHEN SHIQIANG TELECOMMUNICATION CO Ltd
Original Assignee
SHENZHEN SHIQIANG TELECOMMUNICATION 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 SHENZHEN SHIQIANG TELECOMMUNICATION CO Ltd filed Critical SHENZHEN SHIQIANG TELECOMMUNICATION CO Ltd
Priority to CNU200720118742XU priority Critical patent/CN201060402Y/en
Priority to PCT/CN2007/000798 priority patent/WO2008098426A1/en
Application granted granted Critical
Publication of CN201060402Y publication Critical patent/CN201060402Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0426Programming the control sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/76Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information in application-specific integrated circuits [ASIC] or field-programmable devices, e.g. field-programmable gate arrays [FPGA] or programmable logic devices [PLD]
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/10Programming or data input circuits
    • G11C16/102External programming circuits, e.g. EPROM programmers; In-circuit programming or reprogramming; EPROM emulators
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23406Programmer device, portable, handheld detachable programmer

Abstract

The utility model relates to a hand monolithic-processor programming device, which comprises a programming device body and a programming device lever body; the programming device body comprises a voltage stabilizing circuit, a C P U main control unit, and a communication interface and a programming interface which are connected with the C P U main control unit; the programming device lever body comprises a socket which is used to connect with the programming interface, and a plurality of spring needles which are used to connect with a target board, wherein, the programming device body also comprises a countersign protection module and an encrypting-decrypting module, the countersign protection module is used to limit the number of programming times, the encrypting-decrypting module is used to encrypt and decrypt a programming document; the spring needles comprise one long needle which is used to firstly contact the earth wire of the target board. The programming device can encrypt and decrypt the programming document and limit the number of programming times, a computer is not needed to take part in the programming procedure, the programming interface is flexible, the programming device has a plurality of power supply ways, and the use is convenient, thereby being suitable for a mass of programmes.

Description

The hand-held single-chip programmer
Technical field
The utility model relates to programmable device, more particularly, relates to a kind of hand-held single-chip microcomputer (MCU) programmable device.
Background technology
Single-chip microcomputer is simple in structure with it, use flexibly, be easy to characteristics such as grasp, obtains large-area popularization in fields such as Industry Control, consumer electronics, communications.But along with a large amount of uses of single-chip microcomputer, increasing user is subjected to programme the in enormous quantities puzzlement of problem of single-chip microcomputer.Single-chip microcomputer is programmed in batches and is mainly contained dual mode at present.A kind of is from systems programming, just single-chip microcomputer is soldered on the Target Board after with the good program of programmable device programming again.Following shortcoming is arranged: be unfavorable for the Single Chip Microcomputer (SCM) program renewal with regard to this programmed method; Existing programmable device costs an arm and a leg, bulky.Another is an in-system programming, just be installed to single-chip microcomputer on the Target Board after again the programming.Following shortcoming is also arranged: need the participation of computing machine in the programming process with regard to this programmed method; Special software need be installed on computers; The programming header structure is fixed, and can not use flexibly; Above shortcoming makes the programming of single-chip microcomputer volume production extremely inconvenient, influences the production progress.
The utility model content
The utility model will solve existing programmable device and programme in batches and need the computing machine participation in inconvenient, bulky, the programming process and problem such as special software need be installed on computers, and the programmable device that can independently programme that a kind of volume is little, cost is low, have password protection function and encrypting and decrypting function is provided.
The technical solution of the utility model is, construct a kind of hand-held single-chip programmer, comprise programmable device body and programmable device handle body, described programmable device body comprises mu balanced circuit, CPU main control unit, the communication interface and the DLL (dynamic link library) that are connected with the CPU main control unit, described programmable device handle body comprises many spring needles that are used to connect the socket of described DLL (dynamic link library) and are used for the linking objective plate, wherein:
Described programmable device body also comprises password protection module and encrypting and decrypting module, and described password protection module is used for restriction programming number of times, and described encrypting and decrypting module is used for encryption and decryption programming file;
Described many spring needles comprise that is used for the minute hand of the ground wire of contact target plate at first.
In the utility model, also comprise DLL (dynamic link library) selection circuit, described DLL (dynamic link library) selects circuit to cooperate the switching that realizes the DLL (dynamic link library) type with described DLL (dynamic link library).
In the utility model, use the DIP toggle switch to control described DLL (dynamic link library) and select circuit.
In the utility model, described many spring needles are the plug-in spring needle, can plug into double ten pins, single five pins or single three pins.
In the utility model, also comprise power supply mode selection circuit, described power supply mode selects circuit to cooperate the switching that realizes power supply mode with described mu balanced circuit.
In the utility model, the input end of described mu balanced circuit is connected with external power source or internal cell, and output terminal is given described programmable device body power supply.
In the utility model, the input end of described mu balanced circuit is connected with external power source or internal cell, and output terminal is given described programmable device body and Target Board power supply.
In the utility model, Target Board is given described programmable device body power supply.
In the utility model, use the DIP toggle switch to control described power supply mode and select circuit.
In the utility model, described programmable device body also comprises the programming mode selection module that is used to switch manual programming mode and automated programming mode.
In the utility model, described programmable device body also comprises programming button and the reset key that is connected with the CPU main control unit, and the programming button is used for manual programming, the reset key circuit CPU main control unit that is used to reset.
In the utility model, described programmable device body also comprises described programming content choice circuit, and described programming content comprises the programming Target Board and wipes Target Board.
In the utility model, use the DIP toggle switch to control described programming content choice circuit.
In the utility model, the DLL (dynamic link library) of described programmable device body connects a flat cable, and the other end of described flat cable is used to connect the socket or the Target Board of described programmable device handle body.
In the utility model, described programmable device body also comprises indication and the warning circuit that is used to indicate the programmable device duty, described indication and warning circuit comprise two LED lamps and a hummer, one of them LED lamp is to be used to indicate programming process, and another LED lamp cooperates whether successfully to be used for the indication programming with hummer.
In the utility model, described DLL (dynamic link library) also comprises holding circuit, can realize transient state suppressing protection and overcurrent protection by this holding circuit.
In the utility model, described communication interface is the RS232 serial line interface, described CPU main control unit adopts single-chip microcomputer C8051F123, and described DLL (dynamic link library) is switchable C2/JTAG interface, and described programmable device body is connected with computing machine to carry out initialization by communication interface circuit.
As shown from the above technical solution, programmable device described in the utility model has encrypting and decrypting module and password protection module, can encrypting and decrypting programming file and restriction programmable number; By the programmable device handle body Target Board of programming, support the Target Board of multiple interfaces; Hyper terminal by computing machine in initialization is carried out, and does not need to install on computers special software; In programming process, need not the participation of computing machine, easy to use, be fit to programming in enormous quantities.
Description of drawings
The utility model is described in further detail below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the theory diagram of programmable device body in preferred embodiment of the utility model;
Fig. 2 is the schematic appearance of the programmable device body in preferred embodiment of the utility model;
Fig. 3 is the theory diagram of the programmable device handle body that cooperates with programmable device body shown in Figure 1;
Fig. 4 is the parts such as CPU of programmable device body circuit diagram in preferred embodiment of the utility model;
Fig. 5 is parts such as the power supply, switch of the programmable device body circuit diagram that cooperates with Fig. 4;
Fig. 6 is the circuit diagram of the programmable device handle body in preferred embodiment of the utility model.
Embodiment
Programmable device of the present utility model comprises programmable device body and programmable device handle body.A preferred embodiment of the present utility model such as Fig. 1 are to shown in Figure 6.Wherein, Fig. 1 is the theory diagram of programmable device body 10, and Fig. 2 is the schematic appearance of programmable device body 10, and Fig. 3 is the theory diagram of programmable device handle body 30.
As depicted in figs. 1 and 2, comprise mu balanced circuit 11, CPU main control unit 12, communication interface 13, DLL (dynamic link library) 14, power supply mode selection circuit 15, DLL (dynamic link library) selection circuit 16, programming content choice circuit 17, password protection module 18, encrypting and decrypting module 19 and programming mode selection module at programmable device body 10.Wherein, communication interface 13 is connected to CPU main control unit 12, and communicates with computing machine; DLL (dynamic link library) 14 is connected to CPU main control unit 12, forms the DLL (dynamic link library) circuit; DLL (dynamic link library) 14 also comprises holding circuit, can realize transient state suppressing protection and overcurrent protection by this holding circuit; Power supply mode selects circuit 15 directly to link to each other with CPU main control unit 12, cooperates the switching that realizes power supply mode with mu balanced circuit 11; DLL (dynamic link library) selects circuit 16 directly to link to each other with CPU main control unit 12, cooperates the switching that realizes the DLL (dynamic link library) type with DLL (dynamic link library) 14; Described programming content choice circuit 17 directly links to each other with CPU main control unit 12, is used for selecting the programming Target Board or wiping Target Board; Password protection module 18 is used for restriction programming number of times, and encrypting and decrypting module 19 is used for encryption and decryption programming file; Described programming mode selects module directly to link to each other with CPU main control unit 12, is used to switch manual programming mode and automated programming mode.
Described " power supply mode " comprising: mu balanced circuit 11 gives the programmable device body 10 power supplies, and other power supplys are powered to Target Board; Mu balanced circuit 11 is given programmable device body 10 and Target Board power supply; Target Board gives the programmable device body 10 power supplies, and for example, Target Board gives the programmable device body 10 power supplies by programming cable or programmable device handle body.Such power supply mode adapts to the on-the-spot various electric power thus supplied of programming very flexibly.
Described automated programming mode is described programmable device handle body to be inserted Target Board programming hole can realize programming; Described manual programming mode is programming cable or programmable device handle body to be connected to press program button after the Target Board DLL (dynamic link library) and realize one-time programming.
In the present embodiment, mu balanced circuit 11 is the mu balanced circuit of DC/DC+LDO, and its input end can link to each other with internal cell, perhaps is connected with external power source, for example, the input end of mu balanced circuit 11 can link to each other with outside 220VAC/9VDC power supply adaptor by the DC power supply input port of 9V; Its output terminal gives the programmable device body 10 power supplies, perhaps powers to Target Board simultaneously.CPU main control unit 12 adopts single-chip microcomputer C8051F123.Communication interface 13 is the RS232 serial line interface, can be used for connecting computing machine to carry out initialization.DLL (dynamic link library) 14 is the C2/JTAG DLL (dynamic link library), switches to C2 interface or JTAG DLL (dynamic link library).DLL (dynamic link library) 14 can connect flat cable and by this flat cable the Target Board with the corresponding interface be programmed, and also can allow other end connection programmable device handle body 30 (Fig. 3) of flat cable programme by 30 pairs of Target Boards of programmable device handle body again.
In the present embodiment, programmable device body 10 can link to each other with computing machine by RS232 communication interface 13, has the UART mouth to be connected to RS232 communication interface 13 on the CPU main control unit 12.Enter programmable device initialization operation menu to the programmable device initialization with hyper terminal on computers, do not need to install other special software.Initialization comprises the select target device, wipes the programmable device data space, receives user HEX file, the programmable device password is set, programming mode is set (manual programming or automated programming), on line operation etc.
Password protection module 18 and encrypting and decrypting module 19 can be passed through hardware, firmware or software and realize.For example, carrying out in the initialization, can user password be set receiving HEX file one hurdle.The user will import user password in the use programmable device.Password protection module 18 compares the password of user's input and the password that the HEX file is provided with; if both unanimities; think that then the user is an authorized user, then allow programmable device to comprise information operations such as programmable number, programming date, programmable device numbering according to the user password the inside.In addition, encrypt security module 19 and be used for encryption and decryption user password, programming file etc., realization transmits in the encryption and decryption mode and is programmed file, and in programmable device file is carried out the encrypting and decrypting operation, has strengthened confidentiality.That is to say,, can limit programmable number and maintain secrecy the programming file by password protection module 18 and encrypting and decrypting module 19.Some solution suppliers can utilize this specific character to guard one's interest.
Programming mode selects module to realize by hardware or software.In the present embodiment, realize that in the mode of software programming mode selects module, in the programmable device initialization procedure, can be by initialization menu selection automated programming mode or manual programming mode.
Programmable device body 10 also comprises programming button 26 and reset key circuit 25, as shown in Figure 2.Programming button 26 and reset key circuit 25 are directly connected to CPU main control unit 12.Programming button 26 is used for the manual programming mode, and the one-time programming operation is once carried out in every triggering; The reset key 25 CPU main control unit 12 that is used to reset.
Fig. 2 is the schematic appearance of programmable device body, can see that from this figure shell 20 surfaces are provided with power supply input port 21, power switch 22,6 DIP toggle switch 23, program button 26, reset button 25, led state pilot lamp 28, power light 29 and alarm 24, communication interface 13 and the DLL (dynamic link library) 14 that are connected with internal circuit.Wherein, the DIP toggle switch comes 23 control power supply modes to select circuit 15, DLL (dynamic link library) to select circuit 16 and programming content choice circuit 17.For example, the DIP toggle switch is 6 DIP toggle switchs, and the 1st and the 2nd is provided with power supply mode, the 5th select target plate interface be C2 or jtag interface for example, 3rd, 4 are provided with the programming Target Board or wipe Target Board, and last position keeps the position, keep definition in the future.For example, can allow the output terminal of mu balanced circuit 11 and the 1st of 6 DIP toggle switchs link to each other, realize that Target Board is the power supply of programmable device internal circuit, that is, Target Board can give the programmable device body 10 power supplies by programming cable or programmable device handle body 30.
Present embodiment adopts two led state pilot lamp 28 and 1 alarm 24, one of them LED lamp indication programming process, in programming process to be less than or equal to the frequency scintillation of 10Hz.Another one LED lamp is used to refer to programmed result, programmes successfully with the 1Hz frequency scintillation, and hummer sends two continuous " toot " sounds simultaneously; Programming makes mistakes with the 5Hz frequency scintillation, and hummer sends " toot " duration of a sound sound simultaneously, continues 3 seconds.During concrete enforcement, can suitably adjust the position of LED, hummer and button.
Fig. 3 is the theory diagram of the programmable device handle body 30 that cooperates with programmable device body shown in Figure 1, and as can be seen from the figure, this programmable device handle body 30 comprises socket 31 and Duo Gen spring needle 32.Socket 31 can be that for example common spacing of double ten needle sockets is ten needle sockets of 2.54mm, and the DLL (dynamic link library) 14 that is used to connect programmable device body 10 for example connects DLL (dynamic link library) 14 by the flat cable of ten pins.Described many spring needles 32 can be double ten pins, single five pins or single three pins etc.Alternatively, described many spring needles 32 are the plug-in spring needle, can plug into double cross, single five pins or single three pins programming head, and this head of programming flexibly can be programmed and be had the Target Board of double ten needle interfaces/single five needle interfaces/single three needle interfaces.
Preferably, many spring needles 32 promptly, have one and are used for the minute hand of the ground wire of contact target plate at first for long and short hands designs.
As mentioned above, the programmable device of present embodiment only needs computing machine to participate in carrying out initialization before programming, in case initialization is finished, just no longer needs the participation of computing machine.By toggle switch is set simply, programmable device just can be independently or is cooperated with programmable device handle body Target Board is carried out automated programming or manual programming.
Fig. 4, Fig. 5 are the circuit diagram of programmable device body, and as can be seen from Figure 5, the DC/DC U3 input end of mu balanced circuit is connected to the positive pole of 9VDC power supply input port P1 and battery BT1 by main fuse F4.DC/DC output 5V is to the input end of LDO U4.LDO U4 pressure regulation output 4V is depressured to 3.3V by diode D7 and is connected to power switch S4, and the other end 3.3V of power switch is connected to programmable device internal work power supply.Programmable device can also can be powered by internal cell by the power supply of 220VAC/9VDC power supply adaptor like this.Simultaneously, the negative electrode of diode D7 also is connected to the bit1 position of toggle switch S2, links to each other with the Target Board working power by the bit1 position.Like this, the power supply of Target Board can be introduced the programmable device working power, thereby realize that Target Board is the programmable device power supply by the bit1 position that toggle switch S2 is set.The bit2 position that toggle switch S2 is set is to ON, and the expression Target Board needs the programmable device power supply, and CPU obtains this zone bit, and control metal-oxide-semiconductor Q1 delivers to the Target Board working power with the programmable device power supply, thereby realizes that programmable device is the Target Board power supply.It more than is exactly the power supply mode of described programmable device.
As can be seen from Figure 5, toggle switch also is provided with for example programme Target Board or wipe Target Board of DLL (dynamic link library), programming content except power supply mode is set.Bit5 selects DLL (dynamic link library), and OFF is the C2 interface, and ON is a jtag interface.CPU obtains behind this pin status in the corresponding software module of procedure Selection.Bit3 and bit4 select the programming Target Board or wipe Target Board.The Pin8 of toggle switch, 9,10,11 pin are connected to the corresponding I mouth of CPU U1 among Fig. 4, and CPU carries out corresponding operation by the state of these IO.
Button S3 among Fig. 5 is the manual programming button, and button changes the external interrupt pin among the CPU that pin is connected to Fig. 4.Press S3 next time, on CPU, produce once and interrupt, carry out the one-time programming operation.Manual programming process that Here it is.Manual programming or automated programming are set in menu during by the described programmable device of computer initialization.When selecting automated programming, close external interrupt in the program, it is inoperative manually to become button.At Fig. 4 CPU poll Target Board signal/C2ON on the throne (Pin33), carry out programming operation if Target Board is on the throne, otherwise do not carry out.Automated programming process that Here it is.
As can be seen from Figure 4, the CPU UART interface (54th, 55 pin) of CPU by 2 lines links to each other with RS232 level transferring chip U2 among Fig. 5, thereby U2 links to each other with standard serial port socket DB9 and links computer by serial, by hyper terminal described programmable device is carried out initialization on computers.
As can be seen from Figure 4,3 LED light and hummer U30 are wherein arranged.D9 is the working power pilot lamp, opens power switch S4 among Fig. 5, and the bright expression system works of D9 lamp power supply is normal, and it is undesired to extinguish the expression system power supply.D11 is the programming process pilot lamp, and in programming process, this lamp to be to be less than or equal to the frequency fast blink of 10Hz, if this lamp extinguishes, represents that then programming process makes mistakes, and successfully this lamp Chang Liang programmes; D5 is the programmed result pilot lamp, and this lamp Chang Liang programmes successfully in the programming process, and this lamp is with the 1Hz frequency scintillation, and programming makes mistakes, and this lamp is with the frequency scintillation of 5Hz.Hummer U30 indicates programmed result with sound.Programme successfully, hummer sends two continuous " toot " sounds; The programming hummer of makeing mistakes sends " toots " duration of a sound sound, lasting 3 seconds.Indicate the mode of programming state and programmed result by sound, light dual mode, both simple, distinct again.
As can be seen from Figure 4, a reset key S1 is arranged, press S1, can be to cpu reset, it is unusual to recover the programmable device that unpredictable situation causes like this.
As can be seen from Figure 4, the master cpu of described programmable device is C8051F123 U1.C8051F123 has abundant IO mouth, and there is the nearly Flash Memory of 128KB inside, and its system works frequency can arrive 100MIPS.CPU is connected to peripheral circuit by the IO mouth, obtains dial-up setting, control power supply mode, connects the RS232 communication interface circuit, connects the DLL (dynamic link library) circuit, realizes the core control of programmable device all functions.
As can be seen from Figure 4, double ten needle socket JP3 are DLL (dynamic link library).Defined the JTAG signal and the C2 signal of standard on the JP3, power lead and ground wire are arranged in addition, described programmable device is connected to Target Board by this interface exactly and finishes programing work.Standard JTAG signal and C2 signal are to be provided by the IO mouth of CPU (the 33rd, 34,35,36,37 pin).Wherein signal is a signal on the throne on the 3rd pin of JP3, this signal ground on Target Board.CPU detects this signal by 33 pin and judges whether Target Board is on the throne, and in the automated programming mode, CPU realizes the automated programming operation by this signal of poll.In addition, all signals of JP3 connection all pass through circuit fuse, Transient Suppression Diode and limiter diode to DLL (dynamic link library) realization protection.Like this, the overcurrent-overvoltage signal on the programming port is unlikely to master cpu is caused damage.
Double ten needle socket JP3 can connect the flat cable of ten pins, and the other end of cable can connect Target Board with the corresponding interface or the socket that connects the programmable device handle.
In addition, at Fig. 4, in the software design of the described programmable device body of Fig. 5, to the operational design of programmable device password protection and encrypting and decrypting protection.Be exactly that the user is connected to the hyper terminal of computing machine with programmable device, by the menu option on the hyper terminal programmable device is carried out the initialization setting particularly.Initialization comprises the select target device, wipes programmable device Flash space, receives operations such as user HEX file, online programming.Wherein, be provided with user password on reception HEX file one hurdle, the user must import correct password and the HEX file could be received in the programmable device.The password protection module can be used for judging whether the password that the user imports is correct.The user password the inside has comprised information such as programmable number, programming date, programmable device numbering.That is to say that the password on every programmable device is unique, and programmable device receives only up-to-date password, simultaneously, limited programmable number by password.Some solution suppliers can utilize this encryption feature of programmable device to guard one's interest.Encrypt the privacy protection module and be used for the encrypting and decrypting user password, be programmed file etc., increased confidentiality.
Fig. 6 is the schematic diagram of the programmable device handle body that cooperates with described programmable device.Socket 31 is common double ten needle sockets, is connected to described programmable device DLL (dynamic link library) (JP3 among Fig. 4) by ten pin flat cables; J1 is that double ten pins can plug spring needle.Spring needle the 3rd pin on the J1 is a minute hand, is connected to the ground wire of Target Board, and earth signal connects earlier to realize hot plug when guaranteeing the linking objective plate like this.Spring needle can be dismantled and become single five pins (staying 1,3,5,7,9 pins) and single three pins (staying 1,3,5 pins).Single five pins and the single three pins C2 interface target plate that is used to programme is because the C2 interface has only clock and two lines of data.The design of single five pins and single three pins can be saved the PCB space of Target Board.Spring needle is programmed the head flexibly except plugging composition, and the other of it is that the user holds programmable device handle body and withstands on the Target Board programming hole and can realize automated programming once big advantage.

Claims (16)

1. hand-held single-chip programmer, comprise programmable device body (10) and programmable device handle body (30), described programmable device body (10) comprises mu balanced circuit (11), CPU main control unit (12), the communication interface (13) that is connected with CPU main control unit (12) and DLL (dynamic link library) (14), described programmable device handle body (30) comprises socket (31) that is used to connect described DLL (dynamic link library) (14) and the many spring needles (32) that are used for the linking objective plate, it is characterized in that:
Described programmable device body (10) also comprises password protection module (18) and encrypting and decrypting module (19), and described password protection module (18) is used for restriction programming number of times, and described encrypting and decrypting module (19) is used for encryption and decryption programming file;
Described many spring needles (32) comprise that is used for the minute hand of the ground wire of contact target plate at first.
2. single-chip programmer according to claim 1 is characterized in that, also comprises DLL (dynamic link library) selection circuit (16), and described DLL (dynamic link library) selects circuit (16) to cooperate the switching that realizes the DLL (dynamic link library) type with described DLL (dynamic link library) (14).
3. hand-held single-chip programmer according to claim 2 is characterized in that, uses the DIP toggle switch to control described DLL (dynamic link library) and selects circuit (16).
4. hand-held single-chip programmer according to claim 2 is characterized in that, described many spring needles (32) are the plug-in spring needle, can plug into double ten pins, single five pins or single three pins.
5. single-chip programmer according to claim 1 is characterized in that, also comprises power supply mode selection circuit (15), and described power supply mode selects circuit (15) to cooperate the switching that realizes power supply mode with described mu balanced circuit (11).
6. single-chip programmer according to claim 5 is characterized in that, the input end of described mu balanced circuit (11) is connected with external power source or internal cell, and output terminal is given described programmable device body (10) power supply.
7. single-chip programmer according to claim 6 is characterized in that, the output terminal of described mu balanced circuit (11) is returned the Target Board power supply.
8. hand-held single-chip programmer according to claim 5 is characterized in that, Target Board is given described programmable device body power supply.
9. hand-held single-chip programmer according to claim 5 is characterized in that, uses the DIP toggle switch to control described power supply mode and selects circuit (15).
10. hand-held single-chip programmer according to claim 1 is characterized in that, described programmable device body (10) also comprises the programming mode selection module that is used to switch manual programming mode and automated programming mode.
11. hand-held single-chip programmer according to claim 10, it is characterized in that, described programmable device body (10) also comprises programming button (26) and the reset key (25) that is connected with CPU main control unit (12), programming button (26) is used for manual programming, reset key circuit (25) the CPU main control unit (12) that is used to reset.
12. hand-held single-chip programmer according to claim 1 is characterized in that, described programmable device body (10) also comprises described programming content choice circuit (17), and described programming content comprises the programming Target Board and wipes Target Board.
13. hand-held single-chip programmer according to claim 1, it is characterized in that, the DLL (dynamic link library) of described programmable device body (14) connects a flat cable, and the other end of described flat cable is used to connect the socket (31) or the Target Board of described programmable device handle body (30).
14. hand-held single-chip programmer according to claim 1, it is characterized in that, described programmable device body (10) also comprises indication and the warning circuit that is used to indicate the programmable device duty, described indication and warning circuit comprise two LED lamps and a hummer, one of them LED lamp is to be used to indicate programming process, and another LED lamp cooperates whether successfully to be used for the indication programming with hummer.
15. hand-held single-chip programmer according to claim 1 is characterized in that described DLL (dynamic link library) also comprises holding circuit, can realize transient state suppressing protection and overcurrent protection by this holding circuit.
16. according to any described hand-held single-chip programmer in the claim 1 to 15, it is characterized in that, described communication interface (13) is the RS232 serial line interface, and described CPU main control unit (12) adopts single-chip microcomputer C8051F123, and described DLL (dynamic link library) (14) is switchable C2/JTAG interface.
CNU200720118742XU 2007-02-15 2007-02-15 Hand-hold singlechip programmer Expired - Fee Related CN201060402Y (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNU200720118742XU CN201060402Y (en) 2007-02-15 2007-02-15 Hand-hold singlechip programmer
PCT/CN2007/000798 WO2008098426A1 (en) 2007-02-15 2007-03-13 Hand held single chip microcomputer programmer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNU200720118742XU CN201060402Y (en) 2007-02-15 2007-02-15 Hand-hold singlechip programmer

Publications (1)

Publication Number Publication Date
CN201060402Y true CN201060402Y (en) 2008-05-14

Family

ID=39408885

Family Applications (1)

Application Number Title Priority Date Filing Date
CNU200720118742XU Expired - Fee Related CN201060402Y (en) 2007-02-15 2007-02-15 Hand-hold singlechip programmer

Country Status (2)

Country Link
CN (1) CN201060402Y (en)
WO (1) WO2008098426A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236333A (en) * 2010-04-30 2011-11-09 深圳市合信自动化技术有限公司 Programmable logic controller program uploading device and method
CN102403037A (en) * 2011-11-15 2012-04-04 苏州欣华锐电子有限公司 Chip burning base and method
CN101937205B (en) * 2009-11-13 2013-01-09 广西工学院 Novel portable PLC (Programmable Logic Controller) programming device
CN103592858A (en) * 2013-10-14 2014-02-19 苏州市职业大学 Handhold programmer
CN112947275A (en) * 2021-02-08 2021-06-11 南京康尼智控技术有限公司 Handheld programmer and control method thereof
CN113391980A (en) * 2021-06-25 2021-09-14 西安超越申泰信息科技有限公司 Computer monitoring system based on single chip microcomputer
CN114116570A (en) * 2020-08-28 2022-03-01 中强光电股份有限公司 Electronic device control system and electronic device control method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100341072C (en) * 2004-08-26 2007-10-03 复旦大学 USB general programing device
CN1808343A (en) * 2005-09-20 2006-07-26 马义德 Programmable communication converter

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937205B (en) * 2009-11-13 2013-01-09 广西工学院 Novel portable PLC (Programmable Logic Controller) programming device
CN102236333A (en) * 2010-04-30 2011-11-09 深圳市合信自动化技术有限公司 Programmable logic controller program uploading device and method
CN102403037A (en) * 2011-11-15 2012-04-04 苏州欣华锐电子有限公司 Chip burning base and method
CN103592858A (en) * 2013-10-14 2014-02-19 苏州市职业大学 Handhold programmer
CN114116570A (en) * 2020-08-28 2022-03-01 中强光电股份有限公司 Electronic device control system and electronic device control method
EP3961465A1 (en) * 2020-08-28 2022-03-02 Coretronic Corporation Electronic-device control system and electronic-device control method
CN112947275A (en) * 2021-02-08 2021-06-11 南京康尼智控技术有限公司 Handheld programmer and control method thereof
CN113391980A (en) * 2021-06-25 2021-09-14 西安超越申泰信息科技有限公司 Computer monitoring system based on single chip microcomputer
CN113391980B (en) * 2021-06-25 2024-04-05 超越科技股份有限公司 Computer monitoring system based on singlechip

Also Published As

Publication number Publication date
WO2008098426A1 (en) 2008-08-21

Similar Documents

Publication Publication Date Title
CN201060402Y (en) Hand-hold singlechip programmer
CN204597168U (en) There is the multifunction wireless socket of function of measuring
CN206353726U (en) Intelligent electronic-type breaker
CN202352932U (en) Intelligent power supply socket
CN110618397A (en) Module power-on detection device based on ubiquitous power Internet of things intelligent electric energy meter
CN209803662U (en) Handheld terminal for safely isolating data of transformer substation
CN203660189U (en) Multifunctional intelligent socket
CN103823767B (en) Encrypted mobile hard disk drive case with portable power source
CN203520299U (en) Timer-power-on control circuit
CN201363001Y (en) Error prevention key for Bluetooth communication
CN207148816U (en) A kind of program burn writing system and electronic equipment
CN210534732U (en) 2.4G wireless and wired two-in-one dual-mode mouse circuit
CN203773536U (en) Cryptographic mobile hard disk box with memory card copying function
CN205452708U (en) Intelligent socket
CN203849734U (en) Programming downloader
CN204858156U (en) Intelligent timing socket
CN216286640U (en) Burn recorder based on M4 singlechip
CN205177006U (en) MBUS mode intelligence water gauge hander
CN105243829B (en) Portable analog meter module
CN201689430U (en) Information safety device based on a clock
CN210835659U (en) Transmission and control circuit for numerical control machine tool program
CN203241999U (en) Electric power misoperation prevention host and microcomputer misoperation prevention locking system
CN218158975U (en) Mining intrinsically safe USB mouse infrared receiver
CN201828920U (en) Computer USB encipher
CN210954316U (en) Module power-on detection device based on ubiquitous power Internet of things intelligent electric energy meter

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080514

Termination date: 20130215