<?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>Problems with IAR 8.20 with SDK 15.0.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33562/problems-with-iar-8-20-with-sdk-15-0-0</link><description>Hello, 
 I tried to port my projekt into SDK 15.0.0. During the compilation process I often get the warning: 
 Warning: The header file &amp;#39;cmsis_iar.h&amp;#39; is obsolete and should not be used. A sutiable version is automatically included from the CMSIS-core</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Jul 2018 09:34:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33562/problems-with-iar-8-20-with-sdk-15-0-0" /><item><title>RE: Problems with IAR 8.20 with SDK 15.0.0</title><link>https://devzone.nordicsemi.com/thread/138918?ContentTypeID=1</link><pubDate>Wed, 04 Jul 2018 09:34:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b3a30e8-3142-495f-8619-6f220c9587e4</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello &lt;a href="https://devzone.nordicsemi.com/members/jminack"&gt;JMinack&lt;/a&gt; and &lt;a href="https://devzone.nordicsemi.com/members/jonnavittula-sridhar"&gt;Sridhar Jonnavittula&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding IAR 8, see Rune&amp;#39;s answer below to fix the cmsis warning. Also see the comment regarding precompiled libraries.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you get the hardfaults when not debugging?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When the hardfaults appear, have you stopped at any breakpoints before the hardfault? Or has it been running continuously since the start of the main() function?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with IAR 8.20 with SDK 15.0.0</title><link>https://devzone.nordicsemi.com/thread/137769?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 23:45:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a530fec5-93a9-4a85-bf8f-e986b0ec9486</guid><dc:creator>JMinack</dc:creator><description>&lt;p&gt;Hi Thomas,&lt;/p&gt;
&lt;p&gt;I am seeing exactly the same problem. Setup:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - IAR 8.22.1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - SDK 15.0.0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Running ble_app_uart example project&lt;/p&gt;
&lt;p&gt;I see the same hard fault during debugging. What is worse for me is that IAR then crashes and requires a restart.&lt;/p&gt;
&lt;p&gt;Rune: Could you please clarify how to determine whether IAR is using one of the libraries mentioned in the release note? When I look at Options-&amp;gt;Linker-&amp;gt;Library, the Additional Libraries field is empty.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;John&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with IAR 8.20 with SDK 15.0.0</title><link>https://devzone.nordicsemi.com/thread/132870?ContentTypeID=1</link><pubDate>Wed, 23 May 2018 06:50:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9d00600-a6ae-4d4d-9ec8-0278783eb6b7</guid><dc:creator>Sridhar Jonnavittula</dc:creator><description>&lt;p&gt;Hi stoni,&lt;/p&gt;
&lt;p&gt;I also face this issue (&lt;span&gt;The processor has escalated a configurable-priority exception to HardFault) but only in examples I modified. I am using IAR workbench for ARM 8.22.2. Did you move to nordic specified version or resolved issues with IAR what you have worked with. If that is the case please tell me the solution.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with IAR 8.20 with SDK 15.0.0</title><link>https://devzone.nordicsemi.com/thread/129038?ContentTypeID=1</link><pubDate>Thu, 19 Apr 2018 17:53:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd6545ff-9377-4cee-a6cb-9cb1acd119c7</guid><dc:creator>Stoni</dc:creator><description>&lt;p&gt;Okay thank you very much. This information was very helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with IAR 8.20 with SDK 15.0.0</title><link>https://devzone.nordicsemi.com/thread/128868?ContentTypeID=1</link><pubDate>Mon, 16 Apr 2018 09:03:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:065ce5d7-e739-4469-8f8d-1d42f3c1481c</guid><dc:creator>Rune Holmgren</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The release is targeting IAR 7.80.4. I recommend trying that version if you are having issues. That being said, it is typically possible to run projects on IAR 8.20.X.&lt;/p&gt;
&lt;p&gt;The release notes for nRF5 SDK 15.0.0 available within the SDK at &amp;quot;nRF5_SDK_15.0.0_a53641a/documentation/release_notes.txt&amp;quot; states the following:&lt;/p&gt;
&lt;p&gt;&amp;quot;The following toolchains/devices have been used for testing and&lt;br /&gt;verification:&lt;br /&gt;- ARM: MDK-ARM version 5.18a&lt;br /&gt;- GCC: GCC ARM Embedded 6.3 2017-q2-update &lt;br /&gt;- IAR: IAR Workbench 7.80.4 (IAR 8 - see note below)&lt;br /&gt;- SES: SES 3.34&lt;br /&gt;- Linux: Ubuntu 17.04, Kernel 4.10.0.&lt;br /&gt;- Jlink: 6.22g&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;*****&lt;br /&gt;Note for IAR 8 users:&lt;br /&gt;Libraries for IAR 8 require wchar_t to be of size 32 bits while IAR 7 requires 16 bits.&lt;br /&gt;To run a project using IAR 8, follow these intructions:&lt;br /&gt;&amp;nbsp;- Open the IAR project in IAR 8. The IAR workbench will automatically generate an IAR 8 compatible project file.&lt;br /&gt;&amp;nbsp;- If the project contains one of the precompiled libraries listed below, replace it with the IAR 8 compatible alternative&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;(there are no projects targeting nRF51 in this SDK).&lt;br /&gt;&amp;nbsp;- Save the project.&lt;br /&gt;&amp;nbsp;- When building the project, you might get the warning: &amp;quot;The header file &amp;#39;cmsis_iar.h&amp;#39; is obsolete and should not be used. ....&amp;quot;.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;The problem is described in DevZone post: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/31123/iar-ewarm-8-22-1-complains-about-cmsis_iar-h"&gt;devzone.nordicsemi.com/.../iar-ewarm-8-22-1-complains-about-cmsis_iar-h&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;The solution is to remove all occurrences of #include &amp;lt;cmsis_iar.h&amp;gt;.&lt;/p&gt;
&lt;p&gt;The affected libraries are&lt;br /&gt;- micro-ecc crypto:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- IAR 7: Includes the library located in the folder named &amp;quot;…_iar\…&amp;quot;.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- IAR 8: Switch to using the library from the folder named &amp;quot;…_armgcc\…&amp;quot;.&lt;br /&gt;- nrf_cc310, nrf_cc310_bl, and nrf_oberon:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- IAR 7: Includes the library where &amp;quot;_short_wchar_&amp;quot; is part of the file name.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- IAR 8: Switch to using the library with similar naming, but where the &amp;quot;short_wchar&amp;quot; is removed.&lt;br /&gt;- Gazell, NFC Tag, and 802.15.4:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- IAR 7: Includes the library where the file name ends with &amp;quot;_iar&amp;quot;.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- IAR 8: Switch to using the library with similar file name that ends with &amp;quot;_gcc&amp;quot;.&lt;br /&gt;*****&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Rune Holmgren&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>