How to log your TV

From Openlgtv
Jump to: navigation, search

If you want to understand a bit more what happen inside your TV or want to ask for help an a particular model/function, a good first step is to log what happens in it, here is how to do that.


The first part of the boot process is at 115200 bps (serial speed) and after main program (RELEASE) launched is 9600 bps, so you can not log continuously without changing main program serial speed so that it is always the same (115200) and thus loggable by a terminal software. The first part of the boot is silent, you will have to make it "speak". Then you will be able to log.


What you'll need :

1/ Serial cable

2/ Terminal software => teraterm : http://ttssh2.sourceforge.jp/

3/ PC (assumed with windows, if linux, use another terminal sw)


Here is how :


1- Changing serial speed of RELEASE

1.1 Connect a serial cable to PC and TV set

1.2 Switch on TV wait for Tv channel being displayed (boot finished)

1.3 Switch on PC, launch terminal sw

1.4 Configure terminal emulateur to open COM port at 9600 bauds

1.5 enter "debug"+press enter, then enter "d"+press enter, work first time ;-)

1.6 You should get a list of menu choice and at the end "1:ORG MAIN $" prompt.

1.7 entre command "51", you should get this menu :


========In-Start Menu Contorl========
[10] In-Start Menu Contorl 

========Factory Adjust ========
[20] Factory Adjust

=====SUMODE Configuration Contorl=====
[40] SUMODE configuration set

To Exit : 0xff
Select Command:

1.8 Enter command "10", you should get this

Select Command: 0x10
[10] ~ [1F]
[10] Module Control Test
[11] PowerOff StatusTest
[12] Temperature Threshold Test
[13] BaudRate Test
[14] PDP Use Timer Test
[15] Pattern Test
[16] Sub BC Test
==============================
To Exit : 0xff
Select Command:

1.9 Enter command "13", you should get this

Select Command: 0x13

2400 | 4800 | 9600 | 14400 | 19200 | 38400 | 57600 | 115200 | 460800 |
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
If you change baud rate, must change your terminal baudrate
To Exit : 0xff

Enter Baud Rate: 0x7

1.10 Enter command "7" (115200) and that's it serial line speed changed. You'll get a message like this :

Chд…„¤cgиb‡
Baudrate Change compleat~!

1.11 Switch off your tv

2- Making first boot stage (U-boot and kernel) "speak"

2.1 Connect a serial cable to PC and TV set

2.2 Switch on PC, launch terminal sw

2.3 Configure terminal emulateur to open COM port at 115200 bauds

2.4 While switching on the TV press "ESC" key in terminal sw continuously

2.5 You should get a prompt like this "mstar#"

2.6 Enter command "silent nothing"

2.7 Then enter command "reboot"

2.8 You should then see all booting process


You are now ready to log the two tests explained in previous message and compare logs or post them.


Arno