<?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>LPC Microcontrollers中的主题 Re: lpc54608 usb1 cdc</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54608-usb1-cdc/m-p/962671#M38131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello zhang,&lt;/P&gt;&lt;P&gt;thank you for your help.&amp;nbsp; i am able to build and have the demo running.&amp;nbsp; i would like to combine now the "hello world" example with the virtual com example, since hello world has the printf working with the debug console.&amp;nbsp; unfortunately, i'm not see a straighforward way to do this.&amp;nbsp; i have found 2 different threads (&amp;nbsp;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #666666;"&gt;&lt;A href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.nxp.com%2Fthread%2F458760%3Fet%3Dnotification.send&amp;amp;data=02%7C01%7Ceileen.radzwion%40ie.abb.com%7Cbd342272d22b461df0fa08d74746a5f6%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C637056241065401975&amp;amp;sdata=0dkhrfGgRIspRxXD6RTBZAI4oJCjuEHLt9cUmcA2Zxw%3D&amp;amp;reserved=0"&gt;https://community.nxp.com/thread/458760&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;and&amp;nbsp;&lt;A _jive_internal="true" data-containerid="11234" data-containertype="14" data-content-finding="Community" data-objectid="435033" data-objecttype="1" href="https://community.nxp.com/thread/435033" style="color: #3d9ce7; background-color: #ffffff; border: 0px; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;How to use CDC VCOM example with printf?&lt;/A&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt; ) but they are not quite the same since they are referring different line of microcontrollers, and as the latest version is 2.6.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Oct 2019 14:44:41 GMT</pubDate>
    <dc:creator>eileen_radzwion</dc:creator>
    <dc:date>2019-10-02T14:44:41Z</dc:date>
    <item>
      <title>lpc54608 usb1 cdc</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54608-usb1-cdc/m-p/962665#M38125</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;i am trying to configure usb1 for hs usb cdc mode on a prototyped board using the lpc54608.&amp;nbsp;&lt;/P&gt;&lt;P&gt;starting&amp;nbsp;from dev_cdc_vcom_lite_bm,&amp;nbsp; I have set serial_port_type_usbcdc =&amp;nbsp; 1, and usb_device_config_lpcip3511hs =1, while setting &lt;/P&gt;&lt;P&gt;#define USB_DEVICE_CONFIG_LPCIP3511FS (0u)&lt;/P&gt;&lt;P&gt;#define SERIAL_PORT_TYPE_UART (0U)&lt;/P&gt;&lt;P&gt;these are defined in serial_manager.h and usb_device_config.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the first problem to arise is that, upon setting the port type to usbcdc rather than uart, I am unable to build.&amp;nbsp; second, if I prevent&amp;nbsp;error from happening, I am still unable to connect.&amp;nbsp; so, I am wondering, what steps am I missing to configure usb1 for cdc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how I prevent (//commented out code is what came with sdk; my my modification is below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*******************************************************************************&lt;BR /&gt;&amp;nbsp;* Definitions&lt;BR /&gt;&amp;nbsp;******************************************************************************/&lt;BR /&gt;#ifdef DEBUG_CONSOLE_TRANSFER_NON_BLOCKING&lt;BR /&gt;#define SERIAL_MANAGER_NON_BLOCKING_MODE \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (1U) /* Enable or disable serial manager non-blocking mode (1 - enable, 0 - disable) */&lt;BR /&gt;#else&lt;BR /&gt;#ifndef SERIAL_MANAGER_NON_BLOCKING_MODE&lt;BR /&gt;#define SERIAL_MANAGER_NON_BLOCKING_MODE \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0U) /* Enable or disable serial manager non-blocking mode (1 - enable, 0 - disable) */&lt;BR /&gt;#endif&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;#ifndef SERIAL_PORT_TYPE_UART&lt;BR /&gt;#define SERIAL_PORT_TYPE_UART (1U) /* Enable or disable uart port (1 - enable, 0 - disable) */&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;#ifndef SERIAL_PORT_TYPE_USBCDC&lt;BR /&gt;#define SERIAL_PORT_TYPE_USBCDC (0U) /* Enable or disable USB CDC port (1 - enable, 0 - disable) */&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;#ifndef SERIAL_PORT_TYPE_SWO&lt;BR /&gt;#define SERIAL_PORT_TYPE_SWO (0U) /* Enable or disable SWO port (1 - enable, 0 - disable) */&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;#if (defined(SERIAL_MANAGER_NON_BLOCKING_MODE) &amp;amp;&amp;amp; (SERIAL_MANAGER_NON_BLOCKING_MODE &amp;gt; 0U))&lt;BR /&gt;#define SERIAL_MANAGER_WRITE_HANDLE_SIZE (44U)&lt;BR /&gt;#define SERIAL_MANAGER_READ_HANDLE_SIZE (44U)&lt;BR /&gt;#else&lt;BR /&gt;#define SERIAL_MANAGER_WRITE_HANDLE_SIZE (4U)&lt;BR /&gt;#define SERIAL_MANAGER_READ_HANDLE_SIZE (4U)&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;#if (defined(SERIAL_PORT_TYPE_UART) &amp;amp;&amp;amp; (SERIAL_PORT_TYPE_UART &amp;gt; 0U))&lt;BR /&gt;#include "serial_port_uart.h"&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;#if (defined(SERIAL_PORT_TYPE_USBCDC) &amp;amp;&amp;amp; (SERIAL_PORT_TYPE_USBCDC &amp;gt; 0U))&lt;/P&gt;&lt;P&gt;//#if !(defined(SERIAL_MANAGER_NON_BLOCKING_MODE) &amp;amp;&amp;amp; (SERIAL_MANAGER_NON_BLOCKING_MODE &amp;gt; 0U))&lt;BR /&gt;#if !(SERIAL_MANAGER_NON_BLOCKING_MODE &amp;gt; 0U)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //edited&lt;BR /&gt;#error The serial manager blocking mode cannot be supported for USB CDC.&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;#include "serial_port_usb.h"&lt;BR /&gt;#endif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2019 18:37:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54608-usb1-cdc/m-p/962665#M38125</guid>
      <dc:creator>eileen_radzwion</dc:creator>
      <dc:date>2019-09-23T18:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: lpc54608 usb1 cdc</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54608-usb1-cdc/m-p/962666#M38126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I need reproduce first, which IDE do you work with and what is your SDK version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jun Zhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2019 04:15:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54608-usb1-cdc/m-p/962666#M38126</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-09-25T04:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: lpc54608 usb1 cdc</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54608-usb1-cdc/m-p/962667#M38127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have just downloaded the latest SDK to see if that helped, so that is 2.6.&amp;nbsp; I am using IAR embedded workbench.&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2019 09:52:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54608-usb1-cdc/m-p/962667#M38127</guid>
      <dc:creator>eileen_radzwion</dc:creator>
      <dc:date>2019-09-25T09:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: lpc54608 usb1 cdc</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54608-usb1-cdc/m-p/962668#M38128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="336308" data-username="eileen.radzwion@ie.abb.com" href="https://community.nxp.com/people/eileen.radzwion@ie.abb.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;Eileen Radzwion&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Just tested SDK2.6.0&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;dev_cdc_vcom_lite_bm demo with IAR.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The default demo use FS USB0 as composite VCOM. In order to change to HS USB1, I modify USB config setting as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/88724i9E5D165A42D8F8F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rebuild the project and download. USB1 can be recognized as two VCOMs.&lt;/P&gt;&lt;P&gt;See my attached testing video.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2019 07:02:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54608-usb1-cdc/m-p/962668#M38128</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-09-26T07:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: lpc54608 usb1 cdc</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54608-usb1-cdc/m-p/962669#M38129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie,&lt;/P&gt;&lt;P&gt;if you refer to my original post - i describe doing just that, but i am unable to connect still. i have now tried multiple different projects in the sdk download, and nothing improves the situation.&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2019 09:57:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54608-usb1-cdc/m-p/962669#M38129</guid>
      <dc:creator>eileen_radzwion</dc:creator>
      <dc:date>2019-09-26T09:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: lpc54608 usb1 cdc</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54608-usb1-cdc/m-p/962670#M38130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your previous email, you said you were not able to build. If you can make the project pass build. please follow the video to pass build first.&lt;/P&gt;&lt;P&gt;If build successfully, make sure you choose the correct debugger driver. For example, I use CMSIS DAP interface, I set driver as CMSIS DAP.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82852i9094871F7609C4E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2019 03:42:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54608-usb1-cdc/m-p/962670#M38130</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-09-27T03:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: lpc54608 usb1 cdc</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54608-usb1-cdc/m-p/962671#M38131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello zhang,&lt;/P&gt;&lt;P&gt;thank you for your help.&amp;nbsp; i am able to build and have the demo running.&amp;nbsp; i would like to combine now the "hello world" example with the virtual com example, since hello world has the printf working with the debug console.&amp;nbsp; unfortunately, i'm not see a straighforward way to do this.&amp;nbsp; i have found 2 different threads (&amp;nbsp;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #666666;"&gt;&lt;A href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.nxp.com%2Fthread%2F458760%3Fet%3Dnotification.send&amp;amp;data=02%7C01%7Ceileen.radzwion%40ie.abb.com%7Cbd342272d22b461df0fa08d74746a5f6%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C637056241065401975&amp;amp;sdata=0dkhrfGgRIspRxXD6RTBZAI4oJCjuEHLt9cUmcA2Zxw%3D&amp;amp;reserved=0"&gt;https://community.nxp.com/thread/458760&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;and&amp;nbsp;&lt;A _jive_internal="true" data-containerid="11234" data-containertype="14" data-content-finding="Community" data-objectid="435033" data-objecttype="1" href="https://community.nxp.com/thread/435033" style="color: #3d9ce7; background-color: #ffffff; border: 0px; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;How to use CDC VCOM example with printf?&lt;/A&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt; ) but they are not quite the same since they are referring different line of microcontrollers, and as the latest version is 2.6.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2019 14:44:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54608-usb1-cdc/m-p/962671#M38131</guid>
      <dc:creator>eileen_radzwion</dc:creator>
      <dc:date>2019-10-02T14:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: lpc54608 usb1 cdc</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54608-usb1-cdc/m-p/962672#M38132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eileen.&lt;/P&gt;&lt;P&gt;Good to know your previous issue has been solved.&lt;/P&gt;&lt;P&gt;I am on leave this week.&lt;/P&gt;&lt;P&gt;I believe this combination issue is a new question, so I suggest you create a new thread for it.&lt;/P&gt;&lt;P&gt;Thus our other support could be able to see it. Thanks for your understanding.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2019 08:24:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc54608-usb1-cdc/m-p/962672#M38132</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-10-03T08:24:07Z</dc:date>
    </item>
  </channel>
</rss>

