Ex-Link Cable for J/K/M/Q/N/QN Series
Wired Ex-Link cable
On some J/K-series TV and on M/Q series Tv`s, Ex-Link port is located on the separate 3.5mm jack labelled as "EX-LINK".
On Q series Ex-Link port is located on bottom of OneConect box, next to CI slot.
In this case, you need to make Ex-link cable by connecting JACK male to the USB-COM adapter (not TTL/LVTTL) as shown below.
Or you can use regular COM port, if your PC have it, but in this case you have to connect pins in reverse order (from left to right) as shown below. You need 2, 3 and 5 pin.
If your PC does not have COM port (like many pc`s nowadays), you can use cheap USB to RS232 COM Port Serial PDA 9 pin DB9 Cable Adapter .
USB Ex-Link cable
Tested on UE32K5502 TV. On other TV models there may be differences.
First you need enable USB Ex-Link for your TV in service menu. Try sequence
Info -> Menu -> Mute -> Power or
Info -> Settings -> Mute -> Power when TV turned off (may not work). Other way - if you have root, you can start service menu with command
In service menu, go to Control -> Sub Option, change
RS-232 Jack - Debug,
EXT Link Support - ON,
USB Serial - ON. You can also set
Watchdog - OFF. On the other TV model, these options can be in another place of the service menu.
My TV have USB ExLink UART with 0V/3.3V voltage level. Not RS232 which can have -25V/+25V voltage level - see https://www.electronics-notes.com/articles/connectivity/serial-data-communications/rs232-signal-voltage-levels.php
Maybe other models will be with RS232, so it's better to check voltage before plugging something in Ex-Link enabled USB port. You accept that you do everything at YOUR OWN RISK.
After making changes in the service menu, one of USB port will stop work like USB (TV will not detect flash drive plugged in it) - this USB port you need to use. Yon need some USB-UART 3.3V - like Nokia data cable CA-42/DKU-5. Connect UART wires to USB wires:
TV USB GND to GND UART TV USB DATA- to RX UART TV USB DATA+ to TX UART
Start the terminal
On a Linux PC, install 'cu' (call up) tool from the uucp package and run
cu -l /dev/ttyUSB0 -s 115200