<?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>Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120629/must-toolchain-version-match-sdk-version</link><description>Hi. 
 For a while I have had some issues with the toolchain when using the nRF connect SDK in visual studio code on windows 10. I believe it was after installing SDK version 2.8.0 that I saw the problems first, although I&amp;#39;m not entirely sure. When I use</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Jun 2025 07:55:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120629/must-toolchain-version-match-sdk-version" /><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/538599?ContentTypeID=1</link><pubDate>Tue, 10 Jun 2025 07:55:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b186b690-15de-4779-9514-194ad7792c5c</guid><dc:creator>Erlend Isachsen</dc:creator><description>&lt;p&gt;Thank you for the advice.&lt;/p&gt;
&lt;p&gt;For anyone else struggling with the same issue, I want to add that you can alternatively use version 2024.12.55 of the nRF Connect extension. This version works for me, and I can flash etc. normally. To install a specific version in VSCode, navigate to extensions -&amp;gt; nRF Connect for VS code and click the arrow next to &amp;quot;uninstall&amp;quot;, and select &amp;quot;install specific version...&amp;quot;. Not sure how well it works with the very latest versions of SDK/toolchain, but I have used it the last 6 months or so without any problems.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/538475?ContentTypeID=1</link><pubDate>Fri, 06 Jun 2025 19:12:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccd732ba-aebb-4528-9800-1ce5f0c25b79</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I understand. We are struggling with reproducing this issue at the moment, but I have forwarded all your logs and generated support information to our VS Code extension team, so right now I don&amp;#39;t know if I can do much more. I will get back to you in this ticket when I know more.&lt;/p&gt;
&lt;p&gt;In the meantime, I suggest that you build and flash in a command window, outside the VS Code (but you can still use VS Code to navigate, and write code, and open your current build folder, for debugging purposes).&lt;/p&gt;
&lt;p&gt;If so, I recommend that you set up a neat way to activate the toolchain and SDK location through a simple command.&lt;/p&gt;
&lt;p&gt;One easy way to do this, up until v3.0.0 (not working on v3.0.0 or newer) is to use the nRF Connect for Desktop -&amp;gt; Toolchain manager, and Generate Environment script:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1749236560438v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This will generate a .cmd file containing all paths that you need. Call it full_environment_2.4.0.cmd. Place it in a folder, and put that folder in your computer&amp;#39;s path, so that it will be found from wherever you are running a command line.&lt;/p&gt;
&lt;p&gt;Then, you can create a file, and call it &amp;quot;NCS_v2.4.0.bat&amp;quot;, or something like that, and place it in the same folder. In that file, write the following:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;@echo off

echo Setting up full Zephyr environment...

call full_environment_2.4.0.cmd

echo done!&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Now, you should be able to open a command window in any folder by writing &amp;quot;cmd&amp;quot; where the path is usually written:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1749236808555v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And hit enter. This will open a terminal in that folder. In there, type &amp;quot;NCS_v2.4.0&amp;quot;, and it will print:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Setting up full Zephyr environment...&lt;/em&gt;&lt;br /&gt;&lt;em&gt;done!&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;And from there, you can use all west commands, like &amp;quot;west build -b nrf52840dk_nrf52840 -d build&amp;quot;, &amp;quot;west flash -d build&amp;quot;, and so on. Also note that when you make changes to an application with an exisiting build folder, you don&amp;#39;t need to specify the board name to re-build it. Just use:&lt;/p&gt;
&lt;p&gt;&amp;quot;west build -d &amp;lt;name of build folder&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This works up until v2.9.1 (or any feature v2.9.X releases)&lt;/p&gt;
&lt;p&gt;For NCS v3.0.0 and onwards, you need to use nrfutil to generate these environment scripts.&lt;/p&gt;
&lt;p&gt;nrfutil sdk-manager env --as-script --ncs-version v3.0.1&lt;/p&gt;
&lt;p&gt;This will give you almost the same as the generated environment script, but just as an output in the terminal. Copy it, and save it in a file called full_environment_v3.0.1.cmd, and save it in the same folder as your other scripts.&lt;/p&gt;
&lt;p&gt;Just on the end, add one line:&lt;/p&gt;
&lt;p&gt;SET ZEPHYR_BASE=C:\nordic\SDKs\ncs\v3.0.1\zephyr&lt;/p&gt;
&lt;p&gt;(but replace the path to your NCS v3.0.1\zephyr)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/538092?ContentTypeID=1</link><pubDate>Wed, 04 Jun 2025 14:26:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f63f068a-a7d0-4b20-90c4-9b1e400c8781</guid><dc:creator>Erlend Isachsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I have an older version installed (you can also check my previous nrf-connect-support file for all versions, 7.13.0, device 2.8.8 and sdk-manager 1.2.0).&lt;/p&gt;
&lt;p&gt;so I upgraded with nrfutil self-upgrade (to 8.0.0), followed by nrfutil upgrade device. Closed all VSCode windows and opened the new window. Same error when using the flash command. All new related versions are listed in the new support information.&lt;/p&gt;
&lt;p&gt;Next I tried to run from command line:&lt;/p&gt;
&lt;p&gt;If I open a new terminal with the command &amp;quot;nRF Connect: Create Shell Terminal&amp;quot;, and paste the exact same command that fails when pressing the flash button, the build and flash works. Please see attached files for all output.&lt;/p&gt;
&lt;p&gt;&lt;img style="height:auto;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x0/__key/communityserver-discussions-components-files/4/build_5F00_image.JPG" width="320" /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf_2D00_connect_2D00_support_2D00_20250604141758.json"&gt;devzone.nordicsemi.com/.../nrf_2D00_connect_2D00_support_2D00_20250604141758.json&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/vscode_5F00_output_5F00_2_5F00_4_5F00_0_2D00_3.txt"&gt;devzone.nordicsemi.com/.../vscode_5F00_output_5F00_2_5F00_4_5F00_0_2D00_3.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/shell_5F00_build_5F00_output.txt"&gt;devzone.nordicsemi.com/.../shell_5F00_build_5F00_output.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/537590?ContentTypeID=1</link><pubDate>Mon, 02 Jun 2025 06:48:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7841cf0e-0857-46a5-8b34-f0f0ae8964a4</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Do any of you have the old nrfutil installed and in your system path on your computer?&lt;/p&gt;
&lt;p&gt;To check, try opening a terminal in windows and type:&lt;/p&gt;
&lt;p&gt;&amp;quot;where nrfutil&amp;quot; (on windows, I believe it is &amp;quot;which nrfutil&amp;quot; on mac/linux):&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1748846750641v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Does it return 0, 1 or several paths?&lt;/p&gt;
&lt;p&gt;Also, what does &amp;quot;nrfutil --version&amp;quot; return?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1748846818751v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Also, make sure you are on the latest version of &amp;quot;nrfutil device&amp;quot; using &amp;quot;nrfutil upgrade device&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1748846916783v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Does that make any difference?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/537265?ContentTypeID=1</link><pubDate>Wed, 28 May 2025 02:07:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:420fdd1e-af37-4d61-a96d-726f97d0ca12</guid><dc:creator>kreilly</dc:creator><description>&lt;p&gt;Pressing the flash button from vscode fails on the build configuration, despite working in the command prompt where the ZEPHYR_BASE variable was set in. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/536919?ContentTypeID=1</link><pubDate>Mon, 26 May 2025 11:59:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2b1e004-c57b-46c8-b22e-5eb2eb9426e1</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Which part? Flashing the build folder generated from the command line in VS Code? Or flashing from the command line?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/536847?ContentTypeID=1</link><pubDate>Sun, 25 May 2025 12:12:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d88720f-4597-4c25-8a36-3c1cbfb856c1</guid><dc:creator>kreilly</dc:creator><description>&lt;p&gt;Hi Edvin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I did attempt this, and it unfortunately fails.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kieran&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/536752?ContentTypeID=1</link><pubDate>Fri, 23 May 2025 10:29:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96d70cec-aa5b-49e5-b2e0-b6c3b7899a48</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/kreilly"&gt;kreilly&lt;/a&gt;&amp;nbsp; and &lt;a href="https://devzone.nordicsemi.com/members/erlend-isachsen"&gt;Erlend Isachsen&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kieran and What happens if you try to take the build configuration that you made using the command line, and flash it from VS Code? Same issue? Or does it succeed?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/536717?ContentTypeID=1</link><pubDate>Fri, 23 May 2025 08:02:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bfb2ac3-3c4b-4d98-9930-3863f64475af</guid><dc:creator>kreilly</dc:creator><description>&lt;p&gt;Hi Edvin, &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here you are!&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf_2D00_connect_2D00_support_2D00_20250523075905.json"&gt;devzone.nordicsemi.com/.../nrf_2D00_connect_2D00_support_2D00_20250523075905.json&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Sincerely,&lt;/p&gt;
&lt;p&gt;Kieran&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/536704?ContentTypeID=1</link><pubDate>Fri, 23 May 2025 07:04:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fdd06bb-fde6-47ba-8611-2b7d649ef099</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Kireran! Thank you for contributing! I assume the first&amp;nbsp;log is coming from VS Code. Would you mind uploading your &amp;quot;Generate Support Information&amp;quot; as well?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1747983843534v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/536677?ContentTypeID=1</link><pubDate>Fri, 23 May 2025 01:56:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ef4d3a1-6d3e-42b0-af74-df22a03041d9</guid><dc:creator>kreilly</dc:creator><description>&lt;p&gt;Hello Edvin,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Coming from a duplicate ticket here!&lt;/p&gt;
&lt;p&gt;I did this with the blinky application.&lt;/p&gt;
&lt;p&gt;First re-build from flash returned this:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3326.txt"&gt;devzone.nordicsemi.com/.../3326.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here is the build from the command line&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2821.txt"&gt;devzone.nordicsemi.com/.../2821.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When I try to flash and rebuild:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7612.txt"&gt;devzone.nordicsemi.com/.../7612.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It works!! I didnt have a device connected so the flashing part failed.&lt;/p&gt;
&lt;p&gt;To me it looks like the ZEPHYR_BASE variable was set incorrectly?&lt;/p&gt;
&lt;p&gt;Just for reference, when running the toolchain list command, it returns:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3482.txt"&gt;devzone.nordicsemi.com/.../3482.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Not sure how I can get it working in vscode though unfortunately.&lt;/p&gt;
&lt;p&gt;Hope this helps in rolling out a fix for vscode!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Sincerely,&lt;/p&gt;
&lt;p&gt;Kieran&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/536619?ContentTypeID=1</link><pubDate>Thu, 22 May 2025 12:18:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37581403-717e-4421-9ab1-6ac893217cc1</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We are still looking into this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you please test something for me, using the latest version of the VS Code extension:&lt;/p&gt;
&lt;p&gt;Make sure that you have downloaded and installed both NCS v2.4.0 and v2.9.0.&lt;/p&gt;
&lt;p&gt;Then delete the build folder so that there are no build folders in the application we are testing. Either do it from windows explorer, or in VS Code using &amp;quot;remove build configuration&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1747910489351v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Then, create a new build configuration using &amp;quot;add build configuration&amp;quot;, and make sure that you set both SDK version and toolchain version to v2.4.0:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1747910625897v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;(I didn&amp;#39;t have 2.4.0 installed, so showing how to do it for v2.4.1)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Click &amp;quot;Generate and build&amp;quot; on the bottom, and let it finish. Please save the build log.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then do a minor modification to main.c,&amp;nbsp; to force a rebuild, and click flash in VS Code. Save the build log.&lt;/p&gt;
&lt;p&gt;Then, if it didn&amp;#39;t finish successfully, can you please try the following:&lt;/p&gt;
&lt;p&gt;Delete the build folder once more, and open a terminal on your computer. Navigate to the application folder and run the following command:&lt;/p&gt;
&lt;p&gt;(if you don&amp;#39;t have sdk-manager installed, install it using &amp;quot;nrfutil install sdk-manager&amp;quot;)&lt;/p&gt;
&lt;p&gt;nrfutil sdk-manager toolchain launch --terminal --ncs-version v2.4.0&lt;/p&gt;
&lt;p&gt;It should open a new terminal in the same path. In this new terminal, type:&lt;/p&gt;
&lt;p&gt;SET ZEPHYR_BASE=C:\nordic\SDKs\ncs\v2.4.0\zephyr&lt;/p&gt;
&lt;p&gt;(but replace the path with the path to your v2.4.0\zephyr folder)&lt;/p&gt;
&lt;p&gt;And then use this command to build:&lt;/p&gt;
&lt;p&gt;west build -b&amp;nbsp;nrf9160dk_nrf9160_ns -d build&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Save the build log&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Then, again, do a minor modification, and use this command to flash:&lt;/p&gt;
&lt;p&gt;west flash -d build&lt;/p&gt;
&lt;p&gt;And save the log.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Are any of the flashing attempts successful? If not, can you please upload all the logs? And if the command line build/flash was successful, can you verify that you have the v2.9.0 toolchain installed using the command:&lt;/p&gt;
&lt;p&gt;nrfutil sdk-manager toolchain list&lt;/p&gt;
&lt;p&gt;Does this list v2.9.0 as well as v2.4.0?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/535801?ContentTypeID=1</link><pubDate>Fri, 16 May 2025 13:25:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc98374f-446a-482f-8aed-1864e5a82d3d</guid><dc:creator>Erlend Isachsen</dc:creator><description>&lt;p&gt;Sure.&lt;/p&gt;
&lt;p&gt;Attached is support logs and new build log for that log. I built this with the nRF Connect Extension 2025.4.186 to keep it the same as my previous post, but the error is there in 2025.5.92 as well.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/vscode_5F00_output_5F00_2_5F00_4_5F00_0_2D00_2.txt"&gt;devzone.nordicsemi.com/.../vscode_5F00_output_5F00_2_5F00_4_5F00_0_2D00_2.txt&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf_2D00_connect_2D00_support_2D00_20250516130642.json"&gt;devzone.nordicsemi.com/.../nrf_2D00_connect_2D00_support_2D00_20250516130642.json&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For reference, version 2024.12.55 is the latest version that does work, and that I use for programming daily for this reason. Here is a build log and support log for that if that is useful:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/working_5F00_vscode_5F00_output_5F00_2_5F00_4_5F00_0.txt"&gt;devzone.nordicsemi.com/.../working_5F00_vscode_5F00_output_5F00_2_5F00_4_5F00_0.txt&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/working_5F00_nrf_2D00_connect_2D00_support_2D00_20250516132348.json"&gt;devzone.nordicsemi.com/.../working_5F00_nrf_2D00_connect_2D00_support_2D00_20250516132348.json&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/535774?ContentTypeID=1</link><pubDate>Fri, 16 May 2025 12:16:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6711347c-683f-439f-8f62-fb4154699a53</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Can you plesae try to generate support logs and upload it here?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1747397790948v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/534619?ContentTypeID=1</link><pubDate>Fri, 09 May 2025 10:41:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b1ead17-ef65-490c-b05f-6fadedd58afb</guid><dc:creator>Erlend Isachsen</dc:creator><description>&lt;p&gt;I did another test and reproduced the same error with fresh installation of SDK 2.4.0 and toolchain 2.4.0. All done in VSCode with version 2025.04.186 of the nRF extension:&lt;/p&gt;
&lt;p&gt;1. Install SDK 2.4.0.&lt;br /&gt;2. Install toolchain 2.4.0.&lt;br /&gt;3. &amp;quot;Browse samples&amp;quot; -&amp;gt; &amp;quot;2.4.0&amp;quot; -&amp;gt; &amp;quot;HTTP application update sample&amp;quot;&lt;br /&gt;4. Build for nrf9160dk_nrf9160_ns (Build OK, but non-critical python warning/error in configure step).&lt;br /&gt;5. Add one character to the first printk (to force rebuild).&lt;br /&gt;6. Run command &amp;quot;Flash active image to board&amp;quot;. - fails&lt;/p&gt;
&lt;p&gt;Please see attached log and configuration.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/vscode_5F00_output_5F00_2_5F00_4_5F00_0.txt"&gt;devzone.nordicsemi.com/.../vscode_5F00_output_5F00_2_5F00_4_5F00_0.txt&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0513_2E00_.vscode_2D00_nrf_2D00_connect.json"&gt;devzone.nordicsemi.com/.../0513_2E00_.vscode_2D00_nrf_2D00_connect.json&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/534601?ContentTypeID=1</link><pubDate>Fri, 09 May 2025 09:38:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0418d172-dbd5-4bb0-b483-cb24eaf7d050</guid><dc:creator>Erlend Isachsen</dc:creator><description>&lt;p&gt;Which version of the nRF Connect extension for VSCode are you referring to? In the latest version, if I click &amp;quot;install new toolchain&amp;quot; I don&amp;#39;t see any versions below 2.0.0 (probably since the support was removed for toolchain versions &amp;lt;2.0.0 in 2025.04.106). I&amp;#39;m also unable to select 1.9.1 as toolchain when adding a build configuration in this version.&lt;/p&gt;
&lt;p&gt;If I downgrade to 2025.1.127, install new toolchain, select 1.9.1, build, edit code and run &amp;quot;Flash active image to board&amp;quot; I get the same error. See attached log and configuration.&lt;/p&gt;
&lt;p&gt;The same problem also happens using sdk v2.5.1 and toolchain 2.5.1 if that is easier to debug in the latest version? I can also try a fresh install (of for instance SDK v2.5.3 and toolchain 2.5.3), install both through VSCode and see if the problem is still there?&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5141_2E00_.vscode_2D00_nrf_2D00_connect.json"&gt;devzone.nordicsemi.com/.../5141_2E00_.vscode_2D00_nrf_2D00_connect.json&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/vscode_5F00_output_5F00_2.txt"&gt;devzone.nordicsemi.com/.../vscode_5F00_output_5F00_2.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/533322?ContentTypeID=1</link><pubDate>Tue, 29 Apr 2025 08:23:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9051fc99-633e-424f-80b4-08cfbad68fbd</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Can you please try to click &amp;quot;install new toolchain&amp;quot;, and then select the folder icon to select the path to your toolchain:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1745914928265v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I note that your .vscode-nrf-connect.json points to &amp;quot;toolchainPath&amp;quot;: &amp;quot;c:\\ncs\\toolchains\\v2.0.0&amp;quot;&lt;/p&gt;
&lt;p&gt;Try making it point to your v1.9.1 toolchain folder.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/532644?ContentTypeID=1</link><pubDate>Wed, 23 Apr 2025 15:06:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44192796-75bf-4e4a-9c0a-149cab6cfde2</guid><dc:creator>Erlend Isachsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;When uninstalling v2.8.0 and 2.9.0 of I specifically used the following command in VSCode:&lt;br /&gt;&amp;quot;nRF Connect: Uninstall Toolchain&amp;quot;&lt;/p&gt;
&lt;p&gt;So should be toolchain. Let me know if I should remove SDK as well.&lt;/p&gt;
&lt;p&gt;I also see that I didn&amp;#39;t provide the best info in terms of what works and what does not work in my original post, sorry for that. If I try to only build the project it finishes successfully, but if I run &amp;quot;Flash to board&amp;quot; or &amp;quot;Erase and flash to board&amp;quot; it fails during re re-building step.&lt;/p&gt;
&lt;p&gt;So you might be able to reproduce the problem by:&lt;/p&gt;
&lt;p&gt;1. Copy application_update sample from 1.9.1 SDK and common folder in parent directory.&lt;br /&gt;2. Build for nrf9160dk_nrf9160ns (SDK 1.9.1, Toolchain v2.0.0, nRF Connect for VS Code v2025.4.106)&lt;br /&gt;3. Complete build successfully.&lt;br /&gt;4. Edit something some code to trigger a file change.&lt;br /&gt;5. Run: Erase and flash active image to board.&lt;/p&gt;
&lt;p&gt;^^This only fails if it has to build and flash in sequence. In my projects, flashing always triggers re-build which is why it is particularly inconvenient. See full attached build log in VSCode below. I have also attached the .vscode-nrf-connect.json for the configuration used. Please let me know if you need anything else.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/vscode_5F00_output.txt"&gt;devzone.nordicsemi.com/.../vscode_5F00_output.txt&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/.vscode_2D00_nrf_2D00_connect.json"&gt;devzone.nordicsemi.com/.../.vscode_2D00_nrf_2D00_connect.json&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/532602?ContentTypeID=1</link><pubDate>Wed, 23 Apr 2025 12:37:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a32b2701-fd1c-4335-af48-9f7a602578b3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I believe you are still talking about installing and uninstalling the SDKs v2.8.0 and v2.9.0. Did you also remove/uninstall the toolchains?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/532329?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 11:57:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cab5513-430a-4e03-8dbc-bd6ae57a7f3c</guid><dc:creator>Erlend Isachsen</dc:creator><description>&lt;p&gt;Hi. Apologies for the delay, I was out of office for Easter.&lt;/p&gt;
&lt;p&gt;I can confirm that I&amp;#39;m using VS Code for building my application.I have not tried to build from the command line.&lt;/p&gt;
&lt;p&gt;All my SDKs and toolchains except from 2.9.0 have been installed with the toolchain manager from nRF Connect for desktop (I tried to install 2.9.0 through both VSCode and toolchain manager as described in my original post). In my first test, I tried installing 2.9.0 through VSCode. When I removed 2.8.0, I can&amp;#39;t recall how I did it, but since most of the files remained in my file system I believe I did it from VSCode. Only after uninstalling 2.8.0 through VSCode, rebooting my computer and attempting to build through VSCode did I remove the 2.8.0 folder from my file system. 2.9.0 was uninstalled through VSCode only. Please see the attached txt, I tried to describe the installation states in each test there.&lt;/p&gt;
&lt;p&gt;I can try to build one of the 1.9.1 samples and send the entire build log, and then test through command line and update nrfutil as soon as I get time to look more into this. I currently have version 7.13.0 of nrfutil installed.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/toolchain_5F00_sdk_5F00_versions.txt"&gt;devzone.nordicsemi.com/.../toolchain_5F00_sdk_5F00_versions.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/531708?ContentTypeID=1</link><pubDate>Mon, 14 Apr 2025 13:25:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bbca035-da97-4133-9362-2e754a48053e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;By the way, when you say that you removed the 2.8.0 and 2.9.0. How exactly did you do this? Did you delete the v2.8.0 and v2.9.0 folders? How did you install it in the first place? I guess that a toolchain followed this installation. Did you remove the toolchain as well? (exactly how to do this depends on how you installed the SDK).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/531700?ContentTypeID=1</link><pubDate>Mon, 14 Apr 2025 12:57:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bbc8622-b118-4964-8794-c992e5a3b200</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;After the upgrade, (in your current state) can you please send the entire build log? Including the build log that is attached at the very beginning?&lt;/p&gt;
&lt;p&gt;And can you confirm that you are building the v1.9.1 application via VS Code?&lt;/p&gt;
&lt;p&gt;Have you tried using command line?&amp;nbsp;There is a file in the SDK that you can call from any command terminal:&lt;/p&gt;
&lt;p&gt;v1.9.1\toolchain\cmd\env.cmd, which will set up the toolchain in that command terminal. Then you can use &amp;quot;west build -b &amp;lt;board_name&amp;gt; -d &amp;lt;build folder name&amp;gt; &amp;lt;path to application directory&amp;gt;&amp;quot;. Does that manage to build? Mostly for debugging purposes. I am trying to understand why it fails.&lt;/p&gt;
&lt;p&gt;Also, do you have &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Util"&gt;nrfutil&lt;/a&gt; installed (nb: new version)? If not, can you please install it, and then call these commands:&lt;/p&gt;
&lt;p&gt;nrfutil self-upgrade&lt;/p&gt;
&lt;p&gt;nrfutil upgrade&lt;/p&gt;
&lt;p&gt;nrfutil self-upgrade&lt;/p&gt;
&lt;p&gt;nrfutil upgrade&lt;/p&gt;
&lt;p&gt;nrfutil install device&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And see if that changes anything.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/531559?ContentTypeID=1</link><pubDate>Fri, 11 Apr 2025 15:24:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ced8f1ea-27da-4844-b20d-9216fdbb9fbf</guid><dc:creator>Erlend Isachsen</dc:creator><description>&lt;p&gt;Hi. Thank you for the suggestions, although it didn&amp;#39;t seem to change anything.&lt;/p&gt;
&lt;p&gt;I tried to install 2.9.0, after which 2.8.0 and 2.9.0 worked but not 1.9.1 as before. Then, I tried to reboot my computer and ended up with the same result. Next, I uninstalled 2.8.0. As before, 2.9.0 worked but not 1.9.1. Restarted by computer again and still the same result. I installed and uninstalled the toolchain versions with the commands in VSCode.&lt;/p&gt;
&lt;p&gt;After that, I checked my C:/ncs folder to see that 2.8.0 was still there, and I did not find 2.9.0. So I took the extra step to delete 2.8.0 in my file explorer, uninstall 2.9.0 in VSCode, install 2.9.0 in the toolchain manager and restart my computer. Still the same error as far as I can tell.&lt;/p&gt;
&lt;p&gt;On a separate note, I checked my nRF Connect for VS Code extension version (2025.1.127) and found I did not have the april update (which I believe was released today, after my original question?). I see this issue is addressed in this update since it prompts me that support for 1.x.x toolchains is discontinued. It also states &amp;quot;If you are working with the nRF Connect SDK v1.x, select the nRF Connect SDK Toolchain v2.0.0 for your configuration&amp;quot;. So I guess the intended strategy is to install toolchain version 2.0.0 and use that for my applications in 1.x.&lt;/p&gt;
&lt;p&gt;So I tried this in nRF Connect for VS Code v2025.4.106, but flashing with toolchian verison 2.0.0 does not work either. Without comparing the errors line by line, the error in 2.0.0 appears to be the same as in 1.9.1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Must toolchain version match SDK version?</title><link>https://devzone.nordicsemi.com/thread/531538?ContentTypeID=1</link><pubDate>Fri, 11 Apr 2025 13:15:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bf52277-1ee4-4190-911b-81a91e9a0841</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Yes. This is actually a bug. I don&amp;#39;t recall the details (but I will dig it up if we can&amp;#39;t quickly solve this). Can you please try to install v2.9.0 as well? And if the issue doesn&amp;#39;t go away, can you uninstall v2.8.0 (and keep v2.9.0)? Does that change anything?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>