<?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 SDK1.8.0 simple code infinite restart</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83111/nrf-connect-sdk1-8-0-simple-code-infinite-restart</link><description>Hi, 
 nRF Connect SDK1.8.0, Windows10 X64. 
 as follow simple code，it will infinite restart. 
 but all short change to int or char, it work well. 
 
 
 
 the same code, run in nRF SDK will be ok,both Keil5 and SES.as follow: 
 
 
 
 &amp;quot;while ((size--)&amp;gt;0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Dec 2021 07:05:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83111/nrf-connect-sdk1-8-0-simple-code-infinite-restart" /><item><title>RE: nRF Connect SDK1.8.0 simple code infinite restart</title><link>https://devzone.nordicsemi.com/thread/345173?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 07:05:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e00dbf9-7a74-4d92-a9bd-ebc322d1c3a6</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Great to hear.&lt;/p&gt;
&lt;p&gt;Hope you have a wonderful day!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect SDK1.8.0 simple code infinite restart</title><link>https://devzone.nordicsemi.com/thread/345171?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 06:51:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74e14029-4e75-4085-b035-f0dfe0b055db</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;thanks,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_MAIN_STACK_SIZE=4096&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;it work well.&lt;/p&gt;
&lt;p&gt;Best&amp;nbsp;&lt;span&gt;&amp;nbsp;regards,&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect SDK1.8.0 simple code infinite restart</title><link>https://devzone.nordicsemi.com/thread/345084?ContentTypeID=1</link><pubDate>Mon, 27 Dec 2021 09:45:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:daf9a240-0bc1-4069-9f19-5e200bd5c33d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There&amp;#39;s most likely a fault due to MPU triggering.&lt;/p&gt;
&lt;p&gt;Can you try adjusting the CONFIG_MAIN_STACK_SIZE=4096 and see if this works better?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>