<?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>Having Trouble getting the nRF-Connected SDK running</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68860/having-trouble-getting-the-nrf-connected-sdk-running</link><description>Hello everyone, 
 I getting stocked now for 1,5 days to get the nRF-Connected SDK running 
 I am using macOSCatalina 10.15.7 
 segger 5.20 
 Nordic SDK Tag v1.4.0 
 using python 3.9.0 via pyenv (before tried it without pyenv, also doesn&amp;#39;t working) I was</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Dec 2020 08:32:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68860/having-trouble-getting-the-nrf-connected-sdk-running" /><item><title>RE: Having Trouble getting the nRF-Connected SDK running</title><link>https://devzone.nordicsemi.com/thread/283471?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2020 08:32:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af5763fa-04e0-4eaf-b044-d4f88477c65a</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;I see! Glad I could help!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having Trouble getting the nRF-Connected SDK running</title><link>https://devzone.nordicsemi.com/thread/282499?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2020 15:02:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0654b98-62c9-4568-a1e4-f9c2dc35619e</guid><dc:creator>Rudolph Aschmoneit</dc:creator><description>&lt;p&gt;Hey, yes I Did call the source zephyr-env.sh but I always used the icon, and there is the problem, it is not the same terminal like this where the&amp;nbsp;&lt;span&gt;source zephyr-env.sh happend, opening the Segger Studio from the same terminal via &amp;quot;open -a&amp;quot; works. Thanks a lot for your help and this Tip! So In my Opinion this thread could be closed&amp;nbsp;or marked as resolved.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having Trouble getting the nRF-Connected SDK running</title><link>https://devzone.nordicsemi.com/thread/282493?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2020 14:47:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98272acb-e097-4377-9514-3a238ceecaed</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi again!&lt;br /&gt;&lt;br /&gt;Did you call &amp;quot;source zephyr-env.sh&amp;quot; again aswell? There shouldn&amp;#39;t be any more temporary outside the build folder (except the zephyr cache under Library/Caches, but it shouldn&amp;#39;t be necessary to delete that often).&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Do you open SES from the terminal or with the app icon? If the latter, could you try to open it from the terminal, after calling &amp;quot;source zephyr-env.sh&amp;quot; first?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having Trouble getting the nRF-Connected SDK running</title><link>https://devzone.nordicsemi.com/thread/282451?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2020 13:17:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5f92c9c-3551-4084-8713-3d1e32e13dfc</guid><dc:creator>Rudolph Aschmoneit</dc:creator><description>&lt;p&gt;Hy, thanks for your reply,&lt;/p&gt;
&lt;p&gt;I tried the solution you mentioned before, but I tried it now another time:&lt;br /&gt;&lt;br /&gt;I get the following Error:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Creating solution asset_tracker.emProject&lt;br /&gt; /usr/local/Cellar/cmake/3.19.1/bin/cmake -GNinja -DBOARD=nrf9160dk_nrf9160ns -DBOARD_DIR=/Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/zephyr/boards/arm/nrf9160dk_nrf9160 -B/Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/applications/asset_tracker/build_nrf9160dk_nrf9160ns -S/Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/applications/asset_tracker -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/Applications/ARM -DPYTHON_EXECUTABLE=/Users/RudolphAschmoneit/.pyenv/shims/python -DCMAKE_MAKE_PROGRAM=/usr/local/Cellar/ninja/1.10.1_3/bin/ninja -DDTC=/usr/local/Cellar/dtc/1.6.0/bin/dtc -D WEST=/Users/RudolphAschmoneit/.pyenv/shims/west -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=/Applications/arm_segger_embedded_studio_v520b_macos_x64_nordic/html/configure_nordic_project_menuconfig.py&lt;br /&gt; -- Application: /Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/applications/asset_tracker&lt;br /&gt; -- Zephyr version: 2.4.0 (/Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/zephyr)&lt;br /&gt; -- Found Python3: /Users/RudolphAschmoneit/.pyenv/versions/3.9.0/bin/python3.9 (found suitable exact version &amp;quot;3.9.0&amp;quot;) found components: Interpreter &lt;br /&gt; -- Found west (found suitable version &amp;quot;0.8.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)&lt;br /&gt; -- Board: nrf9160dk_nrf9160ns&lt;br /&gt; -- Cache files will be written to: /Users/RudolphAschmoneit/Library/Caches/zephyr&lt;br /&gt; -- Found dtc: /usr/local/Cellar/dtc/1.6.0/bin/dtc (found suitable version &amp;quot;1.6.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)&lt;br /&gt; -- Found toolchain: gnuarmemb (/Applications/ARM)&lt;br /&gt; -- Found BOARD.dts: /Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160ns.dts&lt;br /&gt; -- Generated zephyr.dts: /Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/applications/asset_tracker/build_nrf9160dk_nrf9160ns/zephyr/zephyr.dts&lt;br /&gt; -- Generated devicetree_unfixed.h: /Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/applications/asset_tracker/build_nrf9160dk_nrf9160ns/zephyr/include/generated/devicetree_unfixed.h&lt;br /&gt; Parsing /Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/applications/asset_tracker/Kconfig&lt;br /&gt; Loaded configuration &amp;#39;/Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160ns_defconfig&amp;#39;&lt;br /&gt; Merged configuration &amp;#39;/Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/applications/asset_tracker/prj.conf&amp;#39;&lt;br /&gt; Configuration saved to &amp;#39;/Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/applications/asset_tracker/build_nrf9160dk_nrf9160ns/zephyr/.config&amp;#39;&lt;br /&gt; Kconfig header saved to &amp;#39;/Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/applications/asset_tracker/build_nrf9160dk_nrf9160ns/zephyr/include/generated/autoconf.h&amp;#39;&lt;br /&gt; -- The C compiler identification is GNU 9.3.1&lt;br /&gt; -- The CXX compiler identification is GNU 9.3.1&lt;br /&gt; -- The ASM compiler identification is GNU&lt;br /&gt; -- Found assembler: /Applications/ARM/bin/arm-none-eabi-gcc&lt;br /&gt; -- Application: /Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/samples/spm&lt;br /&gt; -- Zephyr version: 2.4.0 (/Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/zephyr)&lt;br /&gt; -- Found Python3: /Users/RudolphAschmoneit/.pyenv/versions/3.9.0/bin/python3.9 (found suitable exact version &amp;quot;3.9.0&amp;quot;) found components: Interpreter &lt;br /&gt; -- Found west (found suitable version &amp;quot;0.8.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)&lt;br /&gt; -- Board: nrf9160dk_nrf9160&lt;br /&gt; -- Cache files will be written to: /Users/RudolphAschmoneit/Library/Caches/zephyr&lt;br /&gt; -- Found toolchain: gnuarmemb (/Applications/ARM)&lt;br /&gt; -- Found BOARD.dts: /Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160.dts&lt;br /&gt; -- Found devicetree overlay: /Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/samples/spm/nrf9160dk_nrf9160.overlay&lt;br /&gt; -- Generated zephyr.dts: /Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/applications/asset_tracker/build_nrf9160dk_nrf9160ns/spm/zephyr/zephyr.dts&lt;br /&gt; -- Generated devicetree_unfixed.h: /Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/applications/asset_tracker/build_nrf9160dk_nrf9160ns/spm/zephyr/include/generated/devicetree_unfixed.h&lt;br /&gt; Parsing /Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/zephyr/Kconfig&lt;br /&gt; Loaded configuration &amp;#39;/Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_defconfig&amp;#39;&lt;br /&gt; Merged configuration &amp;#39;/Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/applications/asset_tracker/spm.conf&amp;#39;&lt;br /&gt; Merged configuration &amp;#39;/Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/applications/asset_tracker/build_nrf9160dk_nrf9160ns/spm/zephyr/misc/generated/extra_kconfig_options.conf&amp;#39;&lt;br /&gt; Configuration saved to &amp;#39;/Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/applications/asset_tracker/build_nrf9160dk_nrf9160ns/spm/zephyr/.config&amp;#39;&lt;br /&gt; Kconfig header saved to &amp;#39;/Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/applications/asset_tracker/build_nrf9160dk_nrf9160ns/spm/zephyr/include/generated/autoconf.h&amp;#39;&lt;br /&gt; -- Configuring incomplete, errors occurred!&lt;br /&gt; See also &amp;quot;/Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/applications/asset_tracker/build_nrf9160dk_nrf9160ns/spm/CMakeFiles/CMakeOutput.log&amp;quot;.&lt;br /&gt; -- Configuring incomplete, errors occurred!&lt;br /&gt; See also &amp;quot;/Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/applications/asset_tracker/build_nrf9160dk_nrf9160ns/CMakeFiles/CMakeOutput.log&amp;quot;.&lt;br /&gt; See also &amp;quot;/Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/nrf/applications/asset_tracker/build_nrf9160dk_nrf9160ns/CMakeFiles/CMakeError.log&amp;quot;.&lt;br /&gt; Including boilerplate (Zephyr base): /Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/zephyr/cmake/app/boilerplate.cmake&lt;br /&gt; nrf9160dk_nrf9160ns.dts.pre.tmp:357.32-361.5: Warning (simple_bus_reg): /soc/cryptocell-sw: missing or empty reg/ranges property&lt;br /&gt; nrf9160dk_nrf9160ns.dts.pre.tmp:56.42-68.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@40000000/kmu@39000)&lt;br /&gt; nrf9160dk_nrf9160ns.dts.pre.tmp:305.19-311.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@40000000/power@5000)&lt;br /&gt; Changed board to secure nrf9160dk_nrf9160 (NOT NS)&lt;br /&gt; &lt;br /&gt; === child image spm - begin ===&lt;br /&gt; Including boilerplate (Zephyr base): /Users/RudolphAschmoneit/Documents/Arbeit/VRaktion/nordic/nRFConnectedSDK/ncs/zephyr/cmake/app/boilerplate.cmake&lt;br /&gt; CMake Error: CMake was unable to find a build program corresponding to &amp;quot;Ninja&amp;quot;. CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.&lt;br /&gt; CMake Error at ../../cmake/multi_image.cmake:214 (message):&lt;br /&gt; CMake generation for spm failed, aborting. Command: 1&lt;br /&gt; Call Stack (most recent call first):&lt;br /&gt; ../../cmake/multi_image.cmake:75 (add_child_image_from_source)&lt;br /&gt; ../../samples/CMakeLists.txt:22 (add_child_image)&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; error: cmake failed&lt;br /&gt; create_nordic_project.py failed (1)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;So Cmake is unable to find Ninja.&lt;/p&gt;
&lt;p&gt;I double checked the path of Ninja in the SES Tools/Options/nRF Connect Section,&lt;/p&gt;
&lt;p&gt;I get&amp;nbsp;a similar Error when I build from Commandline too, when I&amp;nbsp;forget to delete the old build folder before, I think that have something to do with the Cmake Cache Stuff ?&lt;/p&gt;
&lt;p&gt;But&amp;nbsp;I also have double checked if the build folder is deleted before opening SES. Are there Nordic specific Caches I also have to delete before? But in my understanding anything temporary goes to the build folder, am I right?&lt;br /&gt;&lt;br /&gt;Thank you in Advance.&lt;/p&gt;
&lt;p&gt;Many Greetings&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having Trouble getting the nRF-Connected SDK running</title><link>https://devzone.nordicsemi.com/thread/282447?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2020 13:00:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82b7a0bb-246d-49aa-b44b-ed4ee65d703a</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello, Rudolph!&lt;br /&gt;&lt;br /&gt;Good to hear that you are managing to build now. We are aware that there is a bug in the newest version of CMake and it is being worked on!&lt;br /&gt;&lt;br /&gt;As for building in SES, could you try the following:&lt;br /&gt;1. Close SES&lt;br /&gt;2. Call the following command from terminal:&amp;nbsp;&lt;strong&gt;rm -r ~/Library/Caches/zephyr&lt;/strong&gt;&lt;br /&gt;3. Reopen SES and open your desired NCS project with a &amp;quot;Clean Build Folder&amp;quot;&lt;br /&gt;&lt;br /&gt;Does that help?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having Trouble getting the nRF-Connected SDK running</title><link>https://devzone.nordicsemi.com/thread/282399?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2020 09:34:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d3e2d09-14d9-4add-8022-9c2050a3c728</guid><dc:creator>Rudolph Aschmoneit</dc:creator><description>&lt;p&gt;Ok, I doesn&amp;#39;t downgrade cmake, but I implemented the Workaround mentioned here:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/30272/commits/86bc6e1ae4c034f23ba6606c3aaf190dcb6c0751"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/30272/commits/86bc6e1ae4c034f23ba6606c3aaf190dcb6c0751&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Now I can build zephyr and also nRF_Connect_SDK Applications via Toolchain with this Commands:&lt;/p&gt;
&lt;p&gt;source &amp;lt;NCS root folder&amp;gt;/zephyr/zephyr-env.sh&lt;/p&gt;
&lt;p&gt;cd &amp;lt;NCS root folder&amp;gt;/nrf/applications/asset tracker&lt;/p&gt;
&lt;p&gt;west build -b nrf9160dk_nrf9160ns -d build&lt;/p&gt;
&lt;p&gt;west flash&lt;br /&gt;&lt;br /&gt;Segger is still not working because of Kconfig but I haven&amp;#39;t time to get deeper in to this and building via Commandline is absolutly fine for me. So let&amp;#39;s hope that cmake will fix there error soon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having Trouble getting the nRF-Connected SDK running</title><link>https://devzone.nordicsemi.com/thread/282319?ContentTypeID=1</link><pubDate>Fri, 27 Nov 2020 16:55:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93b91d4a-1723-4d0c-b1e4-0d5821e41a7b</guid><dc:creator>Rudolph Aschmoneit</dc:creator><description>&lt;p&gt;After I&amp;nbsp;got&amp;nbsp;stuck here, I tried to get zephyr stand alone running, so the error I have mentioned above when building in the command line was in my opinion while there was no&amp;nbsp;&lt;span&gt;ZEPHYR_TOOLCHAIN_VARIANT set, in the getting started with zephyr this is explained a bit more in depth, but maybe someone could explain like Nordic is handling this, or is this handeld by segger, cause segger gets the path to the toolchain,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;the other error I got, when using segger is&amp;nbsp;obviously related to an buf in cmake 3.19/3.19.1 as mentioned here:&lt;br /&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/30272/commits/86bc6e1ae4c034f23ba6606c3aaf190dcb6c0751"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/30272/commits/86bc6e1ae4c034f23ba6606c3aaf190dcb6c0751&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I will try this workaround and/or downgrade cmake and will try get nRF_Connected_SDK running again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having Trouble getting the nRF-Connected SDK running</title><link>https://devzone.nordicsemi.com/thread/282267?ContentTypeID=1</link><pubDate>Fri, 27 Nov 2020 13:34:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cc7ed84-1e3b-4818-9c9a-511115cc9319</guid><dc:creator>Rudolph Aschmoneit</dc:creator><description>&lt;p&gt;Oh I forgot to mention that the nrf9160 Board I am using is working, I could update Firmware and ad a application as hex and connect it to nordic cloud, so this is fine&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>