<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22154/question-about-the-usb-cdc-acm-example</link><description>Hi, before buying the PCA10056 kit, I have some questions about the USB CDC ACM example. 
 
 I&amp;#39;m new to the USB CDC ACM. 
 
 At the Infocenter , it says that 
 This example shows how to use the CDC ACM USB class, commonly known as Virtual COM port</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Feb 2022 16:48:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22154/question-about-the-usb-cdc-acm-example" /><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/353695?ContentTypeID=1</link><pubDate>Thu, 17 Feb 2022 16:48:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:637e4853-f90d-4ea8-bafd-e5ef01235205</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Sami&lt;/p&gt;
&lt;p&gt;Did you test the standard CDC only example?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is this working well while the combined example is not?&lt;/p&gt;
&lt;p&gt;Anyway please open a new ticket on this. The devzone system is not really designed to handle multiple problems in the same ticket.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As long as you mention my example I am sure it will be assigned to me ;)&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/353500?ContentTypeID=1</link><pubDate>Thu, 17 Feb 2022 05:34:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bb32e50-b559-4edf-88dd-094dcfab5a2c</guid><dc:creator>Sami Ul Haq</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Hello Sir, I hope this message finds you well. Sir, I have implemented MSC and CDC functionality as per your nice instruction listed in #usbd_msc_cdc_asm_hands_on.zip. When I compile my program, it shows me the Mass storage and also virtual COM port(which I am looking for) but the problem is that when I am trying to open the virtual COM port in putty it shows me an error as you can see in an attached picture. And one other issue is that after some time, both virtual COM Port and Mass Storage got disconnected on their own. I don&amp;#39;t know what&amp;#39;s the problem, Any help regarding this will be very appreciated. &lt;br /&gt;I am using nRF5_SDK_17.0.2_d674dde and NRF52840.&lt;/p&gt;
&lt;p&gt;Regards: SamiUlHaq&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/322387.PNG" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/4807.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/239686?ContentTypeID=1</link><pubDate>Fri, 13 Mar 2020 10:38:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a1947bd-f3c2-4320-b7ab-ff95165ab4ff</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Ryan&lt;/p&gt;
&lt;p&gt;These hands on examples are mostly one off examples made for a particular training session, and not considered official Nordic deliveries.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you search for hands_on on the NordicPlayground github account you will find a couple, and my colleague Bjørn made a really good Bluetooth service tutorial some years ago that he put on his personal Github account:&lt;br /&gt;&lt;a href="https://github.com/bjornspockeli/custom_ble_service_example"&gt;https://github.com/bjornspockeli/custom_ble_service_example&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It is important to note that many of these hands on examples are quite old, running on old SDK versions, and they are not actively maintained.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/239413?ContentTypeID=1</link><pubDate>Wed, 11 Mar 2020 20:56:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2dd536e1-003b-4d58-80fe-972f005cce41</guid><dc:creator>ryerye120</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you so much for the in depth response. The hands_on_solution&amp;#39;s readme is really useful. Are there more of these readmes/hands_on_solutions?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Ryan&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/174957?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2019 08:41:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d98e8bbb-04ed-4288-b5d9-3efcb6232874</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Jeff&lt;/p&gt;
&lt;p&gt;Thanks for the patience and the kind words ;)&lt;/p&gt;
&lt;p&gt;To save some time I didn&amp;#39;t copy in all the fatfs functionality from the MSC example when I set up the project. I only copied the basic USB configuration and setup. This is probably the reason why you can&amp;#39;t properly use the drives.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you compare the main.c file to that of the usbd_msc example you will see that it runs some fatfs initialization code before the USB is initialized:&lt;/p&gt;
&lt;p&gt;&lt;em&gt; if (fatfs_init())&lt;/em&gt;&lt;br /&gt;&lt;em&gt; {&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&amp;nbsp; &amp;nbsp; fatfs_ls();&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&amp;nbsp; &amp;nbsp; fatfs_file_create();&lt;/em&gt;&lt;br /&gt;&lt;em&gt; }&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Also, there are various function triggered by button presses for doing things like creating new files or listing the existing ones.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try to copy in this code from the example and see if it works as expected. If you are having issues with it just let me know, and I will take a look myself.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/174903?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2019 21:19:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9a5f0c9-8070-44ed-8b2b-1811efecd017</guid><dc:creator>JeffW</dc:creator><description>&lt;p&gt;&lt;span&gt;Torbj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Your thorough&amp;nbsp;response is well worth the wait! :)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I was able to run the project you provided. It seems to show up as a COM port and USB MSC as expected. However, I had issues actually trying to use the file storage part of the application. The drive successfully mounted but I wasn&amp;#39;t able to write files or open it the drive.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It may have been an issue on my side but, when I tried to implement the interface&amp;nbsp;change you listed on my project previously posted, I came across the same results.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I would be very curious if that portion works on your end.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for your extended help,&lt;br /&gt;&lt;/span&gt;&lt;span&gt;Jeff&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/174534?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 12:31:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f61a48a-8785-4de1-a536-c864e6ff7656</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;Apparently&amp;nbsp;the problem with my example was a conflict with the interfaces. By changing the interface assigned to the MSC class from 0 to 2 I was able to get it to work:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-37709267d5534f1796e10a81b983da86/DZ122153_5F00_190305_5F00_usbd_5F00_cdc_5F00_acm.zip"&gt;DZ122153_190305_usbd_cdc_acm.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Can you please give my example a try and see if it enumerates successfully both the comport and the MSC drives?&lt;/p&gt;
&lt;p&gt;There is a local git repo in the zip, so you can see the changes I have made from the original example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/174449?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 07:47:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5884842-c23c-4eda-89e9-99eab0203b1c</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Jeff&lt;/p&gt;
&lt;p&gt;Sorry for the slow response, I was out in vacation for the last couple of weeks.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried adding the MSC class to the CDC example (rather than the opposite), but I still have similar issues. I will ask the developer to have a look at my code and&amp;nbsp;see if he can spot the problem, and get back to you.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/171404?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 13:41:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5b0540a-821b-4a2b-93e8-d23b4b25d30b</guid><dc:creator>JeffW</dc:creator><description>&lt;p&gt;&lt;span&gt;Torbj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I was eventually able to get it to enumerate as a com port but with an error.&lt;br /&gt;Seemingly changing the APP_USBD_PID to&amp;nbsp;0x520D the device would allow a removable drive to show up, with no COM port.&amp;nbsp;&lt;br /&gt;But with&amp;nbsp;APP_USBD_PID&amp;nbsp;0x520F it would enumerate a COM port with error: &amp;quot;This device cannot start. (Code 10)&amp;quot; and a secondary &amp;#39;Other device&amp;#39;: nRF52 USB MSC Demo that does not mount as a drive. Photo attached. &lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1550238061974v2.png" alt=" " /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Maybe that&amp;#39;s a clue, but I fail to&amp;nbsp;understand how&amp;nbsp;the Product ID would change this behaviour unless the underlying drivers are changing this behaviour.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for the input, looking forward to hearing back from a developer,&lt;br /&gt;Jeff&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/171399?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 13:30:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:744f51dc-9a03-4c2e-819e-9e864c7b4972</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Jeff&lt;/p&gt;
&lt;p&gt;Are you not seeing the virtual comport at all?&lt;/p&gt;
&lt;p&gt;For me it shows up, but I get an error when I try to connect to it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I looked through your code and tried to figure out what the problem is, but I can&amp;#39;t see any critical difference between the original example and yours.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will try to get some feedback from the developer if he has some pointers.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/171142?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 13:07:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:335f7796-76ef-4614-aca5-f484bb637e1f</guid><dc:creator>JeffW</dc:creator><description>&lt;p&gt;Made a fresh project&amp;nbsp;from usbd_msc included.&amp;nbsp;&lt;br /&gt;The other change I noticed is needing the inclusion of:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;q&amp;gt; APP_USBD_CDC_ACM_ENABLED  - Enabling USBD CDC ACM Class library
 

#ifndef APP_USBD_CDC_ACM_ENABLED
#define APP_USBD_CDC_ACM_ENABLED 1
#endif

// &amp;lt;q&amp;gt; APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE  - Send ZLP on write with same size as endpoint
 

// &amp;lt;i&amp;gt; If enabled, CDC ACM class will automatically send a zero length packet after transfer which has the same size as endpoint.
// &amp;lt;i&amp;gt; This may limit throughput if a lot of binary data is sent, but in terminal mode operation it makes sure that the data is always displayed right after it is sent.

#ifndef APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE
#define APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE 1
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Attached is the project. Note: I used Segger Embedded Studio.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Jeff&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/usbd_5F00_msc_5F00_cdc.zip"&gt;devzone.nordicsemi.com/.../usbd_5F00_msc_5F00_cdc.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/171130?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 12:36:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:880c5d3c-7307-41ec-b774-216f50d8b486</guid><dc:creator>JeffW</dc:creator><description>&lt;p&gt;Yes, CDC works on it&amp;#39;s own.&amp;nbsp;&lt;br /&gt;SDK15.2 SD 6.1 with PCA10056 V1.0.0&lt;br /&gt;&lt;br /&gt;The only difference in porting as per your word document was:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt; APP_USBD_CDC_ACM_GLOBAL_DEF(m_app_cdc_acm,
                            cdc_acm_user_ev_handler,
                            CDC_ACM_COMM_INTERFACE,
                            CDC_ACM_DATA_INTERFACE,
                            CDC_ACM_COMM_EPIN,
                            CDC_ACM_DATA_EPIN,
                            CDC_ACM_DATA_EPOUT,
                            APP_USBD_CDC_COMM_PROTOCOL_AT_V250);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;instead of:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define CDC_ACM_INTERFACES_CONFIG()                 \
    APP_USBD_CDC_ACM_CONFIG(CDC_ACM_COMM_INTERFACE, \
                            CDC_ACM_COMM_EPIN,      \
                            CDC_ACM_DATA_INTERFACE, \
                            CDC_ACM_DATA_EPIN,      \
                            CDC_ACM_DATA_EPOUT)


static const uint8_t m_cdc_acm_class_descriptors[] = {
        APP_USBD_CDC_ACM_DEFAULT_DESC(CDC_ACM_COMM_INTERFACE,
                                      CDC_ACM_COMM_EPIN,
                                      CDC_ACM_DATA_INTERFACE,
                                      CDC_ACM_DATA_EPIN,
                                      CDC_ACM_DATA_EPOUT)
};

/**
 * @brief CDC_ACM class instance
 * */
APP_USBD_CDC_ACM_GLOBAL_DEF(m_app_cdc_acm,
                            CDC_ACM_INTERFACES_CONFIG(),
                            cdc_acm_user_ev_handler,
                            m_cdc_acm_class_descriptors
);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Is it possible to take a look at this with the new SDK to see if i&amp;#39;m missing something?&amp;nbsp;&lt;br /&gt;I will try to upload a project in a few minutes.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Regards,&lt;br /&gt;Jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/171036?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 08:47:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f1434f8-b7c8-40e7-a1df-764dd817ea48</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Jeff&lt;/p&gt;
&lt;p&gt;Have you got the CDC_ASM example to work on its own?&lt;/p&gt;
&lt;p&gt;Can you let me know what version of the nRF52840 DK you have?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/170983?ContentTypeID=1</link><pubDate>Wed, 13 Feb 2019 20:42:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2afefc88-6fd1-42af-93af-00563b989dfb</guid><dc:creator>JeffW</dc:creator><description>&lt;p&gt;&lt;span&gt;Torbj&amp;oslash;rn,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am trying to get this example to work using SDK 15.2, however the COM port does not enumerate after following your instructions of adding CDC onto the existing MSC example. The MSC part works, but the COM port does not initialize even though no errors show up while the application is running. I have tried in two different projects, with the same result.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Any help would be appreciated.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;br /&gt;Jeff&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/170553?ContentTypeID=1</link><pubDate>Tue, 12 Feb 2019 09:40:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eda740cf-5936-446d-a58e-68d32f68c85f</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;There is no plan to add a CDC_ACM backend to the LOG module unfortunately, but the developer pointed me to a different solution:&lt;/p&gt;
&lt;p&gt;It is possible to use the CLI module for logging rather than the normal log backends, and the CLI module has a CDC_ACM backend.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In other words if you first switch to using the CLI module for logging then you should be able to get logging running over CDC.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/170371?ContentTypeID=1</link><pubDate>Mon, 11 Feb 2019 13:24:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b92a189-f0f9-49a0-9a26-b32911b69a97</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The supported backends for the LOG module is UART, RTT and flash. USB_CDC is not supported unfortunately.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can check with the software team if&amp;nbsp;we are planning to add support for this in a later update.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/169398?ContentTypeID=1</link><pubDate>Tue, 05 Feb 2019 05:33:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5e92b51-fa92-4553-9f9b-96cdbd04f338</guid><dc:creator>ratnakar1978</dc:creator><description>&lt;p&gt;Hi Torbjorn, I am able to flash the program with debug USB port on the EVK but I am not able to get LOG information back to host PC (on putty prompt) . Even I tried to connect with USB connector closer to Nordic chipset , but I am not able to get log data from EVK nor from chipset to host PC . Can you please share any example or configuration do I need to do in the application for getting NRF_LOG works fine on USB interface.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/128940?ContentTypeID=1</link><pubDate>Thu, 19 Apr 2018 10:26:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebe7945b-ddcf-4812-a16f-e936fa81a496</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This example has not been updated to SDK v15, no.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tried opening the MSC example in SDK v15 and following the instructions provided in &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/usbd_5F00_msc_5F00_cdc_5F00_asm_5F00_hands_5F00_on.zip"&gt;usbd_msc_cdc_asm_hands_on.zip&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/128839?ContentTypeID=1</link><pubDate>Wed, 18 Apr 2018 14:04:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:470bd96c-353d-4f52-9ed7-2111a3e43dd9</guid><dc:creator>Panchen</dc:creator><description>&lt;p&gt;I can not&amp;nbsp;compile&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/usbd_5F00_msc_5F00_cdc_5F00_asm_5F00_hands_5F00_on_5F00_solution.zip"&gt;usbd_msc_cdc_asm_hands_on_solution.zip&lt;/a&gt;&amp;nbsp;in SDK15.0.0. Do you have any updated file?&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/87074?ContentTypeID=1</link><pubDate>Tue, 23 May 2017 07:21:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10dae23a-ef1d-4c37-ab08-01e771e9b70d</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;My bad, I forgot the repo was private.
I have attached the files in my original reply.&lt;br /&gt;
BR, Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/87073?ContentTypeID=1</link><pubDate>Tue, 23 May 2017 07:00:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c0704d2-dc81-4af5-8d0c-98903228013e</guid><dc:creator>MANGO</dc:creator><description>&lt;p&gt;Hello, Torbjørn. Wow, a hands on example, I&amp;#39;m deeply touched!&lt;/p&gt;
&lt;p&gt;Although that GitHub link shows a 404 error, I will check the code soon.&lt;/p&gt;
&lt;p&gt;Thanks for your time.&lt;/p&gt;
&lt;p&gt;-Best Regards, MANGO&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/87072?ContentTypeID=1</link><pubDate>Tue, 23 May 2017 06:47:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2822bd14-6114-4330-9233-4e420e5ed507</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Mango&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;I made a hands on example showing you how to combine MSC and CDC a while back, and put it on github: &lt;a href="https://github.com/NordicSemiconductor/nrf52-usbd-cdc-asm-hands-on"&gt;CDC MSC hands on&lt;/a&gt;&lt;br /&gt;
I never got past the first task, but this is what you need (combining two USB classes into one example).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;No, my point was that the MSC example essentially shows of two things:&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;We finally have USB support in the 52 family, and MSC is supported.&lt;/li&gt;
&lt;li&gt;We have a new QSPI interface in the 52840 that is very well suited to connecting external memory chips.&lt;br /&gt;
Best regards&lt;br /&gt;
Torbjørn&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/87075?ContentTypeID=1</link><pubDate>Fri, 19 May 2017 09:23:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2566e291-1d84-4c39-83c7-194b41a2ddf0</guid><dc:creator>MANGO</dc:creator><description>&lt;p&gt;Wow. Thanks for the detailed answer, Torbjørn!&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;If you want to transfer files you should probably consider the MSC examples instead
&lt;/code&gt;&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;Then can I use both MSC example and CDC ACM example?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I want to both send UART data (or ASCII data packets, maybe?) to the connected PC&lt;/p&gt;
&lt;p&gt;and receive files from the PC with the single nRF52840 chip by merging both examples.&lt;/p&gt;
&lt;p&gt;Is this possible?&lt;/p&gt;
&lt;ol start="2"&gt;
&lt;li&gt;&lt;code&gt;showcasing the new QSPI interface in the chip&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You mean there was a video demo that used QSPI?&lt;/p&gt;
&lt;p&gt;The &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52%2Fdita%2Fnrf52%2Fdevelopment%2Fnrf52840_pdk%2Fintro.html"&gt;infocenter&lt;/a&gt; tells that &lt;code&gt;The nRF52840 Preview DK board has a 64-Mb external flash memory. The memory is a multi-I/O memory supporting both regular SPI and Quad SPI.&lt;/code&gt; and this feature might be the thing I was looking for.&lt;/p&gt;
&lt;p&gt;-Best Regards, MANGO&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Question about the USB CDC ACM Example</title><link>https://devzone.nordicsemi.com/thread/87071?ContentTypeID=1</link><pubDate>Fri, 19 May 2017 08:14:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2f067e8-b1ba-4b29-a2fc-8da00de1aada</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Mango&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Yes. The USB interface in the nRF52840 allows it to implement FT232 like functionality without any additional hardware.&lt;br /&gt;
Since the USB interface is fully programmable it can also do a lot more, as you can see by all the different USB examples available in the SDK.&lt;br /&gt;
Just keep in mind that you need to connect to the second USB connector on the nRF52840 PDK to get access to the Nordic USB interface, otherwise you are just connecting to the Segger programming chip.
From your terminal program the comport should look like any other, yes, and both read and write is supported.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The USB interface has dedicated pins that are separate from the standard GPIO ports, and they can not be relocated to any other pins. The reason for this is that the USB interface pins require dedicated hardware that would be expensive and impractical to duplicate on multiple pins.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The physical UART is only used for logging in this example, and the default configuration of UART0 (which allows it to connect to the UART interface in the Segger chip) is printed on the back of the nRF52840 PDK. This is the same configuration that we have always used, even before we got USB support in the chip, and it uses the CDC ACM functionality of the Segger chip to make the UART available on the PC.&lt;/p&gt;
&lt;p&gt;If you want to connect the Nordic CDC interface to a physical UART you could potentially use UART1 for this, allowing you to keep using UART0 for logging and debugging purposes.&lt;/p&gt;
&lt;ol start="3"&gt;
&lt;li&gt;The J-Link USB connector is only used for programming/debugging and logging. To connect to the CDC in the Nordic you should add a second USB connection to the USB connector on the side of the kit, closer to the Nordic chip. You can connect both at the same time, or just connect to the Nordic connector (if you don&amp;#39;t need logging or debugging).&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Regarding the layout you should refer to the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52840.ps/ref_circuitry.html?cp=2_1_0_55_0#concept_hqh_j22_fq"&gt;reference schematic&lt;/a&gt;.&lt;br /&gt;
As you can see the VBUS, D+ and D- lines should just be connected directly to the connector.&lt;/p&gt;
&lt;ol start="4"&gt;
&lt;li&gt;If you want to transfer files you should probably consider the MSC examples instead, as they make the nRF52840 enumerate as a disk drive on the PC side.
By default the example is configured to use the external memory chip on the nRF52840 PDK to store the files (showcasing the new QSPI interface in the chip), but it can also be configured to store to an external SD card.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Edit: I have attached the CDC MSC hands on examples here:&lt;br /&gt;
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/usbd_5F00_msc_5F00_cdc_5F00_asm_5F00_hands_5F00_on.zip"&gt;usbd_msc_cdc_asm_hands_on.zip&lt;/a&gt;&lt;br /&gt;
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/usbd_5F00_msc_5F00_cdc_5F00_asm_5F00_hands_5F00_on_5F00_solution.zip"&gt;usbd_msc_cdc_asm_hands_on_solution.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;
Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>