<?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>Optimization level cause to crash.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92400/optimization-level-cause-to-crash</link><description>I am new to Segger Embedded Studio, I do a test on ble_app_template demo on nRFSDK_v16.0.0 on nRF52840 with S140. There are two configurations of the project, namely Debug and 
 Release. In Debug configuration, things go well. In Release configuraion</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Sep 2022 10:54:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92400/optimization-level-cause-to-crash" /><item><title>RE: Optimization level cause to crash.</title><link>https://devzone.nordicsemi.com/thread/388540?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2022 10:54:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f7d8216-21b4-4953-aa79-d601fe88d3a4</guid><dc:creator>Young_work</dc:creator><description>&lt;p&gt;I use newest version SES. After switching to v4.18, it works. Thank you!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Young&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Optimization level cause to crash.</title><link>https://devzone.nordicsemi.com/thread/388336?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 11:49:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8f3b4ee-e169-4b35-95e7-64c192c5b402</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which version of Segger Embedded Studio are you using? Seems like &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/88389/sd_ble_gap_ppcp_set-return-error/370151"&gt;others&lt;/a&gt; have gotten similar errors when using too new SES version.&lt;/p&gt;
&lt;p&gt;We always recommend using the IDE/compiler version that the SDK was tested with, this is mentioned in the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/index.html"&gt;SDK release notes&lt;/a&gt;:&lt;/p&gt;
&lt;pre&gt;nRF5 SDK v16.0.0
------------------------
Release Date: October, 2019

The following toolchains/devices have been used for testing and verification:

 - ARM: MDK-ARM version 5.25	
 - GCC: GCC ARM Embedded 7.2018q2.update
 - IAR: IAR Workbench 7.80.4
 - &lt;span style="background-color:rgba(255, 255, 0, 1);"&gt;SES: SES 4.18&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>