Page 1 of 2
How to send RS-232 commands
Posted: Wed Jan 20, 2010 3:44 pm
by lever2k2
I am able to connect serially with a homemade EX-LINK cable, and I also receive the "Serial input enabled" message after I type "debug" as the following shows:
Code: Select all
[SERIAL INPUT MANAGE] 1-th ENABLE Magic serial input match!
[SERIAL INPUT MANAGE] 2-th ENABLE Magic serial input match!
[SERIAL INPUT MANAGE] 3-th ENABLE Magic serial input match!
[SERIAL INPUT MANAGE] 4-th ENABLE Magic serial input match!
[SERIAL INPUT MANAGE] 5-th ENABLE Magic serial input match!
[SERIAL INPUT MANAGE] serial input ENABLE!!!!!
But after this, I don't know what to do. How do I send my serial commands to the TV? Nothing happens on the terminal when I press any buttons, except when I type "debug" again. I've been trying with Windows HyperTerminal, but I may just have to try another program.
Re: How to send RS-232 commands
Posted: Wed Jan 20, 2010 5:12 pm
by erdem_ua
You are already send chars/commands to kernel.
If you want do drop down to linux shell, than read the
wiki
Re: How to send RS-232 commands
Posted: Wed Jan 20, 2010 5:59 pm
by lever2k2
erdem_ua wrote:You are already send chars/commands to kernel.
If you want do drop down to linux shell, than read the
wiki
Thank you for replying. I re-read the wiki, and realize I may have just stopped too early. "Enabling" the serial console and "activating" it are two separate things. I only did the "Enable" part. I'll give it another try after work. Thanks again.
Re: How to send RS-232 commands
Posted: Thu Jan 21, 2010 3:55 am
by lever2k2
I went through the steps again, and the only part I am able to get working is the "debug" part. When I type in 1198282 <ENTER> twice, nothing happens.

Frustrating.
Re: How to send RS-232 commands
Posted: Thu Jan 21, 2010 4:03 am
by erdem_ua
Than your device doesn't support debug menu or require another number for enable it. What is your device model and firmware name+version?
You can drop shell via CTRL+C and /mtd_boot/MicomCtrl 23 commands, right?
Re: How to send RS-232 commands
Posted: Thu Jan 21, 2010 4:27 am
by lever2k2
erdem_ua wrote:Than your device doesn't support debug menu or require another number for enable it. What is your device model and firmware name+version?
You can drop shell via CTRL+C and /mtd_boot/MicomCtrl 23 commands, right?
Device Model: UN55b8500
Firwware: T-CHE9AUSC-1009.2
Every terminal program that I use has Ctrl+C as its "copy" function. I've tried HyperTerminal and Hex Com Tool. Nothing happens when I press it. So I never get a chance to try the old method of dropping shell. I've just now tried in ZOC terminal. No success. When exactly am I supposed to press Ctrl+C? I may be pressing it at the wrong time.
Re: How to send RS-232 commands
Posted: Thu Jan 21, 2010 6:04 am
by erdem_ua
CTRL+C is break command at linux, that stops programs at shell.
Timing is not important, if tv showing a channel means exeDSP is running and stopable with CTRL+C.
Anyway, I don't see your firmware before. I cannot find it at Samsung web site too.
Can you enable telnet with SamyGO Telnet Application?
If you can enable telnet, than you can copy your exeDSP to USB dongle than you can inspect it via IDA like disassembler. Or you could send us for inspection.
Than we can found right combination ('119828 like string') for your hardware.
Thanks.
Re: How to send RS-232 commands
Posted: Thu Jan 21, 2010 3:13 pm
by lever2k2
erdem_ua wrote:CTRL+C is break command at linux, that stops programs at shell.
Timing is not important, if tv showing a channel means exeDSP is running and stopable with CTRL+C.
Anyway, I don't see your firmware before. I cannot find it at Samsung web site too.
Can you enable telnet with SamyGO Telnet Application?
If you can enable telnet, than you can copy your exeDSP to USB dongle than you can inspect it via IDA like disassembler. Or you could send us for inspection.
Than we can found right combination ('119828 like string') for your hardware.
Thanks.
Oh ok. I'll try again with a channel showing. I was just doing it with the TV on but no channel data being fed from the set top box.
I'm currently unable to telnet with SamyGO Telnet Application since the new firmware has blocked transfer of files from USB to Games menu. I tried placing it in the "Gallery" with the .dat file edit, but running it caused the screen to go black and never change. The only way to stop the black screen was to press [SOURCE]. So, I'm able to put SamyGO Telnet on my TV, just not in the right place to operate properly.
I have found someone on another forum who received a beta version of my current firmware from Samsung. I'm waiting for his response to my request of a copy. Samsung is purposely keeping the firmware from being public on their website and only pushing it to TVs via network connections. If I get a copy of the firmware from this person I will try to inspect it or send you a copy if I am unable to do so. Thanks.
Re: How to send RS-232 commands
Posted: Fri Jan 22, 2010 2:03 am
by lever2k2
I haven't heard back from the guy about the firmware yet, but I wanted to share something with you that I discovered in my latest terminal session. After typing in "debug", I get the serial enabled message. I then sent a break signal and noticed that I got a 6-th input match message. So I kept pressing the break key and got progressively higher numbers, up to a 10-th match. After that I didn't know what to do, so I tried pasting the /mtd... string, but it only recognized the 'd' as the beginning of "debug" and started the process over again. I've pasted the session below to make it more clear:
Code: Select all
d
[SERIAL INPUT MANAGE] 1-th ENABLE Magic serial input match!
e
[SERIAL INPUT MANAGE] 2-th ENABLE Magic serial input match!
b
[SERIAL INPUT MANAGE] 3-th ENABLE Magic serial input match!
u
[SERIAL INPUT MANAGE] 4-th ENABLE Magic serial input match!
g
[SERIAL INPUT MANAGE] 5-th ENABLE Magic serial input match!
[SERIAL INPUT MANAGE] serial input ENABLE!!!!!
[SERIAL INPUT MANAGE] 6-th ENABLE Magic serial input match!
[SERIAL INPUT MANAGE] 7-th ENABLE Magic serial input match!
[SERIAL INPUT MANAGE] 8-th ENABLE Magic serial input match!
[SERIAL INPUT MANAGE] 9-th ENABLE Magic serial input match!
[SERIAL INPUT MANAGE] 10-th ENABLE Magic serial input match!
/mtd_boot/MicomCtrl 23
[SERIAL INPUT MANAGE] 1-th ENABLE Magic serial input match!
I don't know what to make of this. If this makes any sense to you at all, please let me know. Thanks.
Re: How to send RS-232 commands
Posted: Fri Jan 22, 2010 2:17 am
by erdem_ua
I don't know why but your firmware looks like resisting to break signals.
We cannot make anything since your TV cannot enter to debug menu via 1198282 and resistance to break signals...