Tag Archives: STB

Serial file transfer protocol / checksums

By nidal

Hello ppl,
I’m working on a windows program simulating an existing Unix program,
the program is a firmware downloader, it sends a binary firmware file through the serial port (rs232) to a Set-Top Box running under unix system too, as i’m a poor unix user and not a unix programmer i choosed the hardware way to see how the program sends the file, and i found the next :

(i analysed the communication in hexadecimal form – low level and i will write lines that i didn’t understood as hexadecimal, and commas are not part of data)

1- the Unix PC sends a sort of password and awaits a specefic answer from the STB:
0x18,0x67,0x00,0x16,$,”the file name”,$,00,86,9A,0C

2-the sending process starts :
a-the PC sends this line : 0x18,0x61,0x00,0x04,0x00,0x01,0xFD,0x22
b-this part is recursive and is the essential protocol’s way to send the file:

I-The PC send this line of 12 bytes: 0x17,0xC0,0x1D,0xC3,0x18,0x64,0x04,0x04,0x00,0x00,0x00,0x00
where (what i understood): the first 4 bytes are some checksum, the second are a command (because they are repetitively tge same) and the third 4-bytes refer to the actual position of the file you will see by the next how it incriments.

II-The STB answers with line of 12 bytes : 0x18,0x72,0x00,0x04,0x00,0x00,0x00,0x00,0x45,0x30,0x44,0xB2
same thing, the first 4-bytes is a command (maybe) the second 4 are the loaded size (you will see the incrimentation) and the 3rd is a checksum,

III- The PC sends a block of 1024 bytes of the file
So i think that those 3 steps are : I- the pc send current position of file, II- the card responds with currently loaded size or asks for data and III- the PC sends a block of 1 kbyte data from the file

IV- The PC sends again a line of actual position 0x7F,0xEE,0xB7,0x24,0x18,0x64,0x04,0x04,0x00,0x00,0x04,0x00

V- the STB responds with 0x18, 0x72 ,0x00 ,0x04 ,0x00 ,0x00 ,0x04 ,0x00 ,0x21 ,0x5C ,0x81 ,0xB6

VIThe PC sends the second 1 kb of data

and so on till the file transmission is finished,

why i think that its a checksum? : because i tried the process with 2 different firmwares, if i repeat the operation for the same firmware many times, i find the same commands/headers/checksums in the communication,
and if i change to other firmware i find different checksums, only the incremented blocks are the same.

samples of PC commands (step I- or IV-)
s0[12]={0x17,0xC0,0x1D,0xC3,0x18,0x64,0x04,0x04,0x00,0x00,0x00,0x00},
s1[12]={0x7F,0xEE,0xB7,0x24,0x18,0x64,0x04,0x04,0x00,0x00,0x04,0x00},
s2[12]={0xBB,0xFF,0xED,0xF0,0x18,0x64,0x04,0x04,0x00,0x00,0x08,0x00},
s3[12]={0xB3,0x10,0x2C,0x9B,0x18,0x64,0x04,0x04,0x00,0x00,0x0C,0x00},
s4[12]={0x60,0xD1,0xF3,0xE7,0x18,0x64,0x04,0x04,0x00,0x00,0x10,0x00},
s5[12]={0x01,0x72,0x41,0x18,0x18,0x64,0x04,0x04,0x00,0x00,0x14,0x00},…

samples of STB commands:
t0[12]={0x18, …read more
Source: FULL ARTICLE at The UNIX and Linux Forums

MaxLinear Technology Enables Hybrid Satellite-Terrestrial Set-Top Boxes in Latin America

By Business Wirevia The Motley Fool

Filed under:

MaxLinear Technology Enables Hybrid Satellite-Terrestrial Set-Top Boxes in Latin America

  • MxL683 single-chip silicon tuner-demodulator enables HD local channel reception; reduces satellite operator re-transmission and delivery costs

CARLSBAD, Calif.–(BUSINESS WIRE)– MaxLinear Inc. (NYS: MXL) , a leading provider of integrated radio frequency (RF) and mixed-signal integrated circuits for broadband communications applications, today announced that leading OEMs have selected its MxL683 silicon tuner-demodulator device for new, hybrid satellite + terrestrial set-top boxes (STB) for the Latin America pay TV market.

Pay TV operators in Latin America are increasingly adding ISDB-T 13-segment broadcast receivers into existing satellite STB platforms to capture the growing number of high quality, high definition television (HDTV) channels that are broadcast free-to-air in many cities.

The infrastructure and licensing costs associated with combining and re-transmitting these channels over the existing satellite network can be prohibitively expensive. By integrating the ISDB-T receiver in the STB, satellite operators can free up valuable satellite bandwidth for additional pay TV channels and still offer packages with the “must have” local HD content.

“MxL683 has the best performance of any ISDB-T demod tested to date,” stated Dr. Gunnar Bedicks, Head of Research, Digital TV Laboratory at Mackenzie Presbyterian University. The Mackenzie DTV Lab is considered to be the leading authority on ISDB-T receiver testing in Brazil.

“As the market demand heats up in Latin America, we are pleased to deliver world-class solutions that help the satellite pay TV operators drive the adoption of HD services,” said Brian Sprague, Vice President of Marketing & General Manager at MaxLinear. “The MxL683 has significantly reduced the engineering effort required by our customers to develop hybrid STB solutions.”

Technical Highlights

The MxL683 is a highly integrated, single-chip ISDB-T compliant receiver with best-in-class RF tuner and demodulator performance. The MxL683 offers the highest level of integration and the lowest power consumption of any ISDB-T solution in the market. Unlike other competitive devices, MxL683 has been extensively field-tested and optimized to ensure robust over-the-air TV reception in the difficult terrestrial reception environments commonly found throughout Brazil and other Latin American countries.

In particular, the MxL683 delivers excellent linearity and adjacent channel performance, even in the presence of strong interference signals from satellite harmonics, 4G/LTE mobile, multimedia over coax (MoCA) and …read more
Source: FULL ARTICLE at DailyFinance

Notable Two Hundred Day Moving Average Cross – Student Transportation

By DividendChannel.com

In trading on Friday, shares of Student Transportation Inc (Toronto: STB) crossed below their 200 day moving average of $6.56, changing hands as low as $6.55 per share. Student Transportation Inc shares are currently trading off about 0.3% on the day. The chart below shows the one year performance of STB shares, versus its 200 day moving average: …read more
Source: FULL ARTICLE at Forbes Markets

Kind of reverse engineering

By nidal

Hi everyone,
I’m a linux novice , in a training purpose i have to reconstruct under windows an application running under fedora 14, the application communicates with an STB device through RS232 in a first time and then through ethernet for firmware loading purpose.
All what i know is how to run the application then it shows some informations as “plug the RS232 connecter, restart the STB… ” then if done it proceed to send files through RS232 then it reboot the device then it loads other files through ethernet
What i need is to interpret how it communicates with the device, what commands it sends to the device and what it recieves so i can develop my own application in windows, a sort of reverse engineering.

Can you guys help me please?

…read more
Source: FULL ARTICLE at The UNIX and Linux Forums