CN109597630A - A kind of P2MP software programming device and method with detection function - Google Patents

A kind of P2MP software programming device and method with detection function Download PDF

Info

Publication number
CN109597630A
CN109597630A CN201910085299.8A CN201910085299A CN109597630A CN 109597630 A CN109597630 A CN 109597630A CN 201910085299 A CN201910085299 A CN 201910085299A CN 109597630 A CN109597630 A CN 109597630A
Authority
CN
China
Prior art keywords
programming
host
slave
p2mp
plate
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.)
Granted
Application number
CN201910085299.8A
Other languages
Chinese (zh)
Other versions
CN109597630B (en
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.)
Zhuhai Gotech Intelligent Technology Co Ltd
Original Assignee
Zhuhai Gotech Intelligent Technology 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 Zhuhai Gotech Intelligent Technology Co Ltd filed Critical Zhuhai Gotech Intelligent Technology Co Ltd
Priority to CN201910085299.8A priority Critical patent/CN109597630B/en
Publication of CN109597630A publication Critical patent/CN109597630A/en
Application granted granted Critical
Publication of CN109597630B publication Critical patent/CN109597630B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0016Inter-integrated circuit (I2C)

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention relates to a kind of P2MP software programming device and method with detection function, comprising: host, programming plate and multiple slaves, the host are connected by I2C with the programming plate, and the programming plate passes through I2C and is connected respectively with the multiple slave;The programming plate includes: photo-coupler, TXD serial ports, RXD serial ports and multiple buffers, and the program of host is passed through programming plate programming to multiple slaves.The present invention simplifies programming plate, save the control devices such as single-chip microcontroller, it does not need to programming plate programming program, the logic circuit that the present invention is formed using simple buffer and photo-coupler, it realizes the program burn writing of one-to-many faster speed, and carries out the detection locking of slave using I2C, complete the more accurate programming slave with detection, resource is saved, cost is reduced.

Description

A kind of P2MP software programming device and method with detection function
Technical field
The invention belongs to electronic technology fields, and in particular to a kind of P2MP software programming device with detection function and side Method.
Background technique
Present STB(set-top box) Decoder(decoder) function is stronger and stronger, it is a highly integrated, the height of economical and efficient Performance SoC(system on chip).Current more and more producers are demodulator(demodulator), DDR is integrated in the processor , occur being embedded in the CPU of FLASH recently again, in this case, traditional programming method cannot quickly and accurately programming Program, such as: WinGDB debugging is that JTAG emulation carrys out programming, and this mode programming is slower, very inconvenient, needs additionally to add on mainboard Upper artificial circuit, and can only one then a burning, PC STB serial ports is upgraded, can only be one-to-one, and because of PC serial ports speed ratio Relatively slow, programming 4M is about needed 10 minutes, causes efficiency and its low.
Summary of the invention
In view of the deficiencies of the prior art, the invention proposes a kind of P2MP software programming device with detection function and side Method, the present invention simplify programming plate, save the control devices such as single-chip microcontroller, do not need to programming plate programming program, the present invention Using the logic circuit of simple buffer and photo-coupler composition, the program burn writing of one-to-many faster speed is realized, and adopt The detection locking that slave is carried out with I2C, completes the more accurate programming slave with detection, saves resource, reduce cost.
In order to solve the above technical problems, the technical scheme adopted by the invention is as follows:
A kind of P2MP software programming device with detection function, comprising: host, programming plate and multiple slaves, the host pass through I2C is connected with the programming plate, and the programming plate is connected with the multiple slave respectively by I2C, for controlling and detecting institute State the state of slave;The programming plate includes: photo-coupler, TXD serial ports, RXD serial ports and multiple buffers, wherein described more A buffer is connected by the RXD serial ports with the host, and each buffer is connected with multiple photo-couplers, often A photo-coupler is connected with the slave by the TXD serial ports, for the program of host to be passed through the programming of programming plate extremely Multiple slaves.
Further, further includes: display equipment is connected, for prompting the connection status of slave respectively with multiple slaves.
Further, the host is equipped with presses for the P2MP key into programming mode and the programming for starting programming Key.
Further, the programming plate is additionally provided with grounding ports, for the grounding ports respectively with the host and slave It is connected.
Further, the programming plate is additionally provided with power port, for the power port respectively with the host and slave It is connected.
Further, the host and slave are set-top box.
Meanwhile a method of using the above-mentioned P2MP software programming device programming program with detection function, including it is following Step:
S1: making host enter programming mode, and host sends synchronization signal by serial ports;
S2: multiple slaves receive the synchronization signal and host synchronization respectively;
S3: host sends I2C data and carries out multiple slave lockings, detects whether each slave connects normally;
S4: program data is divided into multichannel by programming plate and is respectively sent to connect normal slave by host, programming FLASH and OTP。
Further, further include step S5: the instruction of restarting that slave receiving host is sent is restarted, and completes programming.
Beneficial effects of the present invention include at least: the present invention saves the control such as single-chip microcontroller by simplifying to programming plate Device is not needed to programming plate programming program, need to only be realized using the logic circuit of simple buffer and photo-coupler composition The program burn writing of one-to-many faster speed, and locked using the detection that I2C carries out slave, complete the more accurate burning with detection Slave is write, resource is saved, reduces cost.
Detailed description of the invention
Fig. 1 is schematic structural diagram of the device of the invention.
Fig. 2 is programming plate structural schematic diagram of the present invention.
Fig. 3 is programming method flow diagram of the present invention.
Specific embodiment
In order to make those skilled in the art more fully understand technical solution of the present invention, combined with specific embodiments below to this Invention is described in further detail.The embodiments described below is exemplary, and for explaining only the invention, and cannot be understood For limitation of the present invention.Particular technique or condition are not specified in embodiment, according to the literature in the art described skill Art or condition are carried out according to product description.
According to an embodiment of the invention, Fig. 1 is schematic structural diagram of the device of the invention, shown referring to Fig.1, band of the present invention The P2MP software programming device of detection function specifically includes that host, programming plate and multiple slaves (slave 1- slave N in figure), institute It states host to be connected by I2C with the programming plate, the programming plate is connected with the multiple slave respectively by I2C, for controlling Make and detect the state of the slave.It is understood that I2C includes: SCL and SDA, the present invention is added in P2MP transmission The effect of response protocol I2C judges whether programming is normal in the process, and whether slave connects by SDA to control each slave Function, successful connection just transmit data.
According to some embodiments of the present invention, programming device of the present invention can also include: display equipment, respectively with it is multiple Slave is connected, for prompting the connection status of slave.
According to some embodiments of the present invention, host of the present invention is additionally provided with the P2MP key for entering programming mode With the programming key for starting programming.
According to an embodiment of the invention, the programming plate is additionally provided with grounding ports (GND), for distinguishing shown in referring to Fig.1 It is connected with the grounding ports of the host and slave.
According to an embodiment of the invention, the programming plate is additionally provided with power port, and (supply voltage is shown in referring to Fig.1 5V), for being connected respectively with the power port of the host and slave.
According to an embodiment of the invention, the present invention is by buffer for more clear description technical solution of the present invention Two are set as, photo-coupler is set as 16 (photo-coupler 1- photo-couplers 16 in figure), i.e. 16 slaves are described, Fig. 2 is The programming plate structural schematic diagram of this embodiment of the invention, referring to Fig.1 and shown in 2, the programming plate include: two photo-couplers, TXD serial ports, RXD serial ports and 16 buffers, wherein described two buffers pass through the TXD of the RXD serial ports and the host Serial ports is connected, and each buffer is equipped with 8 road output ends and is connected respectively with 16 photo-couplers, and each photo-coupler is logical It crosses the TXD serial ports to be connected with the RXD serial ports of the slave, every routing photo-coupler is interference-free 16 circuit-switched datas are isolated, real The two-way asynchronous communication of existing host and slave data/address bus completes program burn writing process for the program of host and passes through the programming of programming plate To multiple slaves.It is understood that the present invention is not particularly limited the particular number of buffer and photo-coupler and slave.
In another aspect of this invention, a kind of P2MP software programming device programming using above-mentioned with detection function is proposed The method of program, Fig. 3 are that programming method flow diagram of the present invention is mainly comprised the steps that referring to shown in Fig. 3
S1: making host enter programming mode, and host sends synchronization signal by serial ports;
S2: multiple slaves receive the synchronization signal and host synchronization respectively;
S3: host sends I2C data and carries out multiple slave lockings, detects whether each slave connects normally;
S4: program data is divided into multichannel by programming plate and is respectively sent to connect normal slave by host, programming FLASH and OTP;According to some embodiments of the present invention, the OTP setting that encryption boot is opened in programming is encrypted.
According to an embodiment of the invention, further including step S5: the instruction of restarting that slave receiving host is sent is restarted, and completes to burn It writes.
According to some embodiments of the present invention, host and slave of the present invention are the equipment that CPU is embedded in flash, such as machine Top box, specific type are unrestricted.
In conclusion the present invention saves the control devices such as single-chip microcontroller, does not need to programming by simplifying to programming plate Plate programming program only need to realize one-to-many faster speed using the logic circuit of simple buffer and photo-coupler composition Program burn writing, and using I2C carry out slave detection locking, complete band detection more accurate programming slave, saving resource, Reduce cost.
In the present invention unless specifically defined or limited otherwise, the terms such as term " connected ", " connection " should do broad sense reason Solution, for example, it may be being fixedly connected, may be a detachable connection, or integral;It can be mechanical connection, be also possible to electricity Connection;It can be directly connected, the connection inside two elements or two can also be can be indirectly connected through an intermediary The interaction relationship of element.For the ordinary skill in the art, above-mentioned term can be understood as the case may be Concrete meaning in the present invention.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned Embodiment is changed, modifies, replacement and variant, at the same time, for those skilled in the art, the think of according to the application Think, there will be changes in the specific implementation manner and application range.

Claims (8)

1. a kind of P2MP software programming device with detection function, comprising: host, programming plate and multiple slaves, which is characterized in that The host is connected by I2C with the programming plate, and the programming plate is connected with the multiple slave respectively by I2C, is used for Control and detect the state of the slave;
The programming plate includes: photo-coupler, TXD serial ports, RXD serial ports and multiple buffers, wherein the multiple buffer is logical It crosses the RXD serial ports to be connected with the host, each buffer is connected with multiple photo-couplers, each optocoupler Clutch is connected with the slave by the TXD serial ports, for the program of host to be passed through programming plate programming to multiple slaves.
2. the P2MP software programming device according to claim 1 with detection function, which is characterized in that further include: display Equipment is connected with multiple slaves respectively, for prompting the connection status of slave.
3. the P2MP software programming device according to claim 2 with detection function, which is characterized in that the host is equipped with Programming key for entering the P2MP key of programming mode and for starting programming.
4. the P2MP software programming device according to claim 1 with detection function, which is characterized in that the programming plate is also Equipped with grounding ports, for being connected respectively with the grounding ports of the host and slave.
5. the P2MP software programming device according to claim 1 with detection function, which is characterized in that the programming plate is also Equipped with power port, for being connected respectively with the power port of the host and slave.
6. the P2MP software programming device according to any one of claims 1-5 with detection function, which is characterized in that institute It states host and slave is set-top box.
7. a kind of method of the P2MP software programming device programming program using as claimed in claim 3 with detection function, special Sign is, comprising the following steps:
S1: making host enter programming mode, and host sends synchronization signal by serial ports;
S2: multiple slaves receive the synchronization signal and host synchronization respectively;
S3: host sends I2C data and carries out multiple slave lockings, detects whether each slave connects normally;
S4: program data is divided into multichannel by programming plate and is respectively sent to connect normal slave by host, programming FLASH and OTP。
8. the method according to the description of claim 7 is characterized in that further including step S5: what slave receiving host was sent restarts Instruction is restarted, and programming is completed.
CN201910085299.8A 2019-01-29 2019-01-29 P2MP software programming device and method with detection function Active CN109597630B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910085299.8A CN109597630B (en) 2019-01-29 2019-01-29 P2MP software programming device and method with detection function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910085299.8A CN109597630B (en) 2019-01-29 2019-01-29 P2MP software programming device and method with detection function

Publications (2)

Publication Number Publication Date
CN109597630A true CN109597630A (en) 2019-04-09
CN109597630B CN109597630B (en) 2023-12-29

Family

ID=65966801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910085299.8A Active CN109597630B (en) 2019-01-29 2019-01-29 P2MP software programming device and method with detection function

Country Status (1)

Country Link
CN (1) CN109597630B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114385093A (en) * 2022-03-24 2022-04-22 成都雷电微力科技股份有限公司 System for promoting phased array antenna production efficiency

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102592648A (en) * 2012-01-19 2012-07-18 上海格州电子有限公司 Microcontroller programming device
CN202454275U (en) * 2012-01-19 2012-09-26 上海格州电子有限公司 Microprogrammed control unit (MCU) programmer
CN103036395A (en) * 2011-09-30 2013-04-10 雅达电子国际有限公司 Optimizing isolated power supply loop gains for opto-coupler current transfer ratio variations
CN106293857A (en) * 2016-08-31 2017-01-04 成都国蓉科技有限公司 A kind of wireless mode carries out the method for software upgrading
WO2017000637A1 (en) * 2015-06-30 2017-01-05 深圳市中兴微电子技术有限公司 Method of programming flash memory, and single board, host computer and system utilizing same
WO2017046789A1 (en) * 2015-09-15 2017-03-23 Gatekeeper Ltd. System and method for securely connecting to a peripheral device
CN106612074A (en) * 2015-10-26 2017-05-03 万国半导体(开曼)股份有限公司 Power supply device
CN108509205A (en) * 2018-03-07 2018-09-07 深圳市海浦蒙特科技有限公司 Frequency converter software programming safe checking method, device, storage medium and equipment
CN207924431U (en) * 2018-02-28 2018-09-28 湖南工学院 A kind of I/O controller of robot

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036395A (en) * 2011-09-30 2013-04-10 雅达电子国际有限公司 Optimizing isolated power supply loop gains for opto-coupler current transfer ratio variations
CN102592648A (en) * 2012-01-19 2012-07-18 上海格州电子有限公司 Microcontroller programming device
CN202454275U (en) * 2012-01-19 2012-09-26 上海格州电子有限公司 Microprogrammed control unit (MCU) programmer
WO2017000637A1 (en) * 2015-06-30 2017-01-05 深圳市中兴微电子技术有限公司 Method of programming flash memory, and single board, host computer and system utilizing same
WO2017046789A1 (en) * 2015-09-15 2017-03-23 Gatekeeper Ltd. System and method for securely connecting to a peripheral device
CN106612074A (en) * 2015-10-26 2017-05-03 万国半导体(开曼)股份有限公司 Power supply device
CN106293857A (en) * 2016-08-31 2017-01-04 成都国蓉科技有限公司 A kind of wireless mode carries out the method for software upgrading
CN207924431U (en) * 2018-02-28 2018-09-28 湖南工学院 A kind of I/O controller of robot
CN108509205A (en) * 2018-03-07 2018-09-07 深圳市海浦蒙特科技有限公司 Frequency converter software programming safe checking method, device, storage medium and equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
196311: "自制义隆单片机EM78P156烧写器资料", pages 1 - 6, Retrieved from the Internet <URL:《http://www.51hei.com/bbs/dpj-99036-1.html》> *
何旭鹏: "面向分布式馈线自动化的智能配电终端设计与实现", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》, no. 04, pages 042 - 986 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114385093A (en) * 2022-03-24 2022-04-22 成都雷电微力科技股份有限公司 System for promoting phased array antenna production efficiency

Also Published As

Publication number Publication date
CN109597630B (en) 2023-12-29

Similar Documents

Publication Publication Date Title
CN102323905B (en) Remote monitoring system for Godson main board
CN104063290A (en) Systems, Methods, And Apparatuses For Handling Timeouts
CN106681953B (en) Slave connected with host by using I2C bus and communication method thereof
TWI547784B (en) Method of dynamically adjusting bus clock and device thereof
CN109447225B (en) High-speed safe encryption Micro SD card
US20120254600A1 (en) Semiconductor system, semiconductor device, and electronic device initializing method
US10509595B2 (en) System and method for communication in a semiconductor device
US7467308B2 (en) Method for transmitting the system command of a computer system
US8339869B2 (en) Semiconductor device and data processor
CN103399830B (en) The Apparatus and method for of computer physics internal memory is read by PCI Express bus
US7467313B2 (en) Method for transmitting a power-saving command between a computer system and peripheral system chips
WO2015024414A1 (en) Chip and method for debugging mcu by using i2c slave device
CN104834620A (en) SPI (serial peripheral interface) bus circuit, realization method and electronic equipment
CN202026431U (en) Debugging device and debugging system
CN109597630A (en) A kind of P2MP software programming device and method with detection function
CN105915898B (en) The AccessPort device and its system of a kind of television set
CN208873142U (en) A kind of FPGA development board
CN102445981B (en) Data transmission system and data transmission method
CN206991177U (en) Integrated machine
CN209496364U (en) A kind of P2MP software programming device with detection function
Corcoran Two wires and 30 years: A tribute and introductory tutorial to the I2C two-wire bus
WO2010060237A1 (en) Network computer based on fpga
US6874047B1 (en) System and method for implementing an SMBus/I2C interface on a network interface card
CN206892749U (en) Integrated machine
CN204706031U (en) Serial peripheral equipment interface SPI bus circuit and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant