<?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: vcom_connected() == FALSE Ubuntu Linux 14.04 - Use USB for Serial Monitor in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/vcom-connected-FALSE-Ubuntu-Linux-14-04-Use-USB-for-Serial/m-p/554740#M14818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Jun 2016 01:05:46 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-19T01:05:46Z</dc:date>
    <item>
      <title>vcom_connected() == FALSE Ubuntu Linux 14.04 - Use USB for Serial Monitor</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/vcom-connected-FALSE-Ubuntu-Linux-14-04-Use-USB-for-Serial/m-p/554739#M14817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by a_bet on Fri Mar 18 07:14:02 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm new to lpcxpresso and to the arm world. I've bought a lpcxpresso 43s37 board, which is doing fine with all the lpcopen examples i've tried.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to do some ADC and dsplay the data I'd like to set up the serial monitor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sadly I don't have a usb-uart adaptor so I'm trying to use the vcom on J5 as said in the docs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I build and debug the &lt;/SPAN&gt;&lt;STRONG&gt;usbd_rom_cdc_vcom example&lt;/STRONG&gt;&lt;SPAN&gt; from the LPCOpen folder everything seems ok, and the debug console gives no error. But the simply anything happens: no &lt;/SPAN&gt;&lt;I&gt;Hello World&lt;/I&gt;&lt;SPAN&gt; printed on the Console.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Observing the Step Over execution I noticed that &lt;/SPAN&gt;&lt;STRONG&gt;the 1st if statement in the superloop is always false&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The superloop is as follows&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;while (1) {&lt;BR /&gt;/* Check if host has connected and opened the VCOM port */&lt;BR /&gt;if ((vcom_connected() != 0) &amp;amp;&amp;amp; (prompt == 0)) {&lt;BR /&gt;vcom_write("Hello World!!\r\n", 15);&lt;BR /&gt;prompt = 1;&lt;BR /&gt;}&lt;BR /&gt;/* If VCOM port is opened echo whatever we receive back to host. */&lt;BR /&gt;if (prompt) {&lt;BR /&gt;rdCnt = vcom_bread(&amp;amp;g_rxBuff[0], 256);&lt;BR /&gt;if (rdCnt) {&lt;BR /&gt;vcom_write(&amp;amp;g_rxBuff[0], rdCnt);&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;/* Sleep until next IRQ happens */&lt;BR /&gt;__WFI();&lt;BR /&gt;}&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, it seems that the VCOM is actually NOT connected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Since in the readme.txt is given no advice for linux users I'm quie stuck at this point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any hint woulb be higly appreciated,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:39:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/vcom-connected-FALSE-Ubuntu-Linux-14-04-Use-USB-for-Serial/m-p/554739#M14817</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: vcom_connected() == FALSE Ubuntu Linux 14.04 - Use USB for Serial Monitor</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/vcom-connected-FALSE-Ubuntu-Linux-14-04-Use-USB-for-Serial/m-p/554740#M14818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:05:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/vcom-connected-FALSE-Ubuntu-Linux-14-04-Use-USB-for-Serial/m-p/554740#M14818</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-19T01:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: vcom_connected() == FALSE Ubuntu Linux 14.04 - Use USB for Serial Monitor</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/vcom-connected-FALSE-Ubuntu-Linux-14-04-Use-USB-for-Serial/m-p/554741#M14819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any one faced this issue? Whats the cause?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rishit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2017 17:21:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/vcom-connected-FALSE-Ubuntu-Linux-14-04-Use-USB-for-Serial/m-p/554741#M14819</guid>
      <dc:creator>rishitborad</dc:creator>
      <dc:date>2017-06-07T17:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: vcom_connected() == FALSE Ubuntu Linux 14.04 - Use USB for Serial Monitor</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/vcom-connected-FALSE-Ubuntu-Linux-14-04-Use-USB-for-Serial/m-p/554742#M14820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can remove the hello world statement. &lt;/P&gt;&lt;P&gt;what code does is, when you open the port and send first string it sends back to host and afterwords it enter into the command transmitting loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in Linux you can install screen and try to send any char it will send back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope it works, let me know if you have any question.+&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2019 13:50:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/vcom-connected-FALSE-Ubuntu-Linux-14-04-Use-USB-for-Serial/m-p/554742#M14820</guid>
      <dc:creator>monparahimanshu</dc:creator>
      <dc:date>2019-04-29T13:50:31Z</dc:date>
    </item>
  </channel>
</rss>

