<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>Segger Embedded Studio 6.30 causes crash if optimised</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88761/segger-embedded-studio-6-30-causes-crash-if-optimised</link><description>I&amp;#39;m developing for nRF52832, SDK 17.0.2 and softdevice S312 7.0.1. 
 After I upgraded from Segger Embedded Studio 6.22a to 6.30 I found that turning on any compiler optimisation causes a runtime error during initialisation of the softdevice. The reported</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Thu, 09 Jun 2022 19:41:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88761/segger-embedded-studio-6-30-causes-crash-if-optimised" /><item><title>RE: Segger Embedded Studio 6.30 causes crash if optimised</title><link>https://test-devzone.nordicsemi.com/thread/371737?ContentTypeID=1</link><pubDate>Thu, 09 Jun 2022 19:41:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3332993d-29ca-4729-b428-3d4f018412f8</guid><dc:creator>user102074</dc:creator><description>&lt;p&gt;Thanks Kenneth. For anyone else reading this, another relevant discussion that I found is this one:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://test-devzone.nordicsemi.com/f/nordic-q-a/87736/segger-embedded-studio-latest-incompatible-with-nrf5-sdk/"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/87736/segger-embedded-studio-latest-incompatible-with-nrf5-sdk/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Despite the statement that SDK v17.1.0 has not been tested with SES versions later than 5.42a, I have had no noticeable problems with my SDK 17 applications as I upgraded SES over the past 10 months all the way through to 6.22a. Seems like a number of people have had similar experiences. It looks like SES 6.30 introduced changes that were a step too far for SDK 17, so I&amp;#39;ll stick at SES 6.22a.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Barry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio 6.30 causes crash if optimised</title><link>https://test-devzone.nordicsemi.com/thread/371709?ContentTypeID=1</link><pubDate>Thu, 09 Jun 2022 14:55:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2822cbb-cb3a-4636-839b-948fa3ffeb3c</guid><dc:creator>user79167</dc:creator><description>&lt;p&gt;Hi Barry,&lt;/p&gt;
&lt;p&gt;thanx for the suggestion. Setting the compiler optimization to none&amp;nbsp;helped. Also the warning disappeared.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;peter&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio 6.30 causes crash if optimised</title><link>https://test-devzone.nordicsemi.com/thread/371673?ContentTypeID=1</link><pubDate>Thu, 09 Jun 2022 12:46:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98965d6e-6c5a-4369-a213-cb88ef647cbb</guid><dc:creator>user2111</dc:creator><description>&lt;p&gt;I know there are some issues with recent SES releases and the nRF5 SDK, e.g.:&lt;br /&gt;&lt;a href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88123/build-environment-problem/368739#368739"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/88123/build-environment-problem/368739#368739&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We recommend to use the toolchain listed in the release notes for a specific nRF5 SDK, e.g.:&lt;/p&gt;
&lt;p&gt;nRF5 SDK v17.1.0&lt;br /&gt;------------------------&lt;br /&gt;Release Date: August, 2021&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;The following toolchains/devices have been used for testing and verification:&lt;br /&gt; &lt;br /&gt; - ARM: MDK-ARM version 5.25 &lt;br /&gt; - GCC: GCC ARM Embedded 9.2020-q2.major&lt;br /&gt; - IAR: IAR Workbench 7.80.4&lt;br /&gt; - SES: SES 5.42a&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio 6.30 causes crash if optimised</title><link>https://test-devzone.nordicsemi.com/thread/371672?ContentTypeID=1</link><pubDate>Thu, 09 Jun 2022 12:46:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74fc0b82-5029-419a-8511-51899fc5768b</guid><dc:creator>user102074</dc:creator><description>&lt;p&gt;Peter, if this is the same problem that I encountered then you can build a release version with SES 6.30 by turning off all compiler optimisation. Set compiler optimisation for the &amp;quot;Release &amp;quot;version to &amp;quot;None&amp;quot;.&lt;/p&gt;
&lt;p&gt;Regards, Barry.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio 6.30 causes crash if optimised</title><link>https://test-devzone.nordicsemi.com/thread/371626?ContentTypeID=1</link><pubDate>Thu, 09 Jun 2022 11:09:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:909f00e1-e420-49de-a171-68f77a74b415</guid><dc:creator>user79167</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I just observed a similar problem with SES 6.30. A release version of the FW got stuck somewhere, not answering. The first problem when building the release version was a throwing a warning that was not seen before and not giving any sense. After some investigation I switched to SES 6.22a and the release version works ok, no warning in building.&lt;br /&gt;There must be something wrong with SES 6.30 or some setting is missing. Based on the warning I got it looks like missing some nRF related definitions.&lt;br /&gt;&lt;br /&gt;A debug version works ok.&lt;br /&gt;&lt;br /&gt;Any advises, please?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;/p&gt;
&lt;p&gt;peter&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>