<?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>NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97796/nrfconnect-main-has-no-infinite-loop</link><description>first try to compile an run NRFconnect Zephyr &amp;quot;hello world&amp;quot;. 
 It compiles, flushes and hits a breakpoint at printk(). 
 
 I don&amp;#39;t see anything printed on Jlink RTT. 
 Also, I don&amp;#39;t understand how it works as main() does not have an infinite while(1)</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Apr 2023 05:41:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97796/nrfconnect-main-has-no-infinite-loop" /><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/420644?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 05:41:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:735389d7-e4b9-4f52-9213-6031edb1c357</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Johanan&lt;/p&gt;
&lt;p&gt;Good to hear that you got it working finally!&lt;/p&gt;
&lt;p&gt;Only an engineer can appreciate the achievement of making a LED blink ;)&lt;/p&gt;
&lt;p&gt;I agree it&amp;#39;s annoying not to know the root cause. If it happens again please let us know.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/420616?ContentTypeID=1</link><pubDate>Sat, 15 Apr 2023 16:58:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e20610f9-4bac-4bf2-be35-dc3cdde17de1</guid><dc:creator>Johan.h</dc:creator><description>&lt;p&gt;Well, good news.&lt;/p&gt;
&lt;p&gt;After uninstalling EVERYTHING that has to do with NRF, including Jlink driver,cleaning every NRF or Nordic key from registry manually, and reinstalling all, it seems to work. I can run a blinking LED,&lt;/p&gt;
&lt;p&gt;What an achievement :-)&lt;/p&gt;
&lt;p&gt;Unfortunately, I actually don&amp;#39;t have a clue what was the source of the problem. I used brute force to solve it.&lt;/p&gt;
&lt;p&gt;&lt;img height="223" src="https://devzone.nordicsemi.com/resized-image/__size/446x446/__key/communityserver-discussions-components-files/4/pastedimage1681577600345v1.png" width="223" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Johanan (ticket can be closed, of course)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/419736?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2023 13:38:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c09b46e-0f72-4b00-a8d2-f0a231f0ca94</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Johanan&lt;/p&gt;
&lt;p&gt;Thanks a lot for the update. I will await further information from you then.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/419622?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2023 10:35:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34cc3142-9444-47db-bd3e-0c5d0c902027</guid><dc:creator>Johan.h</dc:creator><description>&lt;p&gt;Since it looks like a problem with some driver, I decided to remove all Nordic and Seger software from the PC.&lt;/p&gt;
&lt;p&gt;Then I clean all registry entries with Nordic, Jlink, nrf, Segger, then I will try to re-install all.&lt;/p&gt;
&lt;p&gt;I am in the process; will let you know.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Johanan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/419619?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2023 10:25:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3d7d565-931b-40ae-9204-0d7a38930365</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Johanan&lt;/p&gt;
&lt;p&gt;Sorry for the slow response on this one.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you had any progress on this on your end or is the status still the same?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is hard to debug an issue related to a specific computer, but if you&amp;#39;re still having problems I will try to come up with some other things you can try.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/418539?ContentTypeID=1</link><pubDate>Fri, 31 Mar 2023 10:29:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:722e3c88-b74f-4dbe-a907-392c5d55a59d</guid><dc:creator>Johan.h</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Here is a screen shot.&lt;/p&gt;
&lt;p&gt;* Jlink is detected in Device Manger.&lt;/p&gt;
&lt;p&gt;* nrjprog output in shell window.&lt;/p&gt;
&lt;p&gt;* in VSCode - Connected Device, No device found, nothing happens trying to flash.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:462px;max-width:501px;" height="462" src="https://devzone.nordicsemi.com/resized-image/__size/1002x924/__key/communityserver-discussions-components-files/4/pastedimage1680258644798v1.png" width="501" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Johanan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/418472?ContentTypeID=1</link><pubDate>Fri, 31 Mar 2023 06:20:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f719b8e0-1484-4dad-ad7e-febc08587981</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Johanan&lt;/p&gt;
&lt;p&gt;How does it fail on the non working PC?&lt;/p&gt;
&lt;p&gt;Can you run &lt;strong&gt;&lt;em&gt;nrfjprog -e&lt;/em&gt;&lt;/strong&gt; or &lt;strong&gt;&lt;em&gt;nrfjprog --recover&lt;/em&gt;&lt;/strong&gt; successfully?&amp;nbsp;&lt;br /&gt;If not, can you share the log output?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What if you try to flash the code from VSCode, what happens in this case?&lt;br /&gt;Can you share the terminal output?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/418167?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2023 17:14:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e1b9297-47e4-47a0-8f40-765d2dc316cd</guid><dc:creator>Johan.h</dc:creator><description>&lt;p&gt;same version:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:107px;max-width:571px;" height="107" src="https://devzone.nordicsemi.com/resized-image/__size/1142x214/__key/communityserver-discussions-components-files/4/pastedimage1680110007556v3.png" width="571" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/418011?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2023 07:23:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb3a3863-6f29-4b31-b208-6d0a57bbe425</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What kind of PC is it?&lt;/p&gt;
&lt;p&gt;Could you check the version of nrfjprog using the &lt;strong&gt;&lt;em&gt;nrfjprog -v&lt;/em&gt; &lt;/strong&gt;command, both on the working and non working PC?&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t have the same version you can download the latest version of the nRF Command Line tools &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/417788?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2023 05:54:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e01bd132-5e3e-4a8d-bed1-02c1eab1d96a</guid><dc:creator>Johan.h</dc:creator><description>&lt;p&gt;I have an update. The boards&amp;nbsp;&amp;nbsp;that &amp;quot;don&amp;#39;t work&amp;quot; are actually fine. The problem is at the PC.&lt;br /&gt;The PC at home, the one that I had to manually install Ninja, does not recognize the board (it does recognize the Jlink adaptor, but not DK) , but the same board&amp;nbsp;connected to my work PC, works correctly.&amp;nbsp;Any idea how to fix?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/417750?ContentTypeID=1</link><pubDate>Mon, 27 Mar 2023 18:43:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1ecd0c8-7872-44c5-ac6c-9d57d6d6416a</guid><dc:creator>Johan.h</dc:creator><description>&lt;p&gt;Yes. I have one same DK that works well, so my setting and IDE configuration is good, I am making progress in the fundamental course now, with all normal build/flush/debug options.&lt;/p&gt;
&lt;p&gt;I have two other boards that are not detected as a Nordic device. I would like to have at least one of them working.&lt;/p&gt;
&lt;p&gt;this is what I get from 1&amp;#39;st:&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/pastedimage1679942030592v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And the 2&amp;#39;nd is pretty much the same:&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/pastedimage1679942543555v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Does this mean that the NRF52 chip on the board is faulty?&lt;/p&gt;
&lt;p&gt;If no, what can I do?&lt;/p&gt;
&lt;p&gt;If yes, my options:&lt;/p&gt;
&lt;p&gt;1. Use that board only as debugger/programmer for target board using P20&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp; remove the chip and solder another chip fro a Thingy 52 I have laying around (risky, but I have the skill and tools)&lt;/p&gt;
&lt;p&gt;3. any other suggestion?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Johanan&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/417633?ContentTypeID=1</link><pubDate>Mon, 27 Mar 2023 10:37:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3b0dd14-47b4-400c-8be2-f331c55bd9ce</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Johanan&lt;/p&gt;
&lt;p&gt;Which version of the nRF52DK do you have?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You don&amp;#39;t happen to have more than one to test with?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try to run the following two commands from the command line and let me know what you get?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog --ids
nrfjprog --com&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/417528?ContentTypeID=1</link><pubDate>Sat, 25 Mar 2023 16:32:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8158e1e3-b172-4b0e-820d-ce886ebc9dc6</guid><dc:creator>Johan.h</dc:creator><description>&lt;p&gt;Well, after uninstalling all, and re install, the proem pressits.&amp;nbsp; I gave up automatic install, and installed ninja manually according to instructions&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Chocolatey:&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://chocolatey.org/packages/ninja" rel="nofollow"&gt;&lt;code&gt;choco install ninja&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Now I can build the sample code:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1679761118295v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;But the DK board is not detected. I can see it on Device Manager as Jlink, but not as DK:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:145px;max-width:414px;" alt=" " height="145" src="https://devzone.nordicsemi.com/resized-image/__size/828x290/__key/communityserver-discussions-components-files/4/pastedimage1679761310671v2.png" width="414" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Changed USB port and got this:&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/pastedimage1679763357020v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;tried to &amp;quot;Recover Board&amp;quot;, but unsuccessful.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Johanan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/417328?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 08:49:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:896ef9c2-b83f-42b2-85ff-412ed600e774</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Johanan&lt;/p&gt;
&lt;p&gt;If you open the ABOUT page in the Toolchain Manager you can enable verbose logging from there. Also remember to enable logging on the bottom right of the screen:&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/pastedimage1679647623618v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;If you have more problems with the build in the future there is a function in the nRF Connect extension for VSCode that allows you to store different system information to a file that you can share with us. By using this it is easier to identify the problem, if it is related to your system configuration:&lt;br /&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/pastedimage1679647764701v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/417316?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 08:25:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1be52488-d0e3-416e-b0f1-14b0d3637cef</guid><dc:creator>Johan.h</dc:creator><description>&lt;p&gt;I installed on another PC, I would like to re-install on my work PC, how to install with verbose logging?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/417314?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 08:22:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a8d5e8a-4923-4a42-83a8-79ab0d428354</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Johanan&lt;/p&gt;
&lt;p&gt;I was about to ask if you could reinstall with verbose logging enabled, but if you can install OK then this is probably not the issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have seen issues earlier having the application on a different drive as the SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try it again by putting the application on the C drive also, or just try to build one of the standard samples in the SDK?&lt;/p&gt;
&lt;p&gt;I typically store the SDK in a folder called c:\ncs\v2.x.x, and store projects in a folder next to it such as c:\ncs\v2.x.x_samples&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/417155?ContentTypeID=1</link><pubDate>Thu, 23 Mar 2023 14:53:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:683ced04-be29-42be-8866-339cb69245a7</guid><dc:creator>Johan.h</dc:creator><description>&lt;p&gt;well, looks like install was OK, but build has errors. Note my application folder is E:\MyWork\les1_exer1 , and sdk on c:\ncs. Is that a problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/416977?ContentTypeID=1</link><pubDate>Thu, 23 Mar 2023 08:09:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62b2f399-0f20-4a29-8648-4821fe4f779d</guid><dc:creator>Johan.h</dc:creator><description>&lt;p&gt;I am using Widows 10, 64 bits.&lt;/p&gt;
&lt;p&gt;BTW, I just installed everything on another PC, same OS.&amp;nbsp; installation completed, no issues. All looks OK.&lt;/p&gt;
&lt;p&gt;Maybe I should uninstall everything and re-install from scratch.&lt;/p&gt;
&lt;p&gt;(will not uninstall VScode, it&amp;#39;s not an option as it is used for other development, mainly Flutter)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Johanan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/416976?ContentTypeID=1</link><pubDate>Thu, 23 Mar 2023 08:03:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46ac94a0-004a-4d9c-ac40-5dcd6703fc65</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Johanan&lt;/p&gt;
&lt;p&gt;Can you let me know which OS you are using?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Windows 11?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/416908?ContentTypeID=1</link><pubDate>Wed, 22 Mar 2023 17:52:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a66cf58-c5e1-474f-b3b3-3e7c1d822d0e</guid><dc:creator>Johan.h</dc:creator><description>&lt;p&gt;here is a screenshot of VScode opens from NRF desktop, after install of sdk 2.3.0.&lt;/p&gt;
&lt;p&gt;the popup window of checking dependencies never closes and is showing the rotating indicator forever, until closed manually.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:245px;max-width:537px;" height="245" src="https://devzone.nordicsemi.com/resized-image/__size/1074x490/__key/communityserver-discussions-components-files/4/pastedimage1679507502205v1.png" width="537" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/416729?ContentTypeID=1</link><pubDate>Wed, 22 Mar 2023 09:43:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7527d05d-ef99-4e19-a569-c23d905af34e</guid><dc:creator>Johan.h</dc:creator><description>&lt;p&gt;Yes, it&amp;#39;s a Visual Studio extension running on the Visual Studio free community version. I&amp;nbsp;never tried Visual Studio on Linux or MacOS.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I understand your approach, and for myself, I try to move to VScode for better support, which I hope will not be needed after me passing that learning curve.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Johanan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/416725?ContentTypeID=1</link><pubDate>Wed, 22 Mar 2023 09:32:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63921c75-04fc-4169-a23c-7afa23f5485f</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Johanan&lt;/p&gt;
&lt;p&gt;When you open VSCode with the Nordic extensions installed you should see a window similar to this:&lt;br /&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/pastedimage1679477264351v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;As long as the nRF Connect SDK and nRF Connect Toolchain boxes are populated the toolchain should be working.&amp;nbsp;&lt;/p&gt;
[quote user="Johan.h"]BTW If you have an hour to spare, I recommend trying to download and build a project with VisualGDB[/quote]
&lt;p&gt;This is Windows only I assume?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Personally I am a Windows user, but from the Nordic side we focus on tools that work on all major platforms.&amp;nbsp;&lt;/p&gt;
[quote user="Johan.h"]it is very impressive and so much easier to use, as it does all the configuration heavy lifting automatically, easy build and debug etc.[/quote]
&lt;p&gt;If you have some more specific examples I am happy to take your input. We are continuously working on trying to make our tools more user friendly, and have dedicated engineers working on the VSCode extension for the nRF Connect SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;One of the more recent additions is a graphical interface for configuring GPIO&amp;#39;s, serial buses etc, to make the process of configuring the hardware easier.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/416472?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2023 09:38:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf7e79f0-cf6d-42e1-8e5c-6e3dda1cad02</guid><dc:creator>Johan.h</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, I installed through NRF connect desktop-&amp;gt; toolchain manager.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that my IDE using VisualGDB on Visual studio works fine, no issues.&lt;/p&gt;
&lt;p&gt;I wanted to follow the course exercises to the letter, so I try VSCode as well, where I have that issue.&lt;/p&gt;
&lt;p&gt;I will find ninja.exe, probably need to add manually to PATH, will look at this later today.&lt;/p&gt;
&lt;p&gt;BTW If you have an hour to spare, I recommend trying to download and build a project with VisualGDB, it is not a free tool (but not expensive), and have a trail period of 30 days, it is very impressive and so much easier to use, as it does all the configuration heavy lifting automatically, easy build and debug etc.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://visualgdb.com/download/"&gt;VisualGDB - Download&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:214px;max-width:457px;" height="214" src="https://devzone.nordicsemi.com/resized-image/__size/914x428/__key/communityserver-discussions-components-files/4/pastedimage1679391439664v2.png" width="457" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Johanan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/416195?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2023 08:26:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c0202a8-9f18-4253-9807-4fb91b70238b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Johanan&lt;/p&gt;
&lt;p&gt;Did you install the nRF Connect SDK through the Toolchain manager?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Where on your harddrive did you put the SDK install?&lt;/p&gt;
&lt;p&gt;Please note that the default environment for the SDK is Visual Studio Code, not Visual Studio.&amp;nbsp;&lt;br /&gt;If you try to build examples in Visual Studio I would expect build issues.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRFConnect main() has no infinite loop ?</title><link>https://devzone.nordicsemi.com/thread/416090?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2023 16:18:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d54efd54-8a0d-45fb-84a2-3bb31d8d2b52</guid><dc:creator>Johan.h</dc:creator><description>&lt;p&gt;Thanks,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I already found that course, trying to install it all on VScode (I regularly use VisualGDB extension for Visual studio).&lt;/p&gt;
&lt;p&gt;can&amp;#39;t get it to install and it looks like it can&amp;#39;t find Ninja, what am I missing? ( My apologies, but I spent over an hour on this)&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;[variant] Loaded new set of variants&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[kit] Successfully loaded 4 kits from C:\Users\Johanan\AppData\Local\CMakeTools\cmake-tools-kits.json&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[proc] The command: ninja --version failed with error: Error: spawn ninja ENOENT&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[proc] The command: ninja-build --version failed with error: Error: spawn ninja-build ENOENT&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[proc] The command: make --version failed with error: Error: spawn make ENOENT&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[main] Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable. Error: No usable generator found.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[main] Configuring folder: blinky_lees_2 &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[proc] The command: ninja --version failed with error: Error: spawn ninja ENOENT&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[proc] The command: ninja-build --version failed with error: Error: spawn ninja-build ENOENT&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[proc] The command: make --version failed with error: Error: spawn make ENOENT&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[main] Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable. Error: No usable generator found.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[proc] The command: ninja --version failed with error: Error: spawn ninja ENOENT&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[proc] The command: ninja-build --version failed with error: Error: spawn ninja-build ENOENT&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[proc] The command: make --version failed with error: Error: spawn make ENOENT&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[main] Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable. Error: No usable generator found.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>