EP1197084A2 - Consumer electronics devices with upgrade capability - Google Patents

Consumer electronics devices with upgrade capability

Info

Publication number
EP1197084A2
EP1197084A2 EP00948592A EP00948592A EP1197084A2 EP 1197084 A2 EP1197084 A2 EP 1197084A2 EP 00948592 A EP00948592 A EP 00948592A EP 00948592 A EP00948592 A EP 00948592A EP 1197084 A2 EP1197084 A2 EP 1197084A2
Authority
EP
European Patent Office
Prior art keywords
electronic device
consumer electronic
slave
packet
master
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.)
Withdrawn
Application number
EP00948592A
Other languages
German (de)
French (fr)
Inventor
Zafar Khan
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.)
Index Systems LLC
Original Assignee
Index Systems LLC
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 Index Systems LLC filed Critical Index Systems LLC
Publication of EP1197084A2 publication Critical patent/EP1197084A2/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43632Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wired protocol, e.g. IEEE 1394
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/162Authorising the user terminal, e.g. by paying; Registering the use of a subscription channel, e.g. billing
    • H04N7/165Centralised control of user terminal ; Registering at central

Definitions

  • the present invention relates generally to a link for interfacing host devices with slave devices, and more particularly to a link for interfacing host devices that store electronic program guides (EPGs) with slave devices that enhance EPG capabilities.
  • EPGs electronic program guides
  • a consumer electronic device such as a television, cable box, or VCR uses a combined serial and infrared output port.
  • the combined port is connected to a slave peripheral device that includes a serial port and an infrared output port.
  • the serial port of the slave peripheral device is connected to the combined serial and infrared port and the infrared output port is connected to an infrared remote control transmitter via an infrared driver signal passthrough circuit.
  • FIG. 1 is a block diagram showing a G-Link system configuration according to one embodiment of the invention.
  • FIG. 2 is a lateral view of the G-Link connector according to an embodiment of the invention.
  • FIG. 3 is a schematic of the G-Link/IR Out circuit located in a TV/STB according to an embodiment of the invention.
  • FIG. 4 is a schematic of the interface circuit of a G-link slave device according to an embodiment of the invention.
  • FIG. 5 is a flow diagram of the probe request/response process according to an embodiment of the invention.
  • FIG. 6 is a diagram showing different packet types of packets transmitted between a slave and a master according to an embodiment of the invention.
  • FIG. 7 is a flow diagram of showing the interaction of Init, Comm and Driver states according to an embodiment of the invention.
  • FIG. 8 is a flow diagram of a initial bootstrap stage according to an embodiment of the invention.
  • FIG. 9 is a flow diagram of a final bootstrap process according to an embodiment of the invention.
  • FIG. 10 is a flow diagram of a bootstrap timer process according to an embodiment of the invention.
  • FIG. 11 is a flow diagram of a patch load stage according to an embodiment of the invention.
  • the Guide-link is a link that provides a serial interface between Host devices such as televisions (TVs) and set-top boxes (STBs), and slave devices.
  • TV/STB represents either a television and/or a set-top box (e.g. VCR).
  • the G-Link allows the manufacturer to expand the capabilities of an EPG system by loading data and software from a slave device to a TV/STB.
  • the G-Link is a cost-effective solution, as it shares the existing IR Mouse that is used to control televisions, cable boxes, and VCRs and uses very few gates in the hardware implementation.
  • the G-Link supports the following slave devices: a serial debugger device, a demonstration ROM device, a database expansion device, and a modem. These devices are not the only devices that can be supported by the G-Link. Other devices can also be supported by the G-Link as long as they follow the G-Link protocol.
  • the Serial Debugger Interface can assist in debugging production firmware, i.e., firmware in a TV/STB.
  • a demonstration ROM device can download a graphical demonstration program that displays the features of an EPG and/or TV/STB. The demonstration ROM device can include customization for a retailer selling TV/STBs.
  • a database expansion device expands the database information capacity of TV/STB beyond what is available in an EPG.
  • a modem (or an RS-232 interface) facilitates features such as: consumer feedback, shopping, or a worldwide web link.
  • FIG. 1 shows an example of how a television, G-Link device, and IR Mouse might be connected.
  • the G-Link topology is a master/slave scheme where the master device 2 (that is, an
  • EPG TV/STB interacts with one slave (that is, external) device 4.
  • the slave connects to the master using the same connector 6 as an external IR Mouse. Every slave device must have a connector that allows an IR Mouse connection.
  • the G-Link slave device when placed into an IR output mode, either passes through the LED drive current from the G-Link connector to the IR Mouse connector or sources current from its own power supply.
  • the G-Link connector 6 is a 3.5 mm (0.141 inch) mini-jack, as shown in FIG. 2 .
  • the tip 8 of the G-Link connector is data and the sleeve 10 of the G-link connector is ground.
  • FIG.3 shows the G-Link/IR Out circuit generally located in the TV/STB. Electrically, the
  • G-Link interface operates at CMOS logic levels.
  • the output stage is an open collector, with a pull-up resistance of approximately 5K ohms. This port is commonly shared with the IR output port 12 of an EPG system.
  • the rise time of the G- Link signal should not exceed 5 ⁇ S. Since the total pull-up resistance is about 5K ohms, in some configurations this allows for 220pF of filter capacitance 14 to ground at each end of the G-Link wire. The series resistance of the G-Link cable connection should remain below 50 ohms.
  • the 270ohm resistor 20, shown in FIG. 3, protects the ASIC from Electrostatic discharge (ESD).
  • ESD Electrostatic discharge
  • the 220pF capacitor also helps protect the ASIC.
  • a spark gap or other device is also added to satisfy manufacturer ESD standards.
  • the ASIC input pins can withstand the following ESD tests: 200 V from a 200pF capacitor with no series resistance; and 1.0K V from a lOOpF capacitor with a 1.5K series resistance.
  • the G-Link and the IR output device share the same port.
  • the IR output circuit which typically shares the same connector with the G-Link port, consists of a high-side driver 1 transistor. This transistor pulls the output up to Vcc through a current limiting resistor—the value of which depends on the particular IR output device.
  • the IR and G-Link outputs can never be asserted at the same time.
  • G-Link devices may take a variety of forms.
  • a G-Link slave device can be powered by a separate external power source.
  • a low-power G-Link slave device can be without an external power source.
  • FIG. 4 shows the minimum required interface components for a G- Link device in a preferred embodiment of the invention.
  • the G-link hardware transmits asynchronously at 38400 bps using RS-232-type start and stop bits. Characters are transmitted with 8 data bits, no parity, and 1 stop bit (8N1). In alternative embodiments, the G-link hardware transmits at higher bps rates and may encode characters in any encoding scheme known to one with ⁇ r ordinary skill in the art.
  • the G-link follows the International Standards Organization Open Systems Interconnection (ISO/OSI) model for networks.
  • the Transport layer in the Open Systems Interconnection (OSI) model resides between the Network and Session layers.
  • the Transport layer in the Open Systems Interconnection (OSI) model resides between the Network and Session layers.
  • 2 Q layer controls the sequence of packets, regulates packet flow, and recognizes duplicate packets.
  • NACK negative acknowledgment
  • Table 4 and Table 5 defines the general formats for all Request and Response packets
  • Table 4 defines the Request Packet Format in a preferred embodiment.
  • Table 5 defines the Response Packet Format in a preferred embodiment.
  • SOP Start-of-Packet
  • Request Command byte
  • Data Block Length Byte Data Block Length Byte
  • Sequence Low/Sequence High Data Block within
  • EOP End-of-Packet.
  • Every G-Link data transaction is a request/response packet sequence between the master and the slave.
  • the master initiates G-Link transactions (that is, the EPG device) that are acted upon by the slave (that is, the external device).
  • a slave device must process, at a minimum, eight bytes of transmit and receive buffer data.
  • This transaction method (1) eases the implementation over a dual-simplex data link; (2) reduces the chance of data request collisions; and (3) eliminates potential problems when IR and G-Link share the same port— slave transactions respond with a Negative Acknowledgment (NACK) bit or interfere with IR operation.
  • NACK Negative Acknowledgment
  • a request/response packet sequence may be either a write request (where data is carried in the request) or read request (where data is contained in the corresponding response).
  • All valid request packets return an Acknowledge (ACK) response packet to the requester.
  • ACK Acknowledge
  • the transport layer of the responding device detects an error condition (for example, no valid SOP/EOP, invalid checksum, time-out, invalid command)
  • a NACK response packet is returned to the requester.
  • the Session layer that resides on top of the transport layer is responsible for initiating a retry packet request. Either the master or slave can execute the packet retry.
  • a data block can be a maximum of 255 bytes.
  • Packet sequence numbers start at zero and monotonically increase as necessary. Data transfer must occur in order if the data block sizes within a packet are different sizes.
  • the transport layer controls the order of the packets
  • the request and response packets must include a Sequence Present bit and the packet sequence numbers.
  • a data block can be greater than 255 bytes.
  • Alternative embodiments can have data blocks that have a maximum of 2 n -l bytes, where n>8.
  • Table 6 lists the standard G-Link device commands supported by all G-Link devices.
  • the G-Link probe process involves G-Link master device routinely sending a Probe Request packet that looks for the presence of a G-Link slave device. If a device is present, the slave sends a Probe Response packet.
  • FIG. 5 shows the probe request/response process.
  • the Master sends a probe request packet every minute 30 until a probe response packet is sent by the slave. If there is no slave device present, then there will be no response 32. If a slave device is attached 34 and if it is operable, then it will send a Probe Response packet 38 in response to a Probe Request packet 36.
  • the Probe Response packet includes speed and buffer size information. After receiving the Probe Response packet, the Master will adjust the speed and buffer size if the slave speed and buffer size information is different from the speed and buffer size information that the Master has 40.
  • the master no longer sends a Probe Request packet— unless the slave does not respond to any other request-packet type, in which case the master re-initiates the Probe Request sequence.
  • the G-Link master supports only one slave device connection at a time.
  • the G-Link master may support more than one slave device, wherein a priority scheme is implemented to determine which device shall have access to the G-Link.
  • Link speed and buffer size are determined through the exchange of the Probe Request and Probe Response packets.
  • the G-Link master sends a Probe Request packet with a default speed of 38400 bps and a buffer size of 255 bytes.
  • the slave responds with a Probe Response packet defining its maximum transmission speed and buffer size.
  • Table 7 lists the Probe Request packet format and Table 8 lists the Probe Response packet format.
  • the Master Request Format packet 50 is a generic request packet where the master asks the slave "do you have anything to send?"
  • the advantage of this packet type is it allows the slave to respond without waiting for the master to send a specific request packet type (for example, the slave would only send an Identify Response packet after it received an Identify Request packet).
  • FIG. 6 shows the different types of packets a slave could send in response to the Master Request Format packet. A slave device will still respond to a specific request packet type (that is, the slave sends an Identify Response packet after the master sends an Identify Request packet).
  • the slave can respond to a Master Request Format Packet with an Identify Response packet 52, a memory read followed by a Request packet 54, or a Retry packet followed by a Request packet 56.
  • the Identify Request and Identify Response packets are used to identify the slave device type.
  • the Identification Response packet contains the following data: a device type/subtype and a null-terminated string describing the device.
  • the device type/subtype data may be used by operational firmware to discern what slave device is installed on G-Link.
  • the null-terminated string may be used by Factory Test/Diagnostics screens.
  • Table 9 lists the Identification Request Packet format and Table 10 lists the Identification Response Packet format.
  • the Memory Write Request packet is a request-only packet initiated by the slave. This packet tells the master where and how much data the slave wants to store in the master. The master does not send a response packet. Table 13 lists the Memory Write Request Packet format.
  • the G-Link has state conditions for packets. Different packet types operate in various states.
  • a packet type may be used in one or more of the following three states: Initial (Init), Communication (Comm), and Driver.
  • Initial state probe packets are passed.
  • Communication state data, get next, and retry packets are passed.
  • Driver state driver packets are passed.
  • the type of packet sent in a state depends on which Master and Slave events are used. Master events are originated from the Slave. Slave events are originated from the Master. Master and Slave events and their corresponding designations are listed in Table 14.
  • Table 15 indicates (using a •) which Master events are allowed in each state.
  • FIG. 7 shows an example of how packets and events interact in the three states.
  • Initial state probe packets are passed.
  • Communication state data, get next, and retry packets are passed.
  • Driver state driver packets are passed.
  • the slave device ignores Master events A, and D through L as shown in Table 15 61.
  • the Master does an initial probe of the slave 62. If the slave responds to the initial probe, then the probe packet was successful and the Communication State is entered 63. If the probe packet is not successful, then the Master sends a timeout probe to the slave and the slave has a timeout 64. Then, the Master sends a retry packet to the slave and the slave does a retry 65. The slave attempts to respond to the retry packet, whereupon the initial state 60 is entered and the Master does another initial probe of the slave 62.
  • the slave In the Communication State, the slave formats the next packet to give to the Master 66. In the Communication State, the slave ignores Master events A (Other) and C (Probe Response) 67.
  • the Communication State There are four paths that the Communication State can take. In one path, the Master requests the next packet from the slave 68. Then, the slave does a request read and the master responds with the data from the specified address. In a second path, the Master requests the next packet from the slave 70. The slave writes the packet 71. There is just one "next packet request” instead of both a "next packet request” and a "master request for a write.” A checksum is checked to see if it is valid 72. If the checksum is not valid, then there is a retry of a packet write from the slave to the Master and the slave attempts a retry 73. Another possibility is that one or more bytes are missed by the slave and the master times out waiting for the expected number of bytes to be received. In this case, the slave also times out.
  • a retry packet counter is checked 75. If the retry packet counter is greater than zero, then the master sends a retry packet to the slave 76. If the retry packet counter is not greater than zero, then the Initial state is returned to 77.
  • the "Initial State" is a cold reset of the Master. At this point, the Master assumes that the slave has hung up in the middle of uploading a patch, and the Master attempts to purge its memory with this Cold Reset.
  • the Master requests the next packet from the slave 78.
  • the Driver State is entered 79 and Master events A, F, G, H, I, and J are ignored 80.
  • the Master begins to load the driver from the slave, packet by packet.
  • a test is conducted for whether there are more packets 81. Just in case the same packet is sent twice correctly by the slave, the master counts it as only one packet received. Packet zero provides the total size 82. If there are more packets to be sent, then the slave continues to send packets to the Master. If there are no more packets to be sent, then the slave sends an execute packet and the Master executes the sent packets 83 whereupon the Initial state is returned to 84.
  • the Master requests the next packet from the slave 85.
  • the slave sends an execute packet and the Master executes the packet 83 whereupon the Initial state is returned to 84.
  • the slave can Reset Protocol in which case the Master resets the protocol 86 or the slave can timeout, in which case the Master has a Factory Test Response 87.
  • a patch download from a slave device to a TV/STB comprises three stages. The three stages in the bootstrap process are (1) Initial Bootstrap; (2) Final Bootstrap; and (3) Patch Load. Each stage provides items that are used in the next stage. The preceding stage must be successfully completed before the next one can begin.
  • Stage 1 is the Initial Bootstrap stage.
  • the Initial Bootstrap stage provides the essential tools used in the Stage 2, Final Bootstrap stage.
  • FIG. 8 shows the initial bootstrap stage. After the successful completion of the initial bootstrap stage, the following items are available for use in the next stage: Faster probe packets (every .5 seconds), Watchdog timer, ⁇ c and End of stage packet handler.
  • the Slave device is in its initial state 110.
  • the TV/STB which is a G-link master device, routinely sends to the slave device, a probe request packet 111 that looks for the presence of a G-link slave device.
  • a probe request packet 111 that looks for the presence of a G-link slave device.
  • the slave device if the TV/STB determines within 5.6 seconds 112 that the slave device is present, then the slave device sends an identify response packet 113.
  • the TV/STB requests the next packet from the slave device 114.
  • the slave device if the slave device responds within 5.6 seconds to the next packet request 115, then the slave device does a memory write to its memory 116.
  • the TV/STB sends another probe
  • the slave device does a memory write to the TV/STB that causes the TV/STB to "execute" the instructions within the memory write 118.
  • the TV/STB executes the instructions contained within the memory write from the slave device 119.
  • Stage 2 is the Final Bootstrap stage.
  • FIG. 9 shows the Final Bootstrap process.
  • the final bootstrap stage provides the patch information that is loaded in the third stage. After the successful completion of the Final Bootstrap stage, at least the following items are available: TV screen display that shows real-time download percent complete, watchdog timer
  • End of stage packet handler replaces End of stage packet from stage 1; 1 Retry packet; and size of a final patch.
  • the TV/STB sends a probe request
  • the TV/STB determines within .5 seconds whether the slave device has responded to the TV/STB 121. If the slave device does respond within .5 seconds, then the slave device does a memory write 122 until the end of the final bootstrap stage 123. At the end of the final bootstrap stage, the
  • FIG. 10 shows the 20-second timer flowchart, which is applicable in a preferred embodiment of the invention.
  • Stage 3 is the Patch Load stage.
  • FIG. 11 shows the patch load stage.
  • the patch load stage arranges the information from the first two stages into usable patch code.
  • the TV/STB gets a new packet from the slave device 140.
  • the slave device does a memory write from its memory to the TV/STB 141.
  • the TV/STB determines whether the packet has been successfully received by the TV/STB within a timer period 142. In the preferred embodiment of the invention, the timer period is three seconds. If the timer period expires 143, then the packet was not successfully transferred from the slave device to the TV/STB. If the packet is determined to be successfully received, then the
  • the retry counter represents the number of times the TV/STB will retry a packet request because of the timer period expiration. If the retry counter is greater than zero, then the TV/STB will request another packet from the slave device 151. If the retry counter is not greater than zero, then the retry counter has been exhausted and the

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Communication Control (AREA)
  • Selective Calling Equipment (AREA)
  • Details Of Television Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

A consumer electronic device, such as a television, cable box, or VCR uses a combined serial and infrared output port. The combined port is connected to a slave peripheral device that includes a serial port and an infrared output port. The serial port of the slave peripheral device is connected to the combined serial and infrared port and the infrared output port is connected to an infrared remote control transmitter via an infrared driver signal passthrough circuit.

Description

COMBINED SERIAL AND INFRARED PORT FOR CONSUMER ELECTRONIC
DEVICES
CROSS-REFERENCE TO RELATED APPLICATION This application claims priority of U.S. Provisional Application No. 60/142,653 filed
July 6, 1999, which is incorporated by reference as if fully set forth herein.
FIELD OF THE INVENTION
The present invention relates generally to a link for interfacing host devices with slave devices, and more particularly to a link for interfacing host devices that store electronic program guides (EPGs) with slave devices that enhance EPG capabilities.
SUMMARY OF THE INVENTION
A consumer electronic device, such as a television, cable box, or VCR uses a combined serial and infrared output port. The combined port is connected to a slave peripheral device that includes a serial port and an infrared output port. The serial port of the slave peripheral device is connected to the combined serial and infrared port and the infrared output port is connected to an infrared remote control transmitter via an infrared driver signal passthrough circuit.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram showing a G-Link system configuration according to one embodiment of the invention. FIG. 2 is a lateral view of the G-Link connector according to an embodiment of the invention.
FIG. 3 is a schematic of the G-Link/IR Out circuit located in a TV/STB according to an embodiment of the invention.
FIG. 4 is a schematic of the interface circuit of a G-link slave device according to an embodiment of the invention. FIG. 5 is a flow diagram of the probe request/response process according to an embodiment of the invention.
FIG. 6 is a diagram showing different packet types of packets transmitted between a slave and a master according to an embodiment of the invention.
FIG. 7 is a flow diagram of showing the interaction of Init, Comm and Driver states according to an embodiment of the invention.
FIG. 8 is a flow diagram of a initial bootstrap stage according to an embodiment of the invention.
FIG. 9 is a flow diagram of a final bootstrap process according to an embodiment of the invention. FIG. 10 is a flow diagram of a bootstrap timer process according to an embodiment of the invention. FIG. 11 is a flow diagram of a patch load stage according to an embodiment of the invention.
DETAILED DESCRIPTION
The Guide-link (G-Link) is a link that provides a serial interface between Host devices such as televisions (TVs) and set-top boxes (STBs), and slave devices. Hereinafter, TV/STB represents either a television and/or a set-top box (e.g. VCR). The G-Link allows the manufacturer to expand the capabilities of an EPG system by loading data and software from a slave device to a TV/STB. The G-Link is a cost-effective solution, as it shares the existing IR Mouse that is used to control televisions, cable boxes, and VCRs and uses very few gates in the hardware implementation.
The G-Link supports the following slave devices: a serial debugger device, a demonstration ROM device, a database expansion device, and a modem. These devices are not the only devices that can be supported by the G-Link. Other devices can also be supported by the G-Link as long as they follow the G-Link protocol.
The Serial Debugger Interface can assist in debugging production firmware, i.e., firmware in a TV/STB. A demonstration ROM device can download a graphical demonstration program that displays the features of an EPG and/or TV/STB. The demonstration ROM device can include customization for a retailer selling TV/STBs. A database expansion device expands the database information capacity of TV/STB beyond what is available in an EPG. A modem (or an RS-232 interface) facilitates features such as: consumer feedback, shopping, or a worldwide web link.
FIG. 1 shows an example of how a television, G-Link device, and IR Mouse might be connected. The G-Link topology is a master/slave scheme where the master device 2 (that is, an
EPG TV/STB) interacts with one slave (that is, external) device 4. The slave connects to the master using the same connector 6 as an external IR Mouse. Every slave device must have a connector that allows an IR Mouse connection.
The G-Link slave device, when placed into an IR output mode, either passes through the LED drive current from the G-Link connector to the IR Mouse connector or sources current from its own power supply.
In the preferred embodiment of the invention, the G-Link connector 6 is a 3.5 mm (0.141 inch) mini-jack, as shown in FIG. 2 . The tip 8 of the G-Link connector is data and the sleeve 10 of the G-link connector is ground. FIG.3 shows the G-Link/IR Out circuit generally located in the TV/STB. Electrically, the
G-Link interface operates at CMOS logic levels. The output stage is an open collector, with a pull-up resistance of approximately 5K ohms. This port is commonly shared with the IR output port 12 of an EPG system. The G-Link input pin of the ASIC has CMOS logic thresholds. Tables 1 through 3 show the DC characteristics for G-Link in the preferred embodiment of the invention. Table 1 shows the absolute maximum input voltage at the connector. Tables 2 and 3 assume Vdd = 5.00V. Table 2 shows the valid logic input levels. Table 3 shows the output voltage at the connector.
Table 1
Table 2
Table 3
For electrostatic discharge (ESD) protection and noise filtering, the rise time of the G- Link signal should not exceed 5 μS. Since the total pull-up resistance is about 5K ohms, in some configurations this allows for 220pF of filter capacitance 14 to ground at each end of the G-Link wire. The series resistance of the G-Link cable connection should remain below 50 ohms.
The 270ohm resistor 20, shown in FIG. 3, protects the ASIC from Electrostatic discharge (ESD). The 220pF capacitor also helps protect the ASIC. Typically, a spark gap or other device is also added to satisfy manufacturer ESD standards.
In the preferred embodiment, the ASIC input pins can withstand the following ESD tests: 200 V from a 200pF capacitor with no series resistance; and 1.0K V from a lOOpF capacitor with a 1.5K series resistance.
The G-Link and the IR output device share the same port. The IR output circuit, which typically shares the same connector with the G-Link port, consists of a high-side driver 1 transistor. This transistor pulls the output up to Vcc through a current limiting resistor— the value of which depends on the particular IR output device. The IR and G-Link outputs can never be asserted at the same time. G-Link devices may take a variety of forms. A G-Link slave device can be powered by a separate external power source. A low-power G-Link slave device can be without an external power source. FIG. 4 shows the minimum required interface components for a G- Link device in a preferred embodiment of the invention.
1 o In the preferred embodiment, the G-link hardware transmits asynchronously at 38400 bps using RS-232-type start and stop bits. Characters are transmitted with 8 data bits, no parity, and 1 stop bit (8N1). In alternative embodiments, the G-link hardware transmits at higher bps rates and may encode characters in any encoding scheme known to one with ι r ordinary skill in the art.
The G-link follows the International Standards Organization Open Systems Interconnection (ISO/OSI) model for networks. The Transport layer in the Open Systems Interconnection (OSI) model resides between the Network and Session layers. The Transport
2Q layer controls the sequence of packets, regulates packet flow, and recognizes duplicate packets.
An error in a packet is indicated by a negative acknowledgment (NACK). If an error occurs in a packet (NACK), the Session layer must initiate a retransmission request.
Table 4 and Table 5 defines the general formats for all Request and Response packets
25 in a preferred embodiment of the invention. Table 4 defines the Request Packet Format in a preferred embodiment. Table 5 defines the Response Packet Format in a preferred embodiment. In alternative embodiments, the Start-of-Packet (SOP) byte, Request Command byte, Data Block Length Byte, Sequence Low/Sequence High, and Data Block within may
30 occur in any order, except that the Data Block Length must be before the Data Block. EOP is End-of-Packet.
35
Table 4
Table 5
Every G-Link data transaction is a request/response packet sequence between the master and the slave. In most cases, the master initiates G-Link transactions (that is, the EPG device) that are acted upon by the slave (that is, the external device). A slave device must process, at a minimum, eight bytes of transmit and receive buffer data. There are three reasons for using this transaction method: (1) eases the implementation over a dual-simplex data link; (2) reduces the chance of data request collisions; and (3) eliminates potential problems when IR and G-Link share the same port— slave transactions respond with a Negative Acknowledgment (NACK) bit or interfere with IR operation.
A request/response packet sequence may be either a write request (where data is carried in the request) or read request (where data is contained in the corresponding response).
All valid request packets return an Acknowledge (ACK) response packet to the requester. When the transport layer of the responding device detects an error condition (for example, no valid SOP/EOP, invalid checksum, time-out, invalid command), a NACK response packet is returned to the requester.
In the event of a NACK response, the transport layer will not initiate a retry. The Session layer that resides on top of the transport layer is responsible for initiating a retry packet request. Either the master or slave can execute the packet retry.
In the preferred embodiment of the invention, a data block can be a maximum of 255 bytes. When a transaction has more data than can fit into one 255-byte data block, that data must be divided into a sequence of packets. Packet sequence numbers start at zero and monotonically increase as necessary. Data transfer must occur in order if the data block sizes within a packet are different sizes.
Although the transport layer controls the order of the packets, the request and response packets must include a Sequence Present bit and the packet sequence numbers.
In alternative embodiments of the invention, a data block can be greater than 255 bytes. Alternative embodiments can have data blocks that have a maximum of 2n-l bytes, where n>8.
Table 6 lists the standard G-Link device commands supported by all G-Link devices.
Table 6
The G-Link probe process involves G-Link master device routinely sending a Probe Request packet that looks for the presence of a G-Link slave device. If a device is present, the slave sends a Probe Response packet.
FIG. 5 shows the probe request/response process. In the preferred embodiment of the invention, the Master sends a probe request packet every minute 30 until a probe response packet is sent by the slave. If there is no slave device present, then there will be no response 32. If a slave device is attached 34 and if it is operable, then it will send a Probe Response packet 38 in response to a Probe Request packet 36. The Probe Response packet includes speed and buffer size information. After receiving the Probe Response packet, the Master will adjust the speed and buffer size if the slave speed and buffer size information is different from the speed and buffer size information that the Master has 40.
Once a Probe Request and Response packet exchange has occurred between the master and slave, the master no longer sends a Probe Request packet— unless the slave does not respond to any other request-packet type, in which case the master re-initiates the Probe Request sequence.
In the preferred embodiment, the G-Link master supports only one slave device connection at a time. In alternate embodiments, the G-Link master may support more than one slave device, wherein a priority scheme is implemented to determine which device shall have access to the G-Link.
Link speed and buffer size are determined through the exchange of the Probe Request and Probe Response packets. The G-Link master sends a Probe Request packet with a default speed of 38400 bps and a buffer size of 255 bytes. The slave responds with a Probe Response packet defining its maximum transmission speed and buffer size. Table 7 lists the Probe Request packet format and Table 8 lists the Probe Response packet format.
Byte Number Meaning
0 0x80
Table 7
Table 8
The Master Request Format packet 50 is a generic request packet where the master asks the slave "do you have anything to send?" The advantage of this packet type is it allows the slave to respond without waiting for the master to send a specific request packet type (for example, the slave would only send an Identify Response packet after it received an Identify Request packet). FIG. 6 shows the different types of packets a slave could send in response to the Master Request Format packet. A slave device will still respond to a specific request packet type (that is, the slave sends an Identify Response packet after the master sends an Identify Request packet).
The slave can respond to a Master Request Format Packet with an Identify Response packet 52, a memory read followed by a Request packet 54, or a Retry packet followed by a Request packet 56.
The Identify Request and Identify Response packets are used to identify the slave device type. The Identification Response packet, as shown in Table 10, contains the following data: a device type/subtype and a null-terminated string describing the device. The device type/subtype data may be used by operational firmware to discern what slave device is installed on G-Link. The null-terminated string may be used by Factory Test/Diagnostics screens. Table 9 lists the Identification Request Packet format and Table 10 lists the Identification Response Packet format.
Table 9
Table 10
Table 11
Table 12
Memory Write Packet Format
The Memory Write Request packet is a request-only packet initiated by the slave. This packet tells the master where and how much data the slave wants to store in the master. The master does not send a response packet. Table 13 lists the Memory Write Request Packet format.
Table 13
The G-Link has state conditions for packets. Different packet types operate in various states. A packet type may be used in one or more of the following three states: Initial (Init), Communication (Comm), and Driver. In the Initial state probe packets are passed. In the Communication state, data, get next, and retry packets are passed. In the Driver state, driver packets are passed.
The type of packet sent in a state depends on which Master and Slave events are used. Master events are originated from the Slave. Slave events are originated from the Master. Master and Slave events and their corresponding designations are listed in Table 14.
Table 14
Not all master events are allowed in every state. Table 15 indicates (using a •) which Master events are allowed in each state.
Table 15
FIG. 7 shows an example of how packets and events interact in the three states. In the Initial state probe packets are passed. In the Communication state, data, get next, and retry packets are passed. In the Driver state, driver packets are passed.
In the initial state 60, the slave device ignores Master events A, and D through L as shown in Table 15 61. The Master does an initial probe of the slave 62. If the slave responds to the initial probe, then the probe packet was successful and the Communication State is entered 63. If the probe packet is not successful, then the Master sends a timeout probe to the slave and the slave has a timeout 64. Then, the Master sends a retry packet to the slave and the slave does a retry 65. The slave attempts to respond to the retry packet, whereupon the initial state 60 is entered and the Master does another initial probe of the slave 62.
In the Communication State, the slave formats the next packet to give to the Master 66. In the Communication State, the slave ignores Master events A (Other) and C (Probe Response) 67.
There are four paths that the Communication State can take. In one path, the Master requests the next packet from the slave 68. Then, the slave does a request read and the master responds with the data from the specified address. In a second path, the Master requests the next packet from the slave 70. The slave writes the packet 71. There is just one "next packet request" instead of both a "next packet request" and a "master request for a write." A checksum is checked to see if it is valid 72. If the checksum is not valid, then there is a retry of a packet write from the slave to the Master and the slave attempts a retry 73. Another possibility is that one or more bytes are missed by the slave and the master times out waiting for the expected number of bytes to be received. In this case, the slave also times out.
When there is a retry of a packet 74, a retry packet counter is checked 75. If the retry packet counter is greater than zero, then the master sends a retry packet to the slave 76. If the retry packet counter is not greater than zero, then the Initial state is returned to 77. The "Initial State" is a cold reset of the Master. At this point, the Master assumes that the slave has hung up in the middle of uploading a patch, and the Master attempts to purge its memory with this Cold Reset.
In a third path, the Master requests the next packet from the slave 78. The Driver State is entered 79 and Master events A, F, G, H, I, and J are ignored 80. The Master begins to load the driver from the slave, packet by packet. A test is conducted for whether there are more packets 81. Just in case the same packet is sent twice correctly by the slave, the master counts it as only one packet received. Packet zero provides the total size 82. If there are more packets to be sent, then the slave continues to send packets to the Master. If there are no more packets to be sent, then the slave sends an execute packet and the Master executes the sent packets 83 whereupon the Initial state is returned to 84.
In a fourth path, the Master requests the next packet from the slave 85. The slave sends an execute packet and the Master executes the packet 83 whereupon the Initial state is returned to 84. From either the Communication State or the Driver State, the slave can Reset Protocol in which case the Master resets the protocol 86 or the slave can timeout, in which case the Master has a Factory Test Response 87. A patch download from a slave device to a TV/STB comprises three stages. The three stages in the bootstrap process are (1) Initial Bootstrap; (2) Final Bootstrap; and (3) Patch Load. Each stage provides items that are used in the next stage. The preceding stage must be successfully completed before the next one can begin.
10 Stage 1 is the Initial Bootstrap stage. The Initial Bootstrap stage provides the essential tools used in the Stage 2, Final Bootstrap stage. FIG. 8 shows the initial bootstrap stage. After the successful completion of the initial bootstrap stage, the following items are available for use in the next stage: Faster probe packets (every .5 seconds), Watchdog timer, ι c and End of stage packet handler.
At the beginning of the initial bootstrap stage, the Slave device is in its initial state 110. The TV/STB, which is a G-link master device, routinely sends to the slave device, a probe request packet 111 that looks for the presence of a G-link slave device. In a preferred
20 embodiment of the invention, if the TV/STB determines within 5.6 seconds 112 that the slave device is present, then the slave device sends an identify response packet 113. The TV/STB requests the next packet from the slave device 114. In a preferred embodiment of the invention, if the slave device responds within 5.6 seconds to the next packet request 115, then the slave device does a memory write to its memory 116. The TV/STB sends another probe
25 request packet to the slave device 117. The slave device does a memory write to the TV/STB that causes the TV/STB to "execute" the instructions within the memory write 118. The TV/STB executes the instructions contained within the memory write from the slave device 119.
30
Stage 2 is the Final Bootstrap stage. FIG. 9 shows the Final Bootstrap process. The final bootstrap stage provides the patch information that is loaded in the third stage. After the successful completion of the Final Bootstrap stage, at least the following items are available: TV screen display that shows real-time download percent complete, watchdog timer
35 (replaces watchdog timer from stage 1);
Get Next packet (suppresses Probe packets from stage 1);
End of stage packet handler (replaces End of stage packet from stage 1); 1 Retry packet; and size of a final patch.
At the beginning of the final bootstrap stage, the TV/STB sends a probe request
5 packet to the slave device 120. In a preferred embodiment of the invention, the TV/STB determines within .5 seconds whether the slave device has responded to the TV/STB 121. If the slave device does respond within .5 seconds, then the slave device does a memory write 122 until the end of the final bootstrap stage 123. At the end of the final bootstrap stage, the
10 instruction within the memory- writes are executed by the TV/STB 124.
FIG. 10 shows the 20-second timer flowchart, which is applicable in a preferred embodiment of the invention. During the final bootstrap stage, if a 20-second timer expires 130, then the bootstrap process returns to the initial bootstrap stage 131, otherwise the ι bootstrap process is proceeding properly 132.
Stage 3 is the Patch Load stage. FIG. 11 shows the patch load stage. The patch load stage arranges the information from the first two stages into usable patch code. At the beginning of the patch load stage, the TV/STB gets a new packet from the slave device 140.
~n The slave device does a memory write from its memory to the TV/STB 141. The TV/STB determines whether the packet has been successfully received by the TV/STB within a timer period 142. In the preferred embodiment of the invention, the timer period is three seconds. If the timer period expires 143, then the packet was not successfully transferred from the slave device to the TV/STB. If the packet is determined to be successfully received, then the
25 timer period is reset 144, the displayed percentage completed on the television screen is incremented 145, and the TV/STB gets the next packet from the slave device 140. When the patch load end of stage is reached 146, the TV/STB goes into a patch load warm reset state. When the timer period expires 143, then the TV/STB determines whether a retry counter is
30 greater than zero 150. The retry counter represents the number of times the TV/STB will retry a packet request because of the timer period expiration. If the retry counter is greater than zero, then the TV/STB will request another packet from the slave device 151. If the retry counter is not greater than zero, then the retry counter has been exhausted and the
35 bootstrap process returns to stage 1, the Initial Bootstrap stage 152.

Claims

1 WHAT IS CLAIMED IS :
1. A consumer electronic device interface for use with a consumer electronic device having a combined serial port and infrared output port, the interface comprising: an infrared remote control transmitter; and a slave peripheral device comprising a serial port connected to the combined serial port and infrared output port;
10 and an infrared driver signal passthrough circuit connected to the serial port and the infrared remote control transmitter.
ι r
2. The system of claim 1 wherein the slave peripheral device comprises a serial debugger.
3. The system of claim 1 wherein the slave peripheral device comprises a
20 demonstration ROM device.
4. The system of claim 1 wherein the slave peripheral device comprises a database expansion device.
25
5. The system of claim 1 wherein the slave peripheral device comprises a modem.
6. A consumer electronic device comprising a combined infrared output and
30 serial port wherein the serial port is capable of communicating with a slave peripheral device.
7. The consumer electronic device of claim 2 wherein software patches are downloaded into the consumer electronic device from the slave peripheral device.
35
8. The consumer electronic device of claim 2 wherein the consumer electronic device is a television.
9. The consumer electronic device of claim 2 wherein the consumer electronic device is a video recorder.
10. The consumer electronic device of claim 2 wherein the consumer electronic device is a television set top box.
11. The consumer electronic device of claim 2 wherein the consumer electronic device is a hard disk video recorder.
12. The consumer electronic device of claim 2 wherein the consumer electronic device is a satellite receiver.
13. The consumer electronic device of claim 2 wherein the consumer electronic device is a cable box.
14. The consumer electronic device of claim 2 wherein the one or more of download instructions and download data comprises a demonstration interactive electronic program guide.
EP00948592A 1999-07-06 2000-07-06 Consumer electronics devices with upgrade capability Withdrawn EP1197084A2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US14265399P 1999-07-06 1999-07-06
US142653P 1999-07-06
PCT/US2000/018594 WO2001002942A2 (en) 1999-07-06 2000-07-06 Consumer electronic devices with upgrade capability

Publications (1)

Publication Number Publication Date
EP1197084A2 true EP1197084A2 (en) 2002-04-17

Family

ID=22500746

Family Applications (1)

Application Number Title Priority Date Filing Date
EP00948592A Withdrawn EP1197084A2 (en) 1999-07-06 2000-07-06 Consumer electronics devices with upgrade capability

Country Status (10)

Country Link
EP (1) EP1197084A2 (en)
JP (1) JP2003507807A (en)
KR (1) KR20020023412A (en)
CN (1) CN1165172C (en)
AU (1) AU763014B2 (en)
BR (1) BR0012738A (en)
CA (1) CA2378551C (en)
HK (1) HK1048412A1 (en)
MX (1) MXPA02000154A (en)
WO (1) WO2001002942A2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003518343A (en) * 1999-05-13 2003-06-03 インデックス システムズ インコーポレイテッド Download system for consumer electronic devices
KR101013615B1 (en) * 2002-04-12 2011-02-10 톰슨 라이센싱 Control circuit
KR100745244B1 (en) 2005-06-20 2007-08-01 엘지전자 주식회사 Apparatus for debugging of embedded system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5914746A (en) * 1995-05-05 1999-06-22 Microsoft Corporation Virtual channels in subscriber interface units
JP3965462B2 (en) * 1995-06-07 2007-08-29 スターサイト・テレキャスト・インコーポレーテッド Television system with downloadable software update information
US5961602A (en) * 1997-02-10 1999-10-05 International Business Machines Corporation Method for optimizing off-peak caching of web data
FI973415A (en) * 1997-08-20 1999-02-21 Nokia Mobile Phones Ltd Portable electronic devices

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See references of WO0102942A2 *

Also Published As

Publication number Publication date
CA2378551A1 (en) 2001-01-11
JP2003507807A (en) 2003-02-25
HK1048412A1 (en) 2003-03-28
AU6206700A (en) 2001-01-22
AU763014B2 (en) 2003-07-10
CA2378551C (en) 2005-05-31
WO2001002942A2 (en) 2001-01-11
CN1369174A (en) 2002-09-11
MXPA02000154A (en) 2002-07-30
WO2001002942A3 (en) 2001-03-22
BR0012738A (en) 2002-06-18
KR20020023412A (en) 2002-03-28
CN1165172C (en) 2004-09-01

Similar Documents

Publication Publication Date Title
JP4091073B2 (en) Home appliance control (CEC) protocol compatible device, CEC command management method, CEC compatible system, and audio / video entertainment system
US5608730A (en) Bi-directional communication system
US6247083B1 (en) Method and apparatus for bi-directionally transferring data between an IEEE 1394 bus and a device to be controlled by a control signal transmitted via the bus
US8260977B2 (en) CEC communications device, audio and visual device using thereof, and CEC communications method
JP2001249802A (en) Transmitting method, transmission system, transmission controller and input device
US8091005B2 (en) Wireless broadcast protocol
US6618832B1 (en) Method and bus interface employing a memory in an intergrated circuit which is used to link a bus with an application device to be controlled by the bus
KR100373617B1 (en) Electronic device and its operation mode control method
US6801966B1 (en) Combined serial and infrared port for consumer electronic devices
KR19990072917A (en) Data communication system, data communication method, data communication apparatus, and digital interface
US5548725A (en) System for transmitting command and/or data in a single packet and automatically reporting status a predetermined time after receiving a command
AU763014B2 (en) Combined serial and infrared port for consumer electronic devices
WO2001006443A1 (en) Method and apparatus for supporting two different types of integrated circuit cards with a single connector
CN101800865B (en) Audio and video receiver
US6643723B1 (en) Method and apparatus for releasing bus control by a device connected to the bus
EP1032177B1 (en) Signal processing apparatus with three layer processing sections
KR100905607B1 (en) Method for gathering alarm in base station system
KR100238483B1 (en) Method for confirming the normal acting state of indoor terminal in video on demand
JP2000270381A (en) Data communication device and data communication system
KR100556934B1 (en) Text control method using link functions of video system
KR100519285B1 (en) Apparatus and method for delaying bus reset
CN111917969A (en) Camera upgrading method and system
JP2003143155A (en) Electronic apparatus and communication system

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20020201

AK Designated contracting states

Kind code of ref document: A2

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LI LU MC NL PT SE

AX Request for extension of the european patent

Free format text: AL;LT;LV;MK;RO;SI

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 20060201