<?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>Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16436/peripheral-fault-from-dle-with-s132-v3-0</link><description>I&amp;#39;m trying to maximize BLE throughput between a central and peripheral (I&amp;#39;m programming both) running the new s132 SoftDevice v3.0. I can&amp;#39;t achieve the maximum data payload that I expect. 
 Following the migration document, I added the ATT_MTU exchange</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 May 2017 07:23:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16436/peripheral-fault-from-dle-with-s132-v3-0" /><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62908?ContentTypeID=1</link><pubDate>Tue, 23 May 2017 07:23:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f17be2cf-e08d-4751-8e01-ee6f2db917c4</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;@KV I don&amp;#39;t have that. I think you should add a new question and link to this one if it is relevant.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62907?ContentTypeID=1</link><pubDate>Mon, 22 May 2017 18:46:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fb17262-f741-4acc-87ee-eb32bbff43a0</guid><dc:creator>KV</dc:creator><description>&lt;p&gt;Do you have a similar example for S140 and nRF52840?&lt;/p&gt;
&lt;p&gt;I tried to mimic this for S140  but the ble_peripheral does not advertise (LED1 does not blink) and when I stop the debugger it is at some unknown memory address (0x99d8)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62906?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2017 05:04:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7649095-2028-46ad-921e-5f06e67a7501</guid><dc:creator>xeem</dc:creator><description>&lt;p&gt;&lt;em&gt;edit&lt;/em&gt; problem resolved.  Please ignore!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62901?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2017 16:45:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ee577dc-070f-41e7-a70b-302f4b5b6238</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I guess because the peer doesn&amp;#39;t send &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v3.0.0/group___b_l_e___g_a_t_t_s___m_t_u___e_x_c_h_a_n_g_e.html?cp=2_3_0_1_1_2_4_3_1"&gt;ATT Exchange MTU Request&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62900?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2017 16:13:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83a180d1-343c-4368-9eaf-35956a6ac75a</guid><dc:creator>User1321</dc:creator><description>&lt;p&gt;No! I am never getting that! Any idea why?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62905?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2017 11:25:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91ffd848-511b-4c3e-adc9-2baefdd858c2</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Are you getting the BLE_GATTS_EVT_EXCHANGE_MTU_REQUEST and BLE_EVT_DATA_LENGTH_CHANGED events? They are handled inside on_ble_evt().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62904?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2017 10:37:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d625d0e1-2158-473d-9949-38eb34b0ffb2</guid><dc:creator>User1321</dc:creator><description>&lt;p&gt;No, I am using the armgcc and I need to make some changes on the makefile in order to make it compile.
On the makefile it appears:
$(PROJ_DIR)/../../bsp/bsp.c &lt;br /&gt;
$(PROJ_DIR)/../../bsp/bsp_btn_ble.c &lt;br /&gt;
....
$(PROJ_DIR)/../../bsp &lt;br /&gt;
and those are not properly located, I change it to those that appear on the sdk12.2 libraries directory.
It can also not find this folder:
$(PROJ_DIR)/config/ble_app_uart_pca10040_s132 \
If deleted from the makefile it and make the previous changes it compiles.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62903?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2017 10:29:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0788f541-e767-46d7-85aa-f8564fbe7bbf</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Do the unmodifed examples work together?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62902?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2017 10:09:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:041e334f-3ad7-43cd-a0ab-ce87784f1385</guid><dc:creator>User1321</dc:creator><description>&lt;p&gt;Thanks Petter, I could download it fine now. However, it still does not send more than 20 bytes.
I have copied and linked to my project: main.c, ble_nus.c, ble_nus.h, config file: sdk_config.h. I also replaced the softdevice_handler folder on the /...components/softdevice/common directory.
I know that the problem is not on the central program because it works find on other project receiving more than 20bytes.
Any idea of can I be missing? Thanks in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62899?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 20:12:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4289f665-0622-4baf-9b66-aeacf623f74b</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Strange, works fine to unzip here. I uploaded a zip in addition to the rar, you can try to that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62898?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 17:56:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cd96c8f-3027-4d71-b28d-e262838c0b01</guid><dc:creator>User1321</dc:creator><description>&lt;p&gt;I can download fine the example but when I try to extract it (unzip) it says that there is an error and some files are lost, I created the uart peripheral  project by myself based on the .c and .h files that were successfully downloaded, in the case of the central I use the hex file. It compiles ok and sends short messages properly but when I try to send more than 20 bytes it ignores it and it just sends  the first 20 bytes.  Any idea what could be wrong? can you update the file so It can be extracted without errors?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62897?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2016 11:19:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6ca9395-63bb-4cfc-b269-68a85f3abbc2</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Great! You could also use a debugger and check the value.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62896?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2016 11:17:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1404d246-3e4c-4aac-b642-72072eda2d0a</guid><dc:creator>Martin Roa Villescas</dc:creator><description>&lt;p&gt;@Petter Thanks for the re-explanation. I was able to finally overcome the NRF_ERROR_NO_MEM error. Indeed it is the &lt;strong&gt;&lt;strong&gt;ICFEDIT_region_RAM_start&lt;/strong&gt; value&lt;/strong&gt; in the linker configuration file (&lt;strong&gt;ble_app_uart_c_iar_nRF5x.icf&lt;/strong&gt;) that you have to modify according to what the NRF_LOG_WARNING says. My main problem is that the NRF_LOG_WARNING does not work together with the NUS service since I guess that they both try to claim the UART (in uart_init() and in NRF_LOG_INIT(NULL)). My solution was to temporarily comment out the NUS UART related code in order to see the NRF_LOG warnings. I&amp;#39;m sure there must be a better way to do this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62895?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2016 10:04:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:285de9f7-53f5-4d24-9858-eff59b4f2c61</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure what you don&amp;#39;t understand, have you examined softdevice_enable()? I&amp;#39;ll try to rephrase. In softdevice_enable() ram_start equals the linker value of the RAM starting point of the application. app_ram_base is set to ram_start and is given to the SoftDevice through sd_ble_enable(), together with its configuration, where you set the maximum size of ATT MTU, number of links, and so on.&lt;/p&gt;
&lt;p&gt;The SoftDevice will compare the value of app_ram_base with the RAM it actually needs, if not enough RAM is provided sd_ble_enable() will return NRF_ERROR_NO_MEM and app_ram_base will will be the required RAM starting point of the application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62894?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2016 09:16:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:826d2083-8fb0-4d10-948e-fa8cd38d39bf</guid><dc:creator>Martin Roa Villescas</dc:creator><description>&lt;p&gt;@Petter Could you please rephrase the second part of your comment? I don&amp;#39;t think I understand:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;ram_start is the current starting point for the application, while app_ram_base is the required starting point for the application (after the call to sd_ble_enable())&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;On the other hand, the first part is clear: If you increase the MTU size then you have to increase the amount of RAM reserved for the SoftDevice. However, I still don&amp;#39;t know where exactly you can increase the amount of RAM for the SoftDevice. Is it in the linker configuration file? Somewhere else? If we want to have an MTU size of 247 instead of 158, does that mean that we have to increase the SoftDevice RAM size by 89 bytes? Thanks in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62893?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2016 10:34:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eda5b847-eef0-4962-a927-bdf2a0e80676</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;@Eugene It is returned from sd_ble_enable(), and 0x0004 is NRF_ERROR_NO_MEM. If you increase the MTU the SoftDevice will require more RAM. Examine softdevice_enable(). ram_start is the current starting point for the application, while app_ram_base is the required starting point for the application (after the call to sd_ble_enable()).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62909?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2016 10:25:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d706285-c1da-4144-b2dc-2995d54805df</guid><dc:creator>Eugene</dc:creator><description>&lt;p&gt;Why is NRF_BLE_MAX_MTU_SIZE restricted by 158 bytes value? When i change it to 247 it failures with code 4 during soft device activation. What causes it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62892?ContentTypeID=1</link><pubDate>Tue, 20 Sep 2016 07:04:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90a5d0bf-000f-4a55-9d4f-deff01faade5</guid><dc:creator>Elias</dc:creator><description>&lt;p&gt;I haven&amp;#39;t managed to go through the example completely, but making the modification to ble_stack_handler_types.h allowed me to double packet size and increase application throughput by about 100kb/s immediately, so I&amp;#39;ll consider my issue resolved for now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62891?ContentTypeID=1</link><pubDate>Tue, 20 Sep 2016 03:32:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3918c8-a025-4af7-b69a-c1a56dabaef0</guid><dc:creator>eyeye</dc:creator><description>&lt;p&gt;Hi @Petter, I have try your examples on two nRF52-DK.
It works as expected, the ATT_MTU and LL Data length extended.
When I replace the central nRF52-DK with my iPhone6(iOS10), only ATT_MTU exchanged, LL Data length doesn&amp;#39;t extended. nRF52 response the LL_LENGTH_REQ cmd with LL_UNKNOWN_RSP. It should be LL_LENGTH_RSP.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/95393/s132-v3-exchange-mtu-le-data-packet-length-extension-doest-work/"&gt;from this question&lt;/a&gt; you can get more detail information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62890?ContentTypeID=1</link><pubDate>Mon, 19 Sep 2016 15:01:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08669c27-a46f-4ee1-bc2c-2556c1ac24d8</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/DLE.rar"&gt;Here&lt;/a&gt; are examples of ATT MTU exchange and DLE.&lt;/p&gt;
&lt;p&gt;I modified ble_app_uart and ble_app_uart_c. You should be able to send up to 155 bytes of data in one packet.&lt;/p&gt;
&lt;p&gt;Use two terminals to send and receive data.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/DLE.zip"&gt;Here&lt;/a&gt; is a ZIP.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral fault from DLE with s132 v3.0?</title><link>https://devzone.nordicsemi.com/thread/62889?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2016 16:27:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83611fc5-7186-473f-a9c1-bdcefde06857</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I will look into this first thing Monday.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>