<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://ess-wiki.advantech.com.tw/wiki/index.php?action=history&amp;feed=atom&amp;title=IDP%2FRS-232</id>
		<title>IDP/RS-232 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://ess-wiki.advantech.com.tw/wiki/index.php?action=history&amp;feed=atom&amp;title=IDP%2FRS-232"/>
		<link rel="alternate" type="text/html" href="https://ess-wiki.advantech.com.tw/wiki/index.php?title=IDP/RS-232&amp;action=history"/>
		<updated>2026-05-14T17:39:44Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.3</generator>

	<entry>
		<id>https://ess-wiki.advantech.com.tw/wiki/index.php?title=IDP/RS-232&amp;diff=429&amp;oldid=prev</id>
		<title>Winston: Created page with &quot; {Note: This test procedure uses a half-duplex RS232-USB converter cable for connecting the target and host systems.  --&gt;A PUTTY or similar software will be required for this...&quot;</title>
		<link rel="alternate" type="text/html" href="https://ess-wiki.advantech.com.tw/wiki/index.php?title=IDP/RS-232&amp;diff=429&amp;oldid=prev"/>
				<updated>2016-02-17T08:34:13Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; {Note: This test procedure uses a half-duplex RS232-USB converter cable for connecting the target and host systems.  --&amp;gt;A PUTTY or similar software will be required for this...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; {Note: This test procedure uses a half-duplex RS232-USB converter cable for connecting the target and host systems.&lt;br /&gt;
 --&amp;gt;A PUTTY or similar software will be required for this test. &lt;br /&gt;
 --&amp;gt;This test procedure assumes BIOS, or any hardware jumper settings are configured properly to have the ports under test behave as Serial/RS232 ports}&lt;br /&gt;
 &lt;br /&gt;
 1. We test the RS232 port on the target board by connecting a RS232-USB converter cable from target to a host system and transfer data(messages) between the both systems (target and host)&lt;br /&gt;
&lt;br /&gt;
 2. Next,  Manually examine the target board for all the available Serial ports (COM ports)&lt;br /&gt;
&lt;br /&gt;
 3. Boot into the target system using a VGA/PuTTY software (target IP address) for the terminal display(with serial line speed of 115200 in PuTTY).&lt;br /&gt;
&lt;br /&gt;
 4. Now, connect the target system(RS232) to a host sytem (USB) using a RS232-USB cable. On the host, find the appropriate usb device it is connected on (say /dev/ttyUSB*) and modify the &lt;br /&gt;
       access permissions to 777:&lt;br /&gt;
&lt;br /&gt;
  $ sudo chmod 777 -v /dev/ttyUSBx&lt;br /&gt;
&lt;br /&gt;
 5. The speed we select in putty terminal for RS232 connection should match the baud rate of the RS232 of target. Check the baud rate of a RS232 device in target by the following command:(assuming ttyS0 is the device for RS232 port as reference)&lt;br /&gt;
  $ stty -F /dev/ttyS0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 6. From the host, create a Putty terminal to the target through the USBx device we just created&lt;br /&gt;
  select Serial line: /dev/ttyUSBx&lt;br /&gt;
  Speed: 9600&lt;br /&gt;
&lt;br /&gt;
 7. We still need to know which RS232 port belongs to which /dev/ttyS* device. From the target terminal echo a message into each of the ttyS* devices and see which device prints the message in  &lt;br /&gt;
    the host putty terminal&lt;br /&gt;
&lt;br /&gt;
  $ echo &amp;quot;message&amp;quot; &amp;gt; /dev/ttyS*&lt;br /&gt;
&lt;br /&gt;
 8. Once you find out which (ttyS*)device is used for your RS232 port, you can now read from host by using &amp;quot;cat&amp;quot; on the target&lt;br /&gt;
&lt;br /&gt;
  $ cat /dev/ttyS* &lt;br /&gt;
&lt;br /&gt;
 {Note: replace * by the correct number: 0, 1, 2, etc.. }&lt;br /&gt;
 Now, when you type on the host terminal, you should be able to see that message on the target's terminal.&lt;br /&gt;
 &lt;br /&gt;
 9. If you can both echo (write out) and cat (read in) messages from a RS232 port, then this test is a PASS.&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
RESULT&lt;br /&gt;
&lt;br /&gt;
  Use the web interface to report that if this manual test passed/failed&lt;/div&gt;</summary>
		<author><name>Winston</name></author>	</entry>

	</feed>