<?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>ble_stack_init fails when trying to run secure DFU bootloader example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105520/ble_stack_init-fails-when-trying-to-run-secure-dfu-bootloader-example</link><description>Trying to use the pca10056_s140_ble secure bootloader example and it cannot finish Bluetooth stack initialization. My linker placement: FLASH1 RX 0x0 0x100000;RAM1 RWX 0x20000000 0x40000;mbr_params_page RX 0x000FE000 0x1000;bootloader_settings_page RX</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Nov 2023 13:11:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105520/ble_stack_init-fails-when-trying-to-run-secure-dfu-bootloader-example" /><item><title>RE: ble_stack_init fails when trying to run secure DFU bootloader example</title><link>https://devzone.nordicsemi.com/thread/455299?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2023 13:11:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f016bf6-63cf-48ec-8865-8d55879fd0fb</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I just tested this on my end as well with the stock secure BLE example, but it seems to work correctly on my end, and the RAM start shouldn&amp;#39;t change like this when entering the bootloader mode.&lt;/p&gt;
&lt;p&gt;Can you confirm you made no changes to the sample except&amp;nbsp;generating and adding a DFU key? Worth noting that this is not necessary if you did the debug version of the example.&lt;/p&gt;
&lt;p&gt;What version of SEGGER Embedded Studios (SES) are you using for development? I know there has been some issues with using other (mainly newer) SES versions than what has been used for testing and verification on our end. You should use v5.42a of SES if possible.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_stack_init fails when trying to run secure DFU bootloader example</title><link>https://devzone.nordicsemi.com/thread/455177?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2023 20:46:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6e43427-f9ea-4163-830c-65e98f43e9d6</guid><dc:creator>mraposo1</dc:creator><description>&lt;p&gt;&lt;span&gt;Using the latest NRF52 SDK 17.1.0&lt;br /&gt;Using the bootloader as is from the DFU examples.&lt;br /&gt;It does not work in either the DK or my board.&lt;br /&gt;&lt;br /&gt;After some investigation, found out that the issue happens when calling&amp;nbsp;sd_ble_enable.&amp;nbsp; &lt;br /&gt;It returns&amp;nbsp;NRF_ERROR_NO_MEM.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Also,&amp;nbsp;the&amp;nbsp;value for p_ram_start changes from&amp;nbsp;0x2003ffb0 (where *p_ram_start=20005978) to&amp;nbsp;0x00000047 (???)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_stack_init fails when trying to run secure DFU bootloader example</title><link>https://devzone.nordicsemi.com/thread/454960?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2023 15:02:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4289ad9-ed24-4024-aea8-a90e8419420e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What nRF5 SDK version are you using for development here? Have you made any specific changes to the secure bootloader sample, and just to make sure, you&amp;#39;re testing this on an nRF52840 DK, correct, or are you using custom hardware?&lt;/p&gt;
&lt;p&gt;Also, have you done any debugging to see if there is any useful error messages or log info from the application that tells you what exactly is going wrong? Seems like sd_mbr_command should provide a return value that points to what&amp;#39;s wrong.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>