<?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>topic Re: Virtual comport cannot detect disconnect in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Virtual-comport-cannot-detect-disconnect/m-p/683667#M27519</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="293120" data-username="kensu" href="https://community.nxp.com/people/kensu"&gt;Ken Su&lt;/A&gt;,&lt;/P&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;the opportunity to serve you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;I wonder whether you can share or tell me the demo you use, then I can replicate the issue on my site.&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;I'm looking forward to your reply.&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;Have a great day,&lt;/DIV&gt;&lt;P&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jun 2017 06:38:30 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2017-06-13T06:38:30Z</dc:date>
    <item>
      <title>Virtual comport cannot detect disconnect</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Virtual-comport-cannot-detect-disconnect/m-p/683666#M27518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , I use the VCOM sample project to make my debug message output from USB Virtual com port. It work.&lt;/P&gt;&lt;P&gt;My evaluation board is MCB1800, I use the "usbd_rom_cdc_vcom" sample project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I find if my PC terminal tool(ex: teraTerm) is close or disconnected. The firmware cannot detect it's already disconnect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to detect if the terminal is already disconnected in the firmware?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems there is no interrupt handler to process the connection is disconnected from PC(connected --&amp;gt; disconnected).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 12:26:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Virtual-comport-cannot-detect-disconnect/m-p/683666#M27518</guid>
      <dc:creator>kensu</dc:creator>
      <dc:date>2017-06-12T12:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual comport cannot detect disconnect</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Virtual-comport-cannot-detect-disconnect/m-p/683667#M27519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="293120" data-username="kensu" href="https://community.nxp.com/people/kensu"&gt;Ken Su&lt;/A&gt;,&lt;/P&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;the opportunity to serve you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;I wonder whether you can share or tell me the demo you use, then I can replicate the issue on my site.&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;I'm looking forward to your reply.&lt;/DIV&gt;&lt;DIV style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff;"&gt;Have a great day,&lt;/DIV&gt;&lt;P&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 06:38:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Virtual-comport-cannot-detect-disconnect/m-p/683667#M27519</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-06-13T06:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual comport cannot detect disconnect</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Virtual-comport-cannot-detect-disconnect/m-p/683668#M27520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, the demo is very simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Cdc_vcom.c code, there si vcom_write API.&lt;/P&gt;&lt;P&gt;I use this API to output debug message, and PC receive it with terminal tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I close the terminal, I hope the firmware can detect the terminal is closed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But "pVcom-&amp;gt;tx_flags &amp;amp; VCOM_TX_CONNECTED" always show it is connected.&lt;/P&gt;&lt;P&gt;This status can not update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way to detect if the PC terminal is closed is that the busy status is keep. So that the firmware may know the terminal is closed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any better method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 01:18:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Virtual-comport-cannot-detect-disconnect/m-p/683668#M27520</guid>
      <dc:creator>kensu</dc:creator>
      <dc:date>2017-06-14T01:18:09Z</dc:date>
    </item>
  </channel>
</rss>

