<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[VS Code COM port setting ignored]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I have been using VSCode and Pymakr and it is generally working OK. I am using a USB to serial adapter, as it happens on COM10. I wanted to start debugging some serial port functions so plugged in a second USB serial adapter which came up as COM3. Pymakr now insists that it has found a Pycom module on this COM port and ignores the setting in pymakr.conf and pymakr.json and tries to connect on COM3. It seems that it is simply using the lowest number COM port, whatever the settings. I have tried with auto_connect set True and False, it doesn't help.</p>
<p dir="auto">I have actually managed to get things working by swapping over so that the Pycom module is indeed on COM3 but I can see this becoming a nuisance.</p>
<p dir="auto">How can I fix the COM port used for the connection?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.pycom.io/topic/4347/vs-code-com-port-setting-ignored</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 16:59:26 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/4347.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Feb 2019 00:03:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to VS Code COM port setting ignored on Wed, 06 Feb 2019 00:03:25 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I have been using VSCode and Pymakr and it is generally working OK. I am using a USB to serial adapter, as it happens on COM10. I wanted to start debugging some serial port functions so plugged in a second USB serial adapter which came up as COM3. Pymakr now insists that it has found a Pycom module on this COM port and ignores the setting in pymakr.conf and pymakr.json and tries to connect on COM3. It seems that it is simply using the lowest number COM port, whatever the settings. I have tried with auto_connect set True and False, it doesn't help.</p>
<p dir="auto">I have actually managed to get things working by swapping over so that the Pycom module is indeed on COM3 but I can see this becoming a nuisance.</p>
<p dir="auto">How can I fix the COM port used for the connection?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.pycom.io/post/25646</link><guid isPermaLink="true">https://forum.pycom.io/post/25646</guid><dc:creator><![CDATA[ChangedDaily]]></dc:creator><pubDate>Wed, 06 Feb 2019 00:03:25 GMT</pubDate></item><item><title><![CDATA[Reply to VS Code COM port setting ignored on Wed, 06 Feb 2019 09:55:20 GMT]]></title><description><![CDATA[<p dir="auto">Could you post both your global pymakr conf and the per project one if you have one so I can take a look. It should use what you've given it. Not just decide on one itself.</p>
]]></description><link>https://forum.pycom.io/post/25659</link><guid isPermaLink="true">https://forum.pycom.io/post/25659</guid><dc:creator><![CDATA[Paul Thornton]]></dc:creator><pubDate>Wed, 06 Feb 2019 09:55:20 GMT</pubDate></item><item><title><![CDATA[Reply to VS Code COM port setting ignored on Wed, 06 Feb 2019 10:06:49 GMT]]></title><description><![CDATA[<p dir="auto">Hi, I should have included these first time:</p>
<p dir="auto">pymakr.conf:</p>
<pre><code>{
    &quot;address&quot;: &quot;COM10 (FTDI)&quot;,
    &quot;username&quot;: &quot;micro&quot;,
    &quot;password&quot;: &quot;python&quot;,
    &quot;sync_folder&quot;: &quot;&quot;,
    &quot;open_on_start&quot;: true,
    &quot;safe_boot_on_upload&quot;: true,
    &quot;py_ignore&quot;: [],
    &quot;fast_upload&quot;: false,
    &quot;ctrl_c_on_connect&quot; : true
}
</code></pre>
<p dir="auto">pymakr.json (from All commands-&gt;Pymakr&gt;Global settings):</p>
<pre><code>{
	&quot;address&quot;: &quot;COM10 (FTDI)&quot;,
	&quot;username&quot;: &quot;micro&quot;,
	&quot;password&quot;: &quot;python&quot;,
	&quot;sync_folder&quot;: &quot;&quot;,
	&quot;open_on_start&quot;: true,
	&quot;safe_boot_on_upload&quot;: false,
	&quot;py_ignore&quot;: [],
	&quot;fast_upload&quot;: false,
	&quot;sync_file_types&quot;: &quot;py,txt,log,json,xml,html,js,css,mpy&quot;,
	&quot;ctrl_c_on_connect&quot;: false,
	&quot;sync_all_file_types&quot;: false,
	&quot;auto_connect&quot;: true
}
</code></pre>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.pycom.io/post/25662</link><guid isPermaLink="true">https://forum.pycom.io/post/25662</guid><dc:creator><![CDATA[ChangedDaily]]></dc:creator><pubDate>Wed, 06 Feb 2019 10:06:49 GMT</pubDate></item><item><title><![CDATA[Reply to VS Code COM port setting ignored on Wed, 06 Feb 2019 10:07:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3810">@changeddaily</a></p>
<p dir="auto">Hello.</p>
<p dir="auto">Please remove the (FTDI) parts and try again.<br />
It only needs &quot;COM10&quot; :)</p>
<p dir="auto">Should work after that.</p>
<p dir="auto">Paul</p>
]]></description><link>https://forum.pycom.io/post/25663</link><guid isPermaLink="true">https://forum.pycom.io/post/25663</guid><dc:creator><![CDATA[Paul Thornton]]></dc:creator><pubDate>Wed, 06 Feb 2019 10:07:56 GMT</pubDate></item><item><title><![CDATA[Reply to VS Code COM port setting ignored on Wed, 06 Feb 2019 13:08:21 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I've changed both settings as suggested but it still insists on going to COM3.</p>
<p dir="auto">Patrick</p>
]]></description><link>https://forum.pycom.io/post/25671</link><guid isPermaLink="true">https://forum.pycom.io/post/25671</guid><dc:creator><![CDATA[ChangedDaily]]></dc:creator><pubDate>Wed, 06 Feb 2019 13:08:21 GMT</pubDate></item><item><title><![CDATA[Reply to VS Code COM port setting ignored on Wed, 06 Feb 2019 13:33:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3810">@changeddaily</a> I had similar issue with Atom, there is option that was checked to always select first COM port from list. It sound to me that VS Code is doing the same thing.</p>
]]></description><link>https://forum.pycom.io/post/25673</link><guid isPermaLink="true">https://forum.pycom.io/post/25673</guid><dc:creator><![CDATA[Milan]]></dc:creator><pubDate>Wed, 06 Feb 2019 13:33:11 GMT</pubDate></item><item><title><![CDATA[Reply to VS Code COM port setting ignored on Wed, 06 Feb 2019 13:52:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3810">@changeddaily</a> said in <a href="/post/25671">VS Code COM port setting ignored</a>:</p>
<blockquote>
<p dir="auto">Hi,<br />
I've changed both settings as suggested but it still insists on going to COM3.<br />
Patrick</p>
</blockquote>
<p dir="auto"><em>hmm</em> ... I'm not really sure about how it works on Windows ... as on Mac / Linux we provide the full path to our &quot;/dev/....&quot;</p>
<p dir="auto">here is a copy of my files:</p>
<p dir="auto"><strong>pymakr.json [Global Settings]</strong></p>
<pre><code>{
	&quot;address&quot;: &quot;/dev/cu.usbmodem&quot;,
	&quot;username&quot;: &quot;micro&quot;,
	&quot;password&quot;: &quot;python&quot;,
	&quot;sync_folder&quot;: &quot;&quot;,
	&quot;open_on_start&quot;: true,
	&quot;statusbar_buttons&quot;: [
		&quot;console&quot;,
		&quot;run&quot;,
		&quot;upload&quot;,
		&quot;download&quot;,
		&quot;status&quot;,
		&quot;disconnect&quot;,
		&quot;listserial&quot;,
		&quot;projectsettings&quot;,
		&quot;settings&quot;,
		&quot;getversion&quot;,
		&quot;getssid&quot;
	],
	&quot;sync_file_types&quot;: &quot;py,txt,log,json,xml&quot;,
	&quot;ctrl_c_on_connect&quot;: false,
	&quot;safe_boot_on_upload&quot;: false,
	&quot;sync_all_file_types&quot;: false,
	&quot;auto_connect&quot;: false,
	&quot;py_ignore&quot;: [],
	&quot;fast_upload&quot;: false
}
</code></pre>
<p dir="auto"><strong>pymakr.conf [Project Settings]</strong></p>
<pre><code> {
    &quot;address&quot;: &quot;/dev/cu.usbmodemPy3434341&quot;,
    &quot;username&quot;: &quot;micro&quot;,
    &quot;password&quot;: &quot;python&quot;,
    &quot;sync_folder&quot;: &quot;&quot;,
    &quot;open_on_start&quot;: true,
    &quot;statusbar_buttons&quot;: [
        &quot;status&quot;,
        &quot;listserial&quot;,
        &quot;settings&quot;,
        &quot;projectsettings&quot;,
        &quot;getversion&quot;,
        &quot;getssid&quot;,
        &quot;console&quot;,
        &quot;run&quot;,
        &quot;upload&quot;,
        &quot;download&quot;,
        &quot;connect&quot;,
        &quot;disconnect&quot;
    ],
    &quot;sync_file_types&quot;: &quot;py,txt,log,json,xml&quot;,
    &quot;ctrl_c_on_connect&quot;: false
}
</code></pre>
]]></description><link>https://forum.pycom.io/post/25674</link><guid isPermaLink="true">https://forum.pycom.io/post/25674</guid><dc:creator><![CDATA[combaindeft]]></dc:creator><pubDate>Wed, 06 Feb 2019 13:52:10 GMT</pubDate></item><item><title><![CDATA[Reply to VS Code COM port setting ignored on Wed, 06 Feb 2019 15:51:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3810">@changeddaily</a> You have auto_connect set to true in the global settings, which is why it connects to COM3. If autoconnect finds 2 potential pycom devices it just picks the first one in the list it gets back from the serial library.</p>
]]></description><link>https://forum.pycom.io/post/25681</link><guid isPermaLink="true">https://forum.pycom.io/post/25681</guid><dc:creator><![CDATA[Ralph]]></dc:creator><pubDate>Wed, 06 Feb 2019 15:51:11 GMT</pubDate></item><item><title><![CDATA[Reply to VS Code COM port setting ignored on Wed, 06 Feb 2019 16:14:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/76">@ralph</a> Yes, I can confirm that changing to just &quot;COM10&quot; and setting auto connect to false fixes the issue. Perhaps some changes to the default settings or further explanation in the documentation would be helpful.</p>
<p dir="auto">Thanks to all for suggestions.</p>
]]></description><link>https://forum.pycom.io/post/25682</link><guid isPermaLink="true">https://forum.pycom.io/post/25682</guid><dc:creator><![CDATA[ChangedDaily]]></dc:creator><pubDate>Wed, 06 Feb 2019 16:14:26 GMT</pubDate></item><item><title><![CDATA[Reply to VS Code COM port setting ignored on Wed, 06 Feb 2019 16:15:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3810">@changeddaily</a> Good to hear. Yes I agree, our documentation could definitely use an update.</p>
]]></description><link>https://forum.pycom.io/post/25683</link><guid isPermaLink="true">https://forum.pycom.io/post/25683</guid><dc:creator><![CDATA[Ralph]]></dc:creator><pubDate>Wed, 06 Feb 2019 16:15:57 GMT</pubDate></item><item><title><![CDATA[Reply to VS Code COM port setting ignored on Sun, 05 Sep 2021 10:04:01 GMT]]></title><description><![CDATA[<p dir="auto">I also could not connect to my board and solved the problem as follows:</p>
<p dir="auto">If your PC has Bluetooth, have you ever tried to turn off Bluetooth?  On my PC, Bluetooth uses COM3. Pymark always tried to connect to COM3. After I turned off Bluetooth, I was able to connect to my Pycom board without any problems.</p>
<p dir="auto">Once a connection to the board has been established, the board can also reconnect successfully with Bluetooth turned on.</p>
<p dir="auto">I hope this information helps. (:</p>
<p dir="auto">In my case COM3 is used by Bluetooth and Pymark tries to connect to COM3.<br />
<img src="/assets/uploads/files/1630835630712-85fee3ed-fbf7-4c3a-aafa-7c2e4310b551-image.png" alt="85fee3ed-fbf7-4c3a-aafa-7c2e4310b551-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">In this menu you can disable Bluetooth<br />
<img src="/assets/uploads/files/1630835590640-a2ac2595-41ee-4d30-98cf-a1336265b5ab-image.png" alt="a2ac2595-41ee-4d30-98cf-a1336265b5ab-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">Connection to the board has been established successfully:<br />
<img src="/assets/uploads/files/1630835997595-72640caf-babc-4421-aa13-34d4d1ce8800-image.png" alt="72640caf-babc-4421-aa13-34d4d1ce8800-image.png" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.pycom.io/post/39169</link><guid isPermaLink="true">https://forum.pycom.io/post/39169</guid><dc:creator><![CDATA[chrisrei]]></dc:creator><pubDate>Sun, 05 Sep 2021 10:04:01 GMT</pubDate></item></channel></rss>