<?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>which SDK is compatible with S120 v2 ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5645/which-sdk-is-compatible-with-s120-v2</link><description>Hello, 
 I am trying to use the s120\multilink_central example, using SDK v6.1 and S120 v2.0. The probleme is that I get a hardfault handler. I think that the probleme is due to incompatibility between SDK and S120. 
 I indicate that in the nordic web</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Feb 2015 13:38:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5645/which-sdk-is-compatible-with-s120-v2" /><item><title>RE: which SDK is compatible with S120 v2 ?</title><link>https://devzone.nordicsemi.com/thread/19772?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 13:38:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d740310c-eebe-4494-8377-10d7efa206e3</guid><dc:creator>mohBOSS</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;the HardFault is no longer taking place. I modified the IRAM1 address in keil like mentioned  &lt;a href="https://devzone.nordicsemi.com/question/28775/s120-v200-with-sdk-610-run-error/"&gt;here&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: which SDK is compatible with S120 v2 ?</title><link>https://devzone.nordicsemi.com/thread/19778?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 12:58:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45938f30-df8a-4b2f-ad27-de71d7c4ebb9</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;Yes, I did indeed mean OR :)
For compatibility reasons, just initializing the whole struct to zero and not configuring this field at all will work exactly as before.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: which SDK is compatible with S120 v2 ?</title><link>https://devzone.nordicsemi.com/thread/19777?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 12:57:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fcc7ece-46d0-4666-8041-feea8aec403d</guid><dc:creator>Daniel Tralamazza</dc:creator><description>&lt;p&gt;@Ulrich not OR it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: which SDK is compatible with S120 v2 ?</title><link>https://devzone.nordicsemi.com/thread/19776?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 12:51:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4bad986-0390-4e16-ab11-e36bc8a452e6</guid><dc:creator>mohBOSS</dc:creator><description>&lt;p&gt;Thanks Ulrich&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: which SDK is compatible with S120 v2 ?</title><link>https://devzone.nordicsemi.com/thread/19775?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 12:44:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98bbd49f-73e6-466f-a13f-cb1ddd278951</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;You can now choose if you want to restore only system or user attributes separately, or both if you OR them together (or set to 0, for backwards-compatibility). The intended use here is if you change your database and want to indicate the service changed characteristic to the peer. The user service states from the previous database are then invalid, but the system part should be retained. If you have a static database, restore both.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: which SDK is compatible with S120 v2 ?</title><link>https://devzone.nordicsemi.com/thread/19774?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 11:28:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a295815-932b-4574-850b-10bf596438c7</guid><dc:creator>mohBOSS</dc:creator><description>&lt;p&gt;Hi Daniel,&lt;/p&gt;
&lt;p&gt;I am confused about the two flags : BLE_GATTS_SYS_ATTR_FLAG_SYS_SRVCS and BLE_GATTS_SYS_ATTR_FLAG_USR_SRVCS.&lt;/p&gt;
&lt;p&gt;I can not understand which one of them should I use.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: which SDK is compatible with S120 v2 ?</title><link>https://devzone.nordicsemi.com/thread/19771?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 10:32:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8dad029-c496-413d-972e-8d4ba9b2d8e2</guid><dc:creator>mohBOSS</dc:creator><description>&lt;p&gt;oh! you&amp;#39;re right. Thanks again&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: which SDK is compatible with S120 v2 ?</title><link>https://devzone.nordicsemi.com/thread/19766?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 10:27:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13eaf88e-02b9-4ff5-8708-001dbe488973</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;SDK 7.x.x can be downloaded from developer.nordicsemi.com&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: which SDK is compatible with S120 v2 ?</title><link>https://devzone.nordicsemi.com/thread/19770?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 10:26:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48fb442e-ac63-4b88-ba31-9bf7948bce7d</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Did you remember to switch to the new S120 header files?
ble_enable_params_t can be found in ble.h for S120 v2.0.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: which SDK is compatible with S120 v2 ?</title><link>https://devzone.nordicsemi.com/thread/19773?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 10:23:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c75aa54-037f-4986-aeb2-6c1006f75a52</guid><dc:creator>Daniel Tralamazza</dc:creator><description>&lt;p&gt;Also &lt;strong&gt;device_manager_central.c&lt;/strong&gt; requires 2 changes at lines 1005 and 1263 as &lt;code&gt;sd_ble_gatts_sys_attr_get&lt;/code&gt; now requires an extra parameter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: which SDK is compatible with S120 v2 ?</title><link>https://devzone.nordicsemi.com/thread/19769?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 10:15:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f917c34e-1fea-4133-ba35-ef28b6a2b8c2</guid><dc:creator>mohBOSS</dc:creator><description>&lt;p&gt;Hi Kristin,&lt;/p&gt;
&lt;p&gt;concerning the ble_enable_params_t type, and  sd_ble_enable() function, I could not find them in the S120 library.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: which SDK is compatible with S120 v2 ?</title><link>https://devzone.nordicsemi.com/thread/19768?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 10:00:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:512a1c6c-2e8e-41b7-a00e-1bd991f66bef</guid><dc:creator>mohBOSS</dc:creator><description>&lt;p&gt;OK, thanks Kristin, I&amp;#39;ll try this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: which SDK is compatible with S120 v2 ?</title><link>https://devzone.nordicsemi.com/thread/19765?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 09:57:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a17e034-f585-440a-8176-7146123a0d58</guid><dc:creator>mohBOSS</dc:creator><description>&lt;p&gt;Hi kaku,&lt;/p&gt;
&lt;p&gt;I am not able to find SDK v7.x, I just found SDK v6.1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: which SDK is compatible with S120 v2 ?</title><link>https://devzone.nordicsemi.com/thread/19767?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 09:48:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5113526-91f4-46ba-a89a-4fcb84afbc5f</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;I have not tested S120 v2.0.0 with SDK 6.1.0, however, below are my suggestions on what you could try:&lt;/p&gt;
&lt;p&gt;What could result in a hard fault, is if the IRAM1 address is not correctly set in Keil, see &lt;a href="https://devzone.nordicsemi.com/question/28775/s120-v200-with-sdk-610-run-error/"&gt;this&lt;/a&gt; post.&lt;/p&gt;
&lt;p&gt;In addition, since the S120 v2.0.0 supports non-concurrent central and master, the role of your device should be set during stack initialization. It can for example be done the following way (tested in SDK 7.2.0 only..):&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static void ble_stack_central_init(void)
 {
    uint32_t err_code;

    ble_enable_params_t ble_enable_params;

    ble_enable_params.gap_enable_params.role = BLE_GAP_ROLE_CENTRAL;
    ble_enable_params.gatts_enable_params.service_changed = IS_SRVC_CHANGED_CHARACT_PRESENT;

    // Initialize the SoftDevice handler module.
    SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, false);

    err_code = sd_ble_enable(&amp;amp;ble_enable_params);
   APP_ERROR_CHECK(err_code);

    // Register with the SoftDevice handler module for BLE events.
    err_code = softdevice_ble_evt_handler_set(ble_evt_dispatch);
    APP_ERROR_CHECK(err_code);

    // Register with the SoftDevice handler module for System events.
    err_code = softdevice_sys_evt_handler_set(sys_evt_dispatch);
    APP_ERROR_CHECK(err_code);
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Also remember to change the header files for S120 that your project links to, to the header files for S120 v 2.0.0, in the following folder: C:\Keil\ARM\Device\Nordic\nrf51822\Include\s120&lt;/p&gt;
&lt;p&gt;If using SDK 7.2.0, the new header files should be placed in the following folder: C:\Keil\ARM\Device\Nordic\nRF51_SDK_7.2.0\components\softdevice\s120\headers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: which SDK is compatible with S120 v2 ?</title><link>https://devzone.nordicsemi.com/thread/19764?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 09:48:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca24124a-2471-4d66-af4d-b6206051d8e2</guid><dc:creator>kaku</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m checking nWP-021 White Paper v1.0 document, S120 v2.x.x supports with nRF51 SDK v7.x.x at table 2 in P7.&lt;br /&gt;
How about try SDK 7.x with S120 v2.0 ?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>