CN101335825A - Television set program updating device - Google Patents

Television set program updating device Download PDF

Info

Publication number
CN101335825A
CN101335825A CNA2008101416555A CN200810141655A CN101335825A CN 101335825 A CN101335825 A CN 101335825A CN A2008101416555 A CNA2008101416555 A CN A2008101416555A CN 200810141655 A CN200810141655 A CN 200810141655A CN 101335825 A CN101335825 A CN 101335825A
Authority
CN
China
Prior art keywords
television set
updating device
program
television
program updating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2008101416555A
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 Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CNA2008101416555A priority Critical patent/CN101335825A/en
Publication of CN101335825A publication Critical patent/CN101335825A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a television set procedure updating device, which includes an interface circuit, a microprocessor, a memory, an interrupting circuit and a serial interface writing control circuit, wherein, the interface circuit is used to connect to a television set procedure providing apparatus or a television set; the microprocessor is connected to the interface circuit; the memory is used to store the television set procedure read from the procedure providing apparatus; and the interrupting circuit and the serial interface writing control circuit are used to send out control signals, in order to make the microprocessor reading the procedure from the television set procedure providing apparatus and storing into the memory or reading the procedure from the memory and transmitting to the television set. The inventive television set procedure updating device has small occupation volume, carrying convenience and facilitation for users to updating television set procedure.

Description

Television set program updating device
Technical field
The present invention relates to field of television, relate in particular to a kind of portable television set program updating device that refreshes television program.
Background technology
Television set is born and has spreaded all over each corner of society so far, has brought endless seeing and hearing enjoyment for people's life.Making rapid progress of science and technology, television technologies is also advanced by leaps and bounds, and software program has been one of system for TV set most important parts.Software program can be realized the multiple function on the television set flexibly, as recording, video recording, automatic switching etc.
Yet along with the increase of user to the television set functional requirement, the software program of television set need upgrade upgrading to support more television set function.The method of upgrading television program at present mainly contains two kinds: (1) goes into memory by special program burn writing instrument with program burn writing in factory, with soldering appliance memory is welded on the TV SKD then, thereby refreshes television program; (2) need link to each other with television set by computer equipment,, program be write memory on the TV SKD, thereby refresh television program in conjunction with special software platform.
In above-mentioned first method, owing to upgrade and television set need be delivered to producer, and in producer television set is welded a memory and realize the software program upgrading, need expend cost that television set transports and the complexity that has increased upgrading; In above-mentioned second method, owing to need to adopt computer equipment that television set is carried out software program, and the apparatus such as computer existence costs an arm and a leg, weight is very big, carries problems such as inconvenience, it is constant therefore also to have brought for refreshing of TV set software program.
Summary of the invention
The problem of stating is in view of this arranged, be necessary to provide a kind of portable television set program updating device.
The invention provides a kind of television set program updating device, it comprises: interface circuit, and being used to be connected to a television program provides an equipment or a television set; Microprocessor is connected to described interface circuit; Memory is connected to described microprocessor, and being used for storage provides equipment to read television program from described program; And interrupt circuit, serial line interface write control circuit, be connected to described microprocessor respectively, be used to send control signal, read described program the equipment and store in the described memory or from described memory, read described program and be sent to described television set so that described microprocessor provides from described television program.
Compared with prior art, the present invention's television set program updating device adopts microprocessor, memory, interface circuit, interrupt circuit and serial line interface write control circuit to constitute, so that television set is carried out software refreshing, these assemblies all take very little volume, therefore this television set program updating device can have very little volume, be easy to carry, be convenient to the user television program is refreshed.
Description of drawings
Fig. 1 a, Fig. 1 b are television set program updating device of the present invention carries out refresh process to television program schematic diagrames.
Fig. 2 is the theory diagram of program updating device of the present invention.
Fig. 3 is that program updating device of the present invention provides equipment (is example with the computer system) to receive the flow chart of program from television program.
Fig. 4 is the flow chart that program updating device router of the present invention is given television set.
Embodiment
See also Fig. 1, television program is carried out the schematic diagram of refresh process for television set program updating device of the present invention.As shown in Figure 1a, television program provides equipment (as computer system) to send the television program data as main frame, and program updating device receives in routine data that computer system sends over and the memory that is stored in system as slave.Shown in Fig. 1 b, program updating device sends to system for TV set as main frame with the television program data of storage, and system for TV set receives the routine data that program updating device sends over as slave and stores, and realizes refreshing of program.
See also Fig. 2, program updating device comprises MCU (Micro Processor Unit, microprocessor), FLASH memory, SPI (Serial Peripheral Interface) bus converter, power circuit, serial interface circuit, I2C (Inter-Integrated Circuit) interface circuit, serial line interface write control circuit (SW1), interrupt circuit (SW2, SW3) and status indicator lamp.MCU can be small and exquisite, a cheap single-chip microcomputer, and it has internal storage, a serial line interface and two external interrupt INT0, INT1.The initialization data of program updating device self, self-check program and working procedure, and serial line interface reading and writing data program, I2C interface data read-write program, FLASH memory data read-write program etc. all are placed in the internal storage.The FLASH memory can adopt cheap serial FLASH, and it is connected to MCU by the spi bus transducer, is used to store the television set routine data.MCU control program data write the FLASH memory or read from the FLASH memory, and provide corresponding read-write state information, show current state by status indicator lamp.Power circuit is connected to MCU, and it is used to program updating device that power supply is provided.Serial interface circuit is connected to serial line interface TXD, the RXD of MCU, and it is used for carrying out data communication with external equipment (computer or television machine).The I2C interface circuit is connected to I/O mouth P8, the P9 of MCU, and it is used for carrying out data communication with external equipment (computer or television machine).Interrupt circuit, serial line interface write control circuit are connected to MCU, and it is used to provide control signal, with the reception data or the transmission data of control program updating device.
For strengthening versatility, program updating device can be selected a kind of computer or television machine that is connected to of serial line interface or I2C interface for use, to receive or the router data.Interrupt INT 0, INT1 are used to control the reception or the transmission of I2C interface data; Serial line interface interrupts, the reception or the transmission of I/O mouth P3 control serial line interface data.
The MCU of program updating device is the 5V power supply, and dominant frequency is designed to 22.1184MHz, has serial line interface, owing to itself do not have I2C interface and SPI interface, simulates realization I2C interface and SPI interface by the I/O mouth.The I2C interface is by I/O mouth P8, P9 simulation, and maximum transmission rate is 100Kbps; The SPI interface is by I/O mouth P4~P7 simulation, and maximum transmission rate is 2.2Mbps.The serial line interface of MCU adopts 8 bit shift register patterns, and baud rate is 1/12 of system's basic frequency.Because the FLASH memory adopts the 3.3V power supply, and MCU I/O mouth output level is 5V, system adopts the spi bus transducer to guarantee the reliability of spi bus transmission data.Carry out the initialization setting after program updating device powers on, set up storehouse, set serial line interface, operation such as I2C interface and SPI interface relevant parameter.MCU expresses current state by timer internal and the red/green indicator light of I/O mouth P2, P1 control: 1) red light, green light are all bright, and the updating device operation is normal, prepares read-write; 2) red light is bright, and green light flashes (time interval is 500ms), and updating device is just at write or read FLASH memory; 3) after Data Receiving or transmission finished, red, green light continued to flash 5s, and system restoration normally moves.
From Fig. 1, Fig. 2 as can be seen, program updating device be one can independent operating system, when receiving data, receive the television program data by serial line interface or I2C interface, and deposit serial FLASH memory in by spi bus.When sending data, the updating device system directly links to each other with system for TV set, reads routine data in the FLASH memory by spi bus, sends to system for TV set, the refreshing of realization television program software.
As shown in Figure 3, when program updating device received the television program data from computer, concrete steps were as follows:
Step S100: program updating device normally moves, red green indicator light all bright (serial line interface, I2C interface, SPI interface relevant parameter set at this moment), and wait for interruption.
Step S200: if having INT0 to interrupt or the serial line interface interruption, then shield all interruptions except that timer interrupts, avoid in receiving data procedures, having unwanted interruption to take place; Register and program pointer data that will be relevant with current state temporarily deposit storehouse in, recover current state so that interrupt returning the back; The timer relevant parameter is set and starts timer, allow timer produce once automatically every 500ms and interrupt, so that MCU can be the pulse signal of 500ms to the I/O mouth P1 transmission cycle, flash with the control green light, expression is receiving data.If do not have INT0 to interrupt or the serial line interface interruption, updating device normally moves.
Step S300: interrupt (being that receiving course is interrupted causing by INT0) if step S200 produces INT0, then start I2C interface reader, directly read I/O mouth data and write in the MCU internal RAM, return a response signal so that computer sends next data to computer then; If producing serial line interface, step S200 interrupts (being that receiving course is interrupted causing by serial line interface), MCU inquires serial line interface receiving flag RI and is " 1 ", then start the serial line interface reader, read the serial line interface buffer data and write in the MCU internal RAM, remove serial line interface receiving flag RI then so that next data can accurately receive.
Step S400: for guaranteeing to receive the reliability of data, after data write internal RAM, MCU carried out verification to each byte data that receives, and whether judgment data is valid data; If data are invalid, then withdraw from interruption, normally operation after time-delay a period of time.
Step S500:, judge whether end byte of the data that receive if data are effectively; Then will data be write the FLASH memory if not end byte by the SPI interface; Otherwise withdraw from interruption, normally operation after time-delay a period of time.
Step S600: data are end bytes effectively and not, then call the FLASH memory data and write a program, and by spi bus data are write the FLASH memory; Continue to receive routine data.
Step S700: after receiving course finishes, remove MCU internal RAM data; Green light stops timer after continuing to flash 5s, reads the data of preserving in the storehouse and writes relevant register to recover to interrupt preceding state; Open interruption, updating device recovers normal operating condition.
As shown in Figure 4, when program updating device sent the television program data, concrete steps were as follows:
Step S100: program updating device normally moves, red green indicator light all bright (serial line interface, I2C interface, SPI interface relevant parameter set at this moment), and the state of inquiry I/O mouth P3, and wait for interruption;
Step S200: if I/O mouth P3 has pulse or INT1 to interrupt, then shield all interruptions except that timer interrupts, avoid in sending data procedures, having unwanted interruption to take place; Register and program pointer data that will be relevant with current state temporarily deposit storehouse in, recover current state so that interrupt returning the back; The timer relevant parameter is set and starts timer, allow timer produce once automatically every 500ms and interrupt, so that MCU can be the pulse signal of 500ms to the I/O mouth P1 transmission cycle, flash with the control green light, expression is sending data.If the P3 mouth does not have pulse or INT1 to interrupt, updating device normally moves.
Step S300:MCU reads the television program data from serial FLASH and also temporarily deposits in the MCU internal RAM.
Step S400:MCU judges whether all television program data send and finishes, and finishes and then withdraws from interruption, normally operation after time-delay a period of time.Serial line interface is write a program or the I2C interface is write a program will send data in the MCU internal RAM otherwise will start.
Step S500: if send data by serial line interface, start serial line interface and write a program, the data in the MCU internal RAM are write the serial line interface buffer, serial line interface sends the automatic set of sign TI, waits for that system for TV set returns response signal; If send data by the I2C interface, start the I2C interface and write a program, the data in the MCU internal RAM are directly sent by the I/O mouth, wait for that system for TV set returns response signal.
Step S600: receive the correct signal that system for TV set returns, then continue to send data; If send data, also will remove serial line interface and send sign TI by serial line interface.
Step S700: after process of transmitting finishes, remove MCU internal RAM data; Green light stops timer after continuing to flash 5s, reads the data of preserving in the storehouse and writes relevant register to recover to interrupt preceding state; Open interruption, updating device recovers normal operating condition.
In sum, the present invention's television set program updating device adopts assemblies such as MCU, FLASH memory, serial interface circuit, interrupt circuit and status indicator lamp to constitute, so that television set is carried out software refreshing, these assemblies all take very little volume, therefore this television set program updating device can have very little volume, be easy to carry, be convenient to the user television program is refreshed.
In addition, those skilled in the art also can do other variation in spirit of the present invention.The variation that these are done according to spirit of the present invention all should be included within the present invention's scope required for protection.

Claims (10)

1. television set program updating device is characterized in that comprising:
Interface circuit, being used to be connected to a television program provides an equipment or a television set;
Microprocessor is connected to described interface circuit;
Memory is connected to described microprocessor, is used for storing the television program that provides equipment to read from described program; And
Interrupt circuit, serial line interface write control circuit, be connected to described microprocessor respectively, be used to send control signal, read described program the equipment and store in the described memory or from described memory, read described program and be sent to described television set so that described microprocessor provides from described television program.
2. television set program updating device as claimed in claim 1 is characterized in that: described interface circuit comprises serial interface circuit and I2C interface circuit.
3. television set program updating device as claimed in claim 1 is characterized in that: described memory is the FLASH memory.
4. television set program updating device as claimed in claim 1 is characterized in that: further comprise a spi bus transducer, be used to connect described memory and microprocessor.
5. television set program updating device as claimed in claim 1 is characterized in that: further comprise a status indicator lamp, it is used to indicate the operating state of described television set program updating device.
6. television set program updating device as claimed in claim 1 is characterized in that: comprise that further one is connected to the power circuit of microprocessor, it is used to described television set program updating device that power supply is provided.
7. television set program updating device as claimed in claim 1 is characterized in that: it is a computer that described television program provides equipment.
8. television set program updating device as claimed in claim 1 is characterized in that: described microprocessor comprises an internal storage.
9. television set program updating device as claimed in claim 1 is characterized in that: described microprocessor adopts I/O mouth P8, P9 Simulation with I 2C interface.
10. television set program updating device as claimed in claim 1 is characterized in that: described microprocessor adopts I/O mouth P4~P7 simulation SPI interface.
CNA2008101416555A 2008-07-18 2008-07-18 Television set program updating device Pending CN101335825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008101416555A CN101335825A (en) 2008-07-18 2008-07-18 Television set program updating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008101416555A CN101335825A (en) 2008-07-18 2008-07-18 Television set program updating device

Publications (1)

Publication Number Publication Date
CN101335825A true CN101335825A (en) 2008-12-31

Family

ID=40198109

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008101416555A Pending CN101335825A (en) 2008-07-18 2008-07-18 Television set program updating device

Country Status (1)

Country Link
CN (1) CN101335825A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699511A (en) * 2013-12-30 2014-04-02 武汉光谷电气有限公司 Interface device for serially writing programs in multiple MCUs (micro control units)
CN104461664A (en) * 2014-12-30 2015-03-25 深圳市辰卓科技有限公司 Mcu starting mode selecting circuit
CN106933679A (en) * 2015-12-31 2017-07-07 北京城市网邻信息技术有限公司 The method and device of data receiver
CN115658569A (en) * 2022-12-08 2023-01-31 井芯微电子技术(天津)有限公司 Method, system and equipment for interrupting and sharing storage among AMP (amplifier) multi-core processors

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699511A (en) * 2013-12-30 2014-04-02 武汉光谷电气有限公司 Interface device for serially writing programs in multiple MCUs (micro control units)
CN103699511B (en) * 2013-12-30 2017-05-17 武汉光谷电气有限公司 Interface device for serially writing programs in multiple MCUs (micro control units)
CN104461664A (en) * 2014-12-30 2015-03-25 深圳市辰卓科技有限公司 Mcu starting mode selecting circuit
CN104461664B (en) * 2014-12-30 2018-04-27 深圳市辰卓科技有限公司 MCU start-up mode selection circuits
CN106933679A (en) * 2015-12-31 2017-07-07 北京城市网邻信息技术有限公司 The method and device of data receiver
CN115658569A (en) * 2022-12-08 2023-01-31 井芯微电子技术(天津)有限公司 Method, system and equipment for interrupting and sharing storage among AMP (amplifier) multi-core processors

Similar Documents

Publication Publication Date Title
US6202209B1 (en) Personal information device and method for downloading reprogramming data from a computer to the personal information device via the PCMCIA port or through a docking station with baud rate conversion means
US6845455B2 (en) Wallet detachable retaining a personal information device and receiving a wake signal and a stay awake signal from the personal information device
CN108089940A (en) Handle system, the method and apparatus of time-out
CN108242838A (en) Time-based battery charging control method and the electronic equipment for supporting this method
KR100626663B1 (en) Apparatus for Developing and Verificating System on Chip of Internet Phone
CN102681959A (en) Method for interacting inner-band information and out-of-band information of server
CN101335825A (en) Television set program updating device
CN102739634A (en) Host device suspending communication link to client device based on client device notification
CN105259834B (en) A kind of data in mobile phone acquisition controller of firmware restructural
CN106874054A (en) A kind of repeater inner module program on-line upgrading method and system
CN107168833A (en) Parameter calibration method and device based on LUA scripts
CN102223452B (en) The TTY method of testing of mobile terminal and system
US8006004B2 (en) Non-intrusive debug port interface
CN106649024A (en) Method and device for real-time monitoring of application performance
CN107179978A (en) A kind of method, terminal and computer-readable recording medium for sending daily record
CN101651794A (en) Method for coping television memory data and intelligent copier
JP2971849B2 (en) Asynchronous serial data transmission / reception method for digital signal processor
CN103092648B (en) A kind of image upgrade method, system and subscriber equipment and personal computer
CN102811436B (en) A kind of firmware update and device
CN100481895C (en) Method and device for carrying out TV set software upgrade
CN112181460B (en) Program firmware upgrading method and device, electronic equipment and storage medium
CN201733371U (en) Interactive TV set top box IP on-demand loading upgrading device
CN104155891B (en) I<2>C-based networked transmitter and communication implementation method thereof
CN204706030U (en) A kind of I2C bus circuit and electronic equipment
WO2001048675A3 (en) Large-scale processing loop for implantable medical devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20081231