<?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>IAR with SDK9.0; files broken</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11704/iar-with-sdk9-0-files-broken</link><description>Hello, 
 I am using SDK9.0 and softdevice 8.0 and I have worked on keil tool. Now I want to use IAR toolchain for the same project. So I started first with example projects and it is giving error Project files are broken . Still when I tried to open</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Feb 2016 09:28:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11704/iar-with-sdk9-0-files-broken" /><item><title>RE: IAR with SDK9.0; files broken</title><link>https://devzone.nordicsemi.com/thread/44253?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2016 09:28:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:927a6130-be94-44cc-affc-8a77e84ded91</guid><dc:creator>sowmya</dc:creator><description>&lt;p&gt;Update: The issue is fixed. Thank you for the support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR with SDK9.0; files broken</title><link>https://devzone.nordicsemi.com/thread/44252?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2016 09:26:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ddf85ba-36aa-4f39-91b6-50a33e5ae028</guid><dc:creator>sowmya</dc:creator><description>&lt;p&gt;Well I was able to fix issue for setting the breakpoint :). But the following code is not executing:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_8000MS_CALIBRATION, NULL);

    #if defined(S110) || defined(S130) || defined(S310)
    // Enable BLE stack.
    ble_enable_params_t ble_enable_params;
    memset(&amp;amp;ble_enable_params, 0, sizeof(ble_enable_params));
  #if defined(S130) || defined(S310)
   ble_enable_params.gatts_enable_params.attr_tab_size   = BLE_GATTS_ATTR_TAB_SIZE_DEFAULT;
  #endif
   ble_enable_params.gatts_enable_params.service_changed = IS_SRVC_CHANGED_CHARACT_PRESENT;
   err_code = sd_ble_enable(&amp;amp;ble_enable_params);
   APP_ERROR_CHECK(err_code);
  #endif
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;sd_ble_enable()&lt;/strong&gt; function is not getting called. I have defined the symbol S110. Do I am missing any settings?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR with SDK9.0; files broken</title><link>https://devzone.nordicsemi.com/thread/44251?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2016 09:22:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a7cbd48-3445-464e-a69c-b78da09050fd</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Sowmya found solution &lt;a href="https://devzone.nordicsemi.com/question/66916/iar-unable-to-set-breakpoint/"&gt;here&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR with SDK9.0; files broken</title><link>https://devzone.nordicsemi.com/thread/44250?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2016 08:21:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d85aee25-5fb4-4e5b-95be-43e8507655f2</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;seems like you have flashed the wrong softdevice version, can you please double check that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR with SDK9.0; files broken</title><link>https://devzone.nordicsemi.com/thread/44249?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2016 05:00:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed43f070-83f6-45e5-8fb0-8afcb77365cb</guid><dc:creator>sowmya</dc:creator><description>&lt;p&gt;Update: I tested with your project, no compilation error :) , but application is not running. After run, when I stop, the code is executing at address 0x2506, which is the startup code I think.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR with SDK9.0; files broken</title><link>https://devzone.nordicsemi.com/thread/44248?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2016 04:44:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80cd9851-633a-4423-a22d-4d7eeda6da7f</guid><dc:creator>sowmya</dc:creator><description>&lt;p&gt;Hello Aryan,&lt;/p&gt;
&lt;p&gt;Now I need to first work with LED_Blinky project. I changed the Target options but breakpoint is not hitting at main :( and it is not allowing to set a breakpoint. Can you provide IAR tool settings guide ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR with SDK9.0; files broken</title><link>https://devzone.nordicsemi.com/thread/44247?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2016 14:01:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4761469d-1f8f-441f-9f43-a20edd5d139f</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;You have to select device like below assuming you have QFAC, else select the appropriate one.
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5684.Capture.PNG" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;I missed to see that your problem is that you are not able to debug!!!???
I set the breakpoints and it is working OK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR with SDK9.0; files broken</title><link>https://devzone.nordicsemi.com/thread/44246?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2016 13:32:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc4699ca-f3b6-4cb5-8ae1-41a395d7b98a</guid><dc:creator>sowmya</dc:creator><description>&lt;p&gt;I had fixed the issue. Now I changed as per your guide, changed General options-&amp;gt;Target-&amp;gt; Processor variant Cortex M0 and Device -&amp;gt;NordicSemi nRF51822-QFAA to Core-&amp;gt;ARM7TDMI and Device-&amp;gt;None. Now getting the error &lt;strong&gt;Error[Ta097]: Cannot call intrinsic function &amp;quot;__nounwind __DSB&amp;quot; from Thumb mode in this architecture D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.4.0\CMSIS\Include\core_cm0.h 727&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR with SDK9.0; files broken</title><link>https://devzone.nordicsemi.com/thread/44245?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2016 13:20:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cd6c7a7-fa88-4af3-8a39-96b5667902ac</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I have
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4188.Capture.PNG" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;I just changed Project_settings-&amp;gt;Target-&amp;gt;Device and added Nordicsemiconductor there. After that it builds ok in SDK9.0 and S110_8.0
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/87116.Capture.PNG" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;I am attaching my project for you just for reference.
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5734.ble_5F00_app_5F00_hrs.rar"&gt;ble_app_hrs.rar&lt;/a&gt;
extract this to nRF51_SDK_9.0.0_2e23562\examples\&lt;/p&gt;
&lt;p&gt;The project I tried will then be nRF51_SDK_9.0.0_2e23562\examples\ble_peripheral\ble_app_hrs\pca10028\s110\iar&lt;/p&gt;
&lt;p&gt;I do not see any of the errors you mentioned :(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR with SDK9.0; files broken</title><link>https://devzone.nordicsemi.com/thread/44243?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2016 12:34:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad49217b-b590-45b4-a3e5-33e970eda647</guid><dc:creator>sowmya</dc:creator><description>&lt;p&gt;I tested with LED_Blinky example and I manually added pre-processor in compiler settings. But the board is getting reset after few seconds of the application run. Didn&amp;#39;t get the cause for that.&lt;/p&gt;
&lt;p&gt;So now I am testing with ble_app_hrs heart-rate application, for this I am getting &lt;strong&gt;array is too large&lt;/strong&gt; error for &lt;em&gt;SOFTDEVICE_HANDLER_INIT&lt;/em&gt; function. Found a solution &lt;a href="https://devzone.nordicsemi.com/question/29867/softdevice_handler_init-error-array-is-too-large/"&gt;here&lt;/a&gt;. If I change &lt;strong&gt;BLE_STACK_EVT_MSG_BUF_SIZE&lt;/strong&gt; to 1, will it effect the project workspace which I am using with keil?&lt;/p&gt;
&lt;p&gt;Update: Fixed the error &lt;strong&gt;array is too large&lt;/strong&gt; by adding &lt;strong&gt;BLE_STACK_SUPPORT_REQD&lt;/strong&gt; symbol in compiler settings. Now I am not able to debug. It is not allowing to set breakpoint.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR with SDK9.0; files broken</title><link>https://devzone.nordicsemi.com/thread/44244?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2016 12:28:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8b05ab7-e072-4e4c-ac29-c0e23395166f</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Which example project did you try? I can try to see if I see the same thing. (I am OoO rest of this week after today, so I will wait for your answer two more hours)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>