<?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>nRF connect with VS code integration problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85509/nrf-connect-with-vs-code-integration-problem</link><description>HI All 
 Im having endless trouble with nRf Connect and Vs code. @Ovind was kind enough to assist from the first time I failed to get this working, but it was short lived and I dont understand why im having these issues. I may be missing something. 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Mar 2022 13:42:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85509/nrf-connect-with-vs-code-integration-problem" /><item><title>RE: nRF connect with VS code integration problem</title><link>https://devzone.nordicsemi.com/thread/356909?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 13:42:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:784191c9-4d03-43bf-b085-90f11c5e7e3c</guid><dc:creator>melt</dc:creator><description>&lt;p&gt;Thank you that works for me. Im sure it will be fixed in a future release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF connect with VS code integration problem</title><link>https://devzone.nordicsemi.com/thread/356905?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 13:29:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63c99121-8800-457b-b0ca-e65225979d7c</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;There is an issue caused by the VS Code update. If you have updated your VS code recently, you may experience problems with action buttons. &lt;br /&gt;For now, you have two options. You can either use nrfjprog or you can press CTRL+SHIFT+P in VS Code, type &amp;lt;flash&amp;gt; and choose &amp;lt;nRF Connect: Erase and Flash to Board&amp;gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF connect with VS code integration problem</title><link>https://devzone.nordicsemi.com/thread/356890?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 13:00:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9339885f-6351-4cdf-9589-426ef78df1e8</guid><dc:creator>melt</dc:creator><description>&lt;p&gt;correct.&amp;nbsp; When I press the Flash button, it builds first then its suppose to flash straight after but it stops at &amp;quot;build successful&amp;quot;&lt;/p&gt;
&lt;p&gt;The flash button and the Build button behaves exactly the same&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/_CF25_-main.c-_2D00_-Untitled-_2800_Workspace_2900_-_2D00_-Visual-Studio-Code-2022_2D00_03_2D00_08-14_2D00_58_2D00_19.mp4"&gt;devzone.nordicsemi.com/.../_CF25_-main.c-_2D00_-Untitled-_2800_Workspace_2900_-_2D00_-Visual-Studio-Code-2022_2D00_03_2D00_08-14_2D00_58_2D00_19.mp4&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF connect with VS code integration problem</title><link>https://devzone.nordicsemi.com/thread/356861?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 11:59:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eef43721-dda0-49f6-b713-2e91997d7e2e</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="melt777"]Prestine build from action center in vscode works and then stops. no flashing.[/quote]
&lt;p&gt;I am not quite sure that I understand what you are trying to say with &amp;quot;works and then stops&amp;quot;. What exactly happens? What is working and at which point it stops?&lt;br /&gt;&lt;br /&gt;My understanding of your problem is that the build process runs and completes successfully, but when you try to flash nothing happens. Is this correct?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF connect with VS code integration problem</title><link>https://devzone.nordicsemi.com/thread/356820?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 10:09:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c2ff4d1-7c1b-4045-828d-ba02a3b48c0d</guid><dc:creator>melt</dc:creator><description>&lt;p&gt;Removed the current build , folder also removed. Prestine build from action center in vscode works and then stops. no flashing.&lt;/p&gt;
&lt;p&gt;I only have the one 52840dk board which is linked to the board. under connected devices I can reset the board, recover it and connect it to RTT.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF connect with VS code integration problem</title><link>https://devzone.nordicsemi.com/thread/356809?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 09:53:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac4d2d4d-8e83-404b-a7c2-c364804ba1ba</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Try to remove current build configuration and build folder, restart the VS Code, add build configuration for your board, and do pristine build. If everything is successful, press flash button. Ensure that the board is connected and that you are flashing the right board.&amp;nbsp; &lt;br /&gt;Instead of using west, please use buttons from VS Code for building the application.&lt;br /&gt;If there are some errors, please provide the output and specify where the errors appear.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF connect with VS code integration problem</title><link>https://devzone.nordicsemi.com/thread/356780?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 08:40:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a94bc7bc-2a04-446e-9431-33e5b2ee18ee</guid><dc:creator>melt</dc:creator><description>&lt;p&gt;No errors it just builds and stops&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;this happens with flash and erase and flash. It does not seem to go into the next step of the process after build.&lt;/p&gt;
&lt;p&gt;Building HID_device&lt;br /&gt;west build --build-dir d:\my_vscode_apps\HID_RGB_gambling\HID_device\build d:\my_vscode_apps\HID_RGB_gambling\HID_device&lt;/p&gt;
&lt;p&gt;[1/11] Building C object CMakeFiles/app.dir/src/main.c.obj&lt;br /&gt;[2/11] Linking C static library app\libapp.a&lt;br /&gt;[3/11] Linking C executable zephyr\zephyr_pre0.elf&lt;/p&gt;
&lt;p&gt;[4/11] Generating dev_handles.c&lt;br /&gt;[5/11] Building C object zephyr/CMakeFiles/zephyr_pre1.dir/dev_handles.c.obj&lt;br /&gt;[6/11] Linking C executable zephyr\zephyr_pre1.elf&lt;/p&gt;
&lt;p&gt;[7/11] Generating linker.cmd&lt;br /&gt;[8/11] Generating isr_tables.c, isrList.bin&lt;br /&gt;[9/11] Building C object zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj&lt;br /&gt;[10/11] Building C object zephyr/CMakeFiles/zephyr_final.dir/dev_handles.c.obj&lt;br /&gt;[11/11] Linking C executable zephyr\zephyr.elf&lt;br /&gt;Memory region Used Size Region Size %age Used&lt;br /&gt; FLASH: 178580 B 1 MB 17.03%&lt;br /&gt; SRAM: 38225 B 256 KB 14.58%&lt;br /&gt; IDT_LIST: 0 GB 2 KB 0.00%&lt;/p&gt;
&lt;p&gt;Terminal will be reused by tasks, press any key to close it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF connect with VS code integration problem</title><link>https://devzone.nordicsemi.com/thread/356762?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 07:54:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43be1425-a917-40f6-b264-df644261064a</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you share the output that you get after executing &amp;quot;Flash&amp;quot; command from the VS Code? Are you getting any errors?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF connect with VS code integration problem</title><link>https://devzone.nordicsemi.com/thread/356681?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2022 15:33:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad0ad446-0cf0-4e78-854c-3356add61a7d</guid><dc:creator>melt</dc:creator><description>&lt;p&gt;I have loaded 2 applications for testing. hello_world and blinky_pmw. They do not flash using the &amp;quot;action flash&amp;quot; menu in VS code. They do however flash using nrfjprog with new terminal inside vs code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF connect with VS code integration problem</title><link>https://devzone.nordicsemi.com/thread/356633?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2022 13:51:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8db53766-c37a-4c47-8bb7-0dc43be3bf2d</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You should do &amp;quot;Quick Setup&amp;quot; only once to choose the folder for NCS and Toolchain. If you have previously installed NCS and Toolchain, locations in &amp;quot;Quick Setup&amp;quot; should be automatically available.&lt;br /&gt;&lt;br /&gt;Have you tried flashing directly from VS Code?&lt;br /&gt;Have you tried flashing using nrfjprog?&lt;br /&gt;What is the output result in both above-mentioned&amp;nbsp; cases? Are there any errors? Can you provide some logs?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF connect with VS code integration problem</title><link>https://devzone.nordicsemi.com/thread/356624?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2022 13:39:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d99efc7-0bc2-482a-856c-9d644b83869a</guid><dc:creator>melt</dc:creator><description>&lt;p&gt;Hi Dejans&lt;/p&gt;
&lt;p&gt;Thank you. The examples Builds fine, but does not flash. my versions below&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;quot;tools&amp;quot;: {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;quot;C:\\Program Files\\SEGGER\\JLink\\JLink.exe&amp;quot;: &amp;quot;7.62a&amp;quot;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;quot;C:\\Program Files (x86)\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe&amp;quot;: &amp;quot;10.15.4&amp;quot;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;quot;c:\\Users\\meltb\\ncs\\v1.9.1\\toolchain\\opt\\bin\\cmake.exe&amp;quot;: &amp;quot;3.20.5&amp;quot;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;quot;c:\\Users\\meltb\\ncs\\v1.9.1\\toolchain\\opt\\bin\\Scripts\\west.exe&amp;quot;: &amp;quot;0.12.0&amp;quot;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;quot;c:\\Users\\meltb\\ncs\\v1.9.1\\toolchain\\opt\\bin\\python.exe&amp;quot;: &amp;quot;3.8.2&amp;quot;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;quot;c:\\Users\\meltb\\ncs\\v1.9.1\\toolchain\\opt\\bin\\ninja.exe&amp;quot;: &amp;quot;1.9.0&amp;quot;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;quot;c:\\Users\\meltb\\ncs\\v1.9.1\\toolchain\\opt\\bin\\gperf.exe&amp;quot;: &amp;quot;3.1&amp;quot;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;quot;c:\\Users\\meltb\\ncs\\v1.9.1\\toolchain\\opt\\bin\\dtc.exe&amp;quot;: &amp;quot;1.4.7&amp;quot;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;quot;c:\\Users\\meltb\\ncs\\v1.9.1\\toolchain\\opt\\bin\\arm-none-eabi-gcc.exe&amp;quot;: &amp;quot;9-2019-q4-major&amp;quot;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;quot;c:\\Users\\meltb\\ncs\\v1.9.1\\toolchain\\opt\\bin\\gn.exe&amp;quot;: &amp;quot;1977&amp;quot;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;quot;c:\\Users\\meltb\\ncs\\v1.9.1\\toolchain\\mingw64\\bin\\git.exe&amp;quot;: &amp;quot;2.26.2.windows.1&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; },&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Quetion : can you do the quicksetup only once? I see once its done it disappears.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I did as you suggested, remove build from project and directory. No difference, it builds&amp;nbsp; buts thats it.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF connect with VS code integration problem</title><link>https://devzone.nordicsemi.com/thread/356611?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2022 13:20:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6ed3d8f-10a9-4b17-a84c-0bcddda45169</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am glad to hear that you made some progress. &lt;br /&gt;&lt;br /&gt;&amp;quot;Quick Setup&amp;quot; page provides information about the Toolchain which you are using currently. There you should be able to see the location of the nRF Connect SDK and nRF Connect Toolchain.&lt;br /&gt;&lt;br /&gt;With regard to west, you can check the west version by running &amp;quot;west --version&amp;quot; from command line.&lt;br /&gt;&amp;quot;ninja: no work to do&amp;quot; happens when there is no build.ninja file in your build folder. If you have ninja on your system you should be able to see its version by running &amp;quot;ninja --version&amp;quot; from command prompt inside your application folder. &lt;br /&gt;&lt;br /&gt;Regarding the build command that you want to execute, I would suggest to remove the current build configuration from VS Code as well as the whole build folder from your application folder and try again. You should then be able to build your application successfully. Alternatively, instead of using west and nrfjprog as commands, you could try building and flashing your application from the same page where &amp;quot;Quick Setup&amp;quot; is located, by clicking on &amp;quot;Add Build Configuration&amp;quot;, &amp;quot;Build&amp;quot; and &amp;quot;Flash&amp;quot;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF connect with VS code integration problem</title><link>https://devzone.nordicsemi.com/thread/356562?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2022 12:01:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcfcde06-0b83-430e-b341-c0173b8b8910</guid><dc:creator>melt</dc:creator><description>&lt;p&gt;I have made some progress.&lt;/p&gt;
&lt;p&gt;After installing the toolchains through nRF connect as well as the Vs code extensions. One needs to go to nRF connect welcome page and run &lt;strong&gt;&amp;quot;quick setup&amp;quot;&lt;/strong&gt;. Select the toolchain to install. This will take you back to nRF connect. Open Vs code again and the tools now seems to be installed.&lt;/p&gt;
&lt;p&gt;Build is working but&amp;nbsp;but it is not flashing. Terminal below&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;gt; Executing task: nRF Connect: Build hello_world1/build (active) &amp;lt;&lt;/p&gt;
&lt;p&gt;Building hello_world1&lt;br /&gt;west build --build-dir d:\onedrive\my_vscode_apps\helloworld\hello_world1\build d:\onedrive\my_vscode_apps\helloworld\hello_world1&lt;/p&gt;
&lt;p&gt;ninja: no work to do.&lt;/p&gt;
&lt;p&gt;Terminal will be reused by tasks, press any key to close it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>