<?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>The issues with NrfConnect SDK Vs code extension and NCS Fundamental Course</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86562/the-issues-with-nrfconnect-sdk-vs-code-extension-and-ncs-fundamental-course</link><description>Hi there, 
 I have just started the NCS Fundamental Course and I am stuck on Exercise 2. There are two problems that I am facing. 
 1) I have an nrf9160dk board. so if I compile for the nrf9160dk_nrf52840 board, I get a compilation error. I wanted to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Apr 2022 09:11:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86562/the-issues-with-nrfconnect-sdk-vs-code-extension-and-ncs-fundamental-course" /><item><title>RE: The issues with NrfConnect SDK Vs code extension and NCS Fundamental Course</title><link>https://devzone.nordicsemi.com/thread/364877?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 09:11:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fdb79d0-66c5-4256-bf01-2f1d65258531</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Waqas!&lt;/p&gt;
[quote user="waqas_qammar"]1) I know on the&amp;nbsp;nrf9160dk board LEDs are not connected to nrf52840 and it required a Softswitch. but the generic example doesn&amp;#39;t have support for that?&amp;nbsp;[/quote]
&lt;p&gt;If it could, it wouldn&amp;#39;t happen by default. However, it seems the 52 isn&amp;#39;t even connected to the I/O Expander so it seems that you don&amp;#39;t have many options. Sorry if I got your hopes up. For a simplified &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrf91_dk%2FUG%2Fnrf91_DK%2Fhw_buttons_leds.html"&gt;overview of how things are connected on the DK, see here.&amp;nbsp;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I would recommend you to use the 91 chip for this.&lt;/p&gt;
[quote user="waqas_qammar"]&lt;p&gt;Argument --snr is deprecated, use -i/--dev-id instead.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;This isn&amp;#39;t saying that there is anything wrong,&amp;nbsp;it is just a warning informing you that the command being used for specifying the serial number is outdated (but you don&amp;#39;t need to&amp;nbsp;specify that anyway). I understand how this can be confusing, as you wouldn&amp;#39;t expect to see any warnings. Our extention is continously being worked on, and you might see this warning removed in a later version. I acctually get the same warning myself, yet everything runs from my end.&lt;/p&gt;
[quote user="waqas_qammar"]so I can&amp;#39;t program even the nrf9160 board. the arguments are tied to&amp;nbsp; Erase and flash buttons so technically using the extension on vscode I can&amp;#39;t directly program any board. [/quote]
&lt;p&gt;So flashing a simple example to the nRF9160 doesn&amp;#39;t work for you? Have you tried?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The issues with NrfConnect SDK Vs code extension and NCS Fundamental Course</title><link>https://devzone.nordicsemi.com/thread/363413?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2022 05:40:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdb8073a-da89-4af2-93e0-a504743b8392</guid><dc:creator>Waqas Qammar</dc:creator><description>&lt;p&gt;hello Elfving,&lt;/p&gt;
&lt;p&gt;Thanks for replying.&lt;/p&gt;
&lt;p&gt;1) I know on the&amp;nbsp;nrf9160dk board LEDs are not connected to nrf52840 and it required a Softswitch. but the generic example doesn&amp;#39;t have support for that?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) you didn&amp;#39;t understand the issue. If you read the error message in the screenshot it says&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Argument --snr is deprecated, use -i/--dev-id instead.&lt;/p&gt;
&lt;p&gt;so I can&amp;#39;t program even the nrf9160 board. the arguments are tied to&amp;nbsp; Erase and flash buttons so technically using the extension on vscode I can&amp;#39;t directly program any board. but if I press the debug button, I am able to program. so the only way to program a board is using debug mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The issues with NrfConnect SDK Vs code extension and NCS Fundamental Course</title><link>https://devzone.nordicsemi.com/thread/362232?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 07:55:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abc293bc-c67c-4d9a-a919-57926ef7d60a</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello again, sorry about the wait.&lt;/p&gt;
[quote user=""]1) I have an &lt;strong&gt;nrf9160dk&lt;/strong&gt; board. so if I compile for the &lt;strong&gt;nrf9160dk_nrf52840&lt;/strong&gt; board, I get a compilation error.[/quote]
&lt;p&gt;The nRF9160DK has an nRF52840 on it as well, however this is not necessarily connected to everything the same way the nRF9160 is. The nRF52840 is there mainly for Bluetooth and the I/O Expander. I see there is a software switch that can be used in order to get the 52840 to get access to the LEDs, though for the purpose of the&amp;nbsp;following along on the NCS Fundamentals Course I would rather recommend that you stick to using the nRF9160 for this which is more than capable enough to turn on and off the LEDs.&amp;nbsp;&lt;/p&gt;
[quote user=""]&lt;p&gt;2) If I change the board, to &lt;strong&gt;Particle Xenon&amp;nbsp;&lt;/strong&gt;and connect using the debug-out port. I am not able to Flash or Flash &amp;amp; Erase the program. I got the following error.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;I see. The thing is that the external programmer/debugger needs to operate on the same voltage as the SoC it is programming. Do you see the small switch next to the power switch on the nRF9160DK called SW9? (behind an orange plastic film) Could you try to turn it to 3V and try programming the Particle Xenon again?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The issues with NrfConnect SDK Vs code extension and NCS Fundamental Course</title><link>https://devzone.nordicsemi.com/thread/361786?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2022 09:38:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3f6c51d-3c07-4d88-9435-55e3975caad1</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Waqas,&lt;/p&gt;
&lt;p&gt;I will have to get back to you on this.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>