<?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>Virtual /dev/ttyACMx COM port not found on macOS or Linux</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54769/virtual-dev-ttyacmx-com-port-not-found-on-macos-or-linux</link><description>Hello - 
 
 I am trying to run the USB CDC ACM example on macOS 10.12.6. Following the instructions in the example app, I should see a virtual COM port as /dev/ttyACMx when I connect both the USB and J-link ports to my Mac. I am running the example on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Dec 2019 14:56:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54769/virtual-dev-ttyacmx-com-port-not-found-on-macos-or-linux" /><item><title>RE: Virtual /dev/ttyACMx COM port not found on macOS or Linux</title><link>https://devzone.nordicsemi.com/thread/224233?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2019 14:56:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:194363e1-2306-4ca5-8dda-a867898d72b8</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Glad that it worked out for you. And regarding the documentation, I will report this internally.&lt;/p&gt;
&lt;p&gt;Sorry for the inconvenience.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Virtual /dev/ttyACMx COM port not found on macOS or Linux</title><link>https://devzone.nordicsemi.com/thread/223722?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 22:29:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e55df3be-aaf9-42ac-b074-cb4730c37510</guid><dc:creator>bfriedk1</dc:creator><description>&lt;p&gt;Hello -&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for sticking with me. I was able to install and launch&amp;nbsp;the J-Link Configurator app on both macOS and Linux. As you suggested, the&amp;nbsp;VCOM post was enabled, so I disabled the port. That seems to have resolved the issue. The call to&amp;nbsp;&lt;span&gt;app_usbd_cdc_acm_write() no longer fails and I see the output in the serial console. I also now see /dev/ttyACM0 on Linux.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I would suggest updating the example app documentation to note that the virtual COM port enumerates as &amp;quot;usbmodemX&amp;quot; on macOS. Also it might help others to note that the SEGGER VCOM port needs to be disabled in order for this example app to work properly.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Anyway, thanks again for your help.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Brian&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Virtual /dev/ttyACMx COM port not found on macOS or Linux</title><link>https://devzone.nordicsemi.com/thread/223583?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 12:22:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2138d435-10a9-4eba-89f3-df126778797d</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;You can check if the SEGGER VCOM is enabled via the JLink Configurator. Use the link in my previous answer, under &amp;quot;Via J-Link Configurator&amp;quot; you can see how the VCOM is enabled/disabled.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;No, Rev 1.1.1 isn&amp;#39;t a PDK. On MacOX the port should come up as usbmodem while on Linux it should come up as&amp;nbsp;&lt;span&gt;ACMx. It is weird that it doesn&amp;#39;t show up as&amp;nbsp;ACMx on Linux though.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you try disable the VCOM and try again? If possible can you try with another board too?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Virtual /dev/ttyACMx COM port not found on macOS or Linux</title><link>https://devzone.nordicsemi.com/thread/222468?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2019 23:34:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:567e8b2d-661c-4765-abaf-c127c42172cd</guid><dc:creator>bfriedk1</dc:creator><description>&lt;p&gt;Hello -&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for the follow-up. I am not sure how to know if the board is connected to SEGGER VCOM. This is what I see when I run JLinkExe on macOS:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;SEGGER J-Link Commander V6.22g (Compiled Jan 17 2018 16:45:05)
DLL version V6.22g, compiled Jan 17 2018 16:44:56

Connecting to J-Link via USB...O.K.
Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jan  7 2019 14:07:15
Hardware version: V1.00
S/N: 683610167
VTref = 3.300V
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This is what I get when I list the virtual com ports:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ ls /dev/cu*
/dev/cu.Bluetooth-Incoming-Port /dev/cu.usbmodem14111 /dev/cu.usbmodem14121
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t believe I am running a preview DK. My nRF52840-DK board box sticker shows:&lt;/p&gt;
&lt;p&gt;nRF6828&lt;/p&gt;
&lt;p&gt;Rev. 1.1.1&lt;/p&gt;
&lt;p&gt;2019.26&lt;/p&gt;
&lt;p&gt;Lastly, this is what I see in the CLI interface:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/cli_2D00_terminal.png" /&gt;&lt;/p&gt;
&lt;p&gt;My guess is that the error (described above) indicates&amp;nbsp;that the board is connected over serial but not through the virtual com port. We don&amp;#39;t see /dev/ttyACMx when listing the ports on macOS or Linux.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Brian&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Virtual /dev/ttyACMx COM port not found on macOS or Linux</title><link>https://devzone.nordicsemi.com/thread/222451?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2019 18:39:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8638f0df-dedd-4c31-9dcb-a1c421362075</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It is correct that you see the port as usbmodem ports on MacOS. It might be that you are connected to &lt;a href="https://wiki.segger.com/Using_J-Link_VCOM_functionality" rel="noopener noreferrer" target="_blank"&gt;SEGGER VCOM&lt;/a&gt; when you see the CLI interface. Can you check if this is the case? What version of the&amp;nbsp;&lt;span&gt;nRF52840-DK board&amp;nbsp;do you have? Do you use a preview DK maybe?&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>