<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Kinetis MicrocontrollersのトピックRe: Telnet-to-Serial protocol converter with FNET Stack?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Telnet-to-Serial-protocol-converter-with-FNET-Stack/m-p/206265#M3192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I just stumbled upon your qustion which is already answered.&lt;/P&gt;&lt;P&gt;If it is still relevant, there is an out-of-the-box serial-to-telnet example in MQX 3-8-1.&lt;/P&gt;&lt;P&gt;I do not need exactly this, but it is a good basis for my project and it workes out of the box.&lt;/P&gt;&lt;P&gt;Maybe it still helps,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Dec 2012 10:13:06 GMT</pubDate>
    <dc:creator>martinpi</dc:creator>
    <dc:date>2012-12-13T10:13:06Z</dc:date>
    <item>
      <title>Telnet-to-Serial protocol converter with FNET Stack?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Telnet-to-Serial-protocol-converter-with-FNET-Stack/m-p/206260#M3187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: arial, helvetica, clean, sans-serif; background-color: #ffffff;"&gt;Hi, I'm trying to use FNET Stack on a TWR-K60D100M-KIT system to build a &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;telnet-to-serial protocol converter&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: arial, helvetica, clean, sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: arial, helvetica, clean, sans-serif; background-color: #ffffff;"&gt;I'm studying the structure of this stack: it works very good but actually I'm not able to implement this feature with FNET and I need some help, if possible!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: arial, helvetica, clean, sans-serif; background-color: #ffffff;"&gt;I need a direct telnet to serial and serial translation, without any type of shells or user interfaces. Can I do this with FNET's API or is it not possible?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: arial, helvetica, clean, sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: arial, helvetica, clean, sans-serif; background-color: #ffffff;"&gt;If it's possible, can I have a hint how to do that?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: arial, helvetica, clean, sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: arial, helvetica, clean, sans-serif; background-color: #ffffff;"&gt;Thanks in advance :smileyhappy:&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 09:42:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Telnet-to-Serial-protocol-converter-with-FNET-Stack/m-p/206260#M3187</guid>
      <dc:creator>silentlab54</dc:creator>
      <dc:date>2012-10-02T09:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet-to-Serial protocol converter with FNET Stack?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Telnet-to-Serial-protocol-converter-with-FNET-Stack/m-p/206261#M3188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not clear what exactly you want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TCP to Serial-port bridge? &lt;/P&gt;&lt;P&gt;Run Telnet on serial port? =&amp;gt; it is already done as the Shell service.&lt;/P&gt;&lt;P&gt;You want Telnet, but you do not want command interface? &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px; font-family: Calibri, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 15px; font-family: Calibri, sans-serif;"&gt;Would you describe your system/project in more details?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 12:49:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Telnet-to-Serial-protocol-converter-with-FNET-Stack/m-p/206261#M3188</guid>
      <dc:creator>butok</dc:creator>
      <dc:date>2012-10-02T12:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet-to-Serial protocol converter with FNET Stack?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Telnet-to-Serial-protocol-converter-with-FNET-Stack/m-p/206262#M3189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TCP (or, specifically, Telnet) to serial port bridge is what I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to implement a &lt;EM&gt;Virtual COM&lt;/EM&gt; via TCP or Telnet (PC Side) that interchanges data with a &lt;EM&gt;Real COM&lt;/EM&gt; (TWR-SER RS-232) application.&lt;/P&gt;&lt;P&gt;(obviously, TWR kit makes only the Ethernet-to-Serial Bridge, VCOM software on PC is already up&amp;amp;running).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to do that with FNET shell demo but it don't fits my design idea because &lt;EM&gt;I need to implement a "raw" conversion&lt;/EM&gt; (absolutely no shells on serial port, which is dedicated a specific use).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help :smileyhappy:.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 13:02:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Telnet-to-Serial-protocol-converter-with-FNET-Stack/m-p/206262#M3189</guid>
      <dc:creator>silentlab54</dc:creator>
      <dc:date>2012-10-02T13:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet-to-Serial protocol converter with FNET Stack?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Telnet-to-Serial-protocol-converter-with-FNET-Stack/m-p/206263#M3190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just want to confirm, the FNET does not have out of the box solution for the Serial-Ethernet Bridge.&lt;/P&gt;&lt;P&gt;You should take existing services and modify them to follow your needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 13:15:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Telnet-to-Serial-protocol-converter-with-FNET-Stack/m-p/206263#M3190</guid>
      <dc:creator>butok</dc:creator>
      <dc:date>2012-10-02T13:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet-to-Serial protocol converter with FNET Stack?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Telnet-to-Serial-protocol-converter-with-FNET-Stack/m-p/206264#M3191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are various products using TELNET/UART converters based on the uTasker project (it allows Telnet/raw mode IPv4/v6 client/server connections as well as IPv4/v6 FTP client/UART) - eg:&amp;nbsp; &lt;A href="http://www.xmodus.ch/Downloads/AL6000S/AL6000S-D00-112.pdf" title="http://www.xmodus.ch/Downloads/AL6000S/AL6000S-D00-112.pdf"&gt;http://www.xmodus.ch/Downloads/AL6000S/AL6000S-D00-112.pdf&lt;/A&gt; (this example doesn't support IPv6 but has a complete user's manual that helps understand the possibilites).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is however quite easy to do UART/TCP on any TCP socket by simply sending received data from the socket to the UART and sending received UART data to the socket. Sockets are usually classed as TELNET or raw mode depending on whether they do any Telnet IAC negotiation or require IAC scanning of the data stream (not needed if pure binary).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other tricks that need to be used in a complete product is to solve end-to-end flow control; the Ethernet connection is much faster than UART so the remaining UART buffer size needs to be advertised as TCP reception buffer size so that TCP flow control and UART flow control are synchronised; and there is usually a TCP transmit strategy based on either a certain number of characters from the UART being ready or else a smaller number waiting with a time out occurring. This is used to avoid sending each UART reception byte as a single TCP frame in an attempt to packetise them in larger frames, but with a maximum delay before sending.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. This has also been used on Kinetis and Coldfire&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 17:39:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Telnet-to-Serial-protocol-converter-with-FNET-Stack/m-p/206264#M3191</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2012-10-02T17:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet-to-Serial protocol converter with FNET Stack?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Telnet-to-Serial-protocol-converter-with-FNET-Stack/m-p/206265#M3192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I just stumbled upon your qustion which is already answered.&lt;/P&gt;&lt;P&gt;If it is still relevant, there is an out-of-the-box serial-to-telnet example in MQX 3-8-1.&lt;/P&gt;&lt;P&gt;I do not need exactly this, but it is a good basis for my project and it workes out of the box.&lt;/P&gt;&lt;P&gt;Maybe it still helps,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 10:13:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Telnet-to-Serial-protocol-converter-with-FNET-Stack/m-p/206265#M3192</guid>
      <dc:creator>martinpi</dc:creator>
      <dc:date>2012-12-13T10:13:06Z</dc:date>
    </item>
  </channel>
</rss>

