Page 1 of 2

UA40F6400 hardware/UART/EXlink

Posted: Sat Oct 26, 2013 6:01 pm
by levi
Hi all,
Today I've opened my TV and found some interesting stuff to share with.
My intention to open TV was to solder debug cable but i've found that actually no soldering required (at least in my TV). Moreover there is no need to open TV at all!
The DEBUG/UART/SERIAL/EXLink interface is available at USB port marked as camera (see photo).
You can see full sized photo of main board here
Here is full power cycle log from serial console. If i understood right it is quite verbose compared to ones posted by other people. I've set Console mode to debug from SM, could it be related to verbos output or i am wrong?
SpoilerShow
Image

Re: UA40F6400 hardware/UART/EXlink

Posted: Mon Oct 28, 2013 12:16 pm
by juusso
Thanks, we need to move this to the wiki. Just need some more confirmations on which models this does work.

Re: UA40F6400 hardware/UART/EXlink

Posted: Mon Oct 28, 2013 1:10 pm
by levi
we need to move this to the wiki
That will be great!
BTW i have more high resolution photos of mainboard without heatsink, i can share them too if anyone interested.

Re: UA40F6400 hardware/UART/EXlink

Posted: Mon Oct 28, 2013 3:03 pm
by juusso
levi wrote:BTW i have more high resolution photos of mainboard without heatsink, i can share them too if anyone interested.
sure we want :)

Re: UA40F6400 hardware/UART/EXlink

Posted: Tue Oct 29, 2013 9:51 am
by levi
Here are some pictures, I will add back side of the board at the weekend...
Flash area - https://db.tt/NiPdvanO
Header area - https://db.tt/uOXiQjlA
Satellite chips - https://db.tt/r568ClK4

Re: UA40F6400 hardware/UART/EXlink

Posted: Sat Nov 02, 2013 2:16 pm
by levi
Finally, the back side of motherboard.

Re: UA40F6400 hardware/UART/EXlink

Posted: Wed Nov 13, 2013 2:34 pm
by Tamagnun
As shown in the attached photo, my TV PS64F8500 has the SERVICE PORT in 3,5" stereo jack format, so I think I've to prepare the ExLink cable using my Nokia DLR-5 cable ;) and a stereo male jack, isn't it? In addition, my TV hasn't the CAMERA USB port (camera is embedded)...

If OK, when the serial connection will be opened, what I'll be able to do by using it? Any guide available on the forum?

Thank you for your help and suggestions!
Ciao

Re: UA40F6400 hardware/UART/EXlink

Posted: Sun Nov 24, 2013 12:39 am
by bugficks
levi, did you change anything else in service menu beside "uart:debug" and "watchdog:off" ? like setting "USB Serial: Off" to "On" ?

@Tamagnun
just search wiki for 3.5 exlink.

Re: UA40F6400 hardware/UART/EXlink

Posted: Sun Nov 24, 2013 9:32 pm
by rg2013
Sorry for any inconvinience. first post ever.
My congratulations to all your good work.
@bugficks
Got my first serial log running.
What I did:
power off
info menu mute power // on standard remote
control - sub option - rs232jack:debug, watchdog:off usbserial:ON
confirmed all changes with enter button
exited with return button
POWER off

started sudo su // on ubuntu 12.04lts
// recognize the difference. I especially mentioned the usbport!!! (that had been my first mistake, so nothing happend)
minicom -D /dev/ttyUSB0

POWER on // TV remote

thats it with a very verbose console in my
(get lucky)

My Hardware:
ftdi usbtoserial uart breakoutboard.
ftdi RX ----- TV camera USB TX
ftdi TX ------ TV camera USB RX
ftdi GND ---- TV camera USB GND

linux notebook ubuntu 12.04lts
sudo apt-get install minicom

SAMSUNG TV 32F5570 / t-mst12deuC-1113.0 / t-mst12deus-1009
wlan and ethernet included without camera, no bluetooth
Hope I could help.


P.S. Forgot to mention. Uart level switched by Hardwarejumper on sparkfun breakout board was 3.3V.

Re: UA40F6400 hardware/UART/EXlink

Posted: Mon Nov 25, 2013 12:49 am
by bugficks
setting usb to serial in SM seems to do the trick. connected raspberry pi serial straight to cam port (w/o TTL converter). now i have a wireless connection to tv console, sweet :)

Code: Select all

$cu -l /dev/ttyAMA0 -s 115200
Connected.
[WebKit Core Debug] [void WebCore::GLContext::swapBuffers():898] < 11 frames / 10.006887 fps : url=file://localhost/mtd_down/widgets/manager/10130000000/index.html.s >
i guess once usb is set to serial in SM one has to take care not to plugin regular USB device into cam port.