<?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>Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66464/nrf52832-ble_app_uart-dfu-no-bootloader-found-nrf_error_no_mem-sdk-15-3-0-soft-device-s132-6-1-1</link><description>I am trying to integrate buttonless DFU with FDS in ble_app_uart example from sdk 15.3.0. Merge hex was done properly which includes bootloader_settings.hex+bootloader.hex+softdevice.hex+application.hex and programmed using JLink prior to that i erased</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Sep 2020 12:15:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66464/nrf52832-ble_app_uart-dfu-no-bootloader-found-nrf_error_no_mem-sdk-15-3-0-soft-device-s132-6-1-1" /><item><title>RE: Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/272296?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 12:15:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4be01143-12b3-46b1-a5fa-c4cb0d54f061</guid><dc:creator>Yogeshwaran</dc:creator><description>&lt;p&gt;Sure Thanks for being Kind and supportive. The issue got solved really fast that i didn&amp;#39;t expect. This is why i like to use Nordic chip majorly because of very good support. Good Luck!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/272287?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 12:05:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b30889e6-e04b-4559-99dd-07313cff3604</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Ah, yes. I did not spot that. You are right. Please note that&amp;nbsp;if you want a BLE service for enabling DFU that is allready implemented for you in the SDK, with the DFU service. There you can also see how DFU mode is triggered by writing to GPREGRET and resetting using&amp;nbsp;ble_dfu_buttonless_bootloader_start_finalize() implemented like this in ble_dfu.c (for your reference):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;uint32_t ble_dfu_buttonless_bootloader_start_finalize(void)
{
    uint32_t err_code;

    NRF_LOG_DEBUG(&amp;quot;In ble_dfu_buttonless_bootloader_start_finalize\r\n&amp;quot;);

    err_code = sd_power_gpregret_clr(0, 0xffffffff);
    VERIFY_SUCCESS(err_code);

    err_code = sd_power_gpregret_set(0, BOOTLOADER_DFU_START);
    VERIFY_SUCCESS(err_code);

    // Indicate that the Secure DFU bootloader will be entered
    m_dfu.evt_handler(BLE_DFU_EVT_BOOTLOADER_ENTER);

    // Signal that DFU mode is to be enter to the power management module
    nrf_pwr_mgmt_shutdown(NRF_PWR_MGMT_SHUTDOWN_GOTO_DFU);

    return NRF_SUCCESS;
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/272285?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 12:02:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98c8921d-582d-4326-ad6c-43881acdafc4</guid><dc:creator>Yogeshwaran</dc:creator><description>&lt;p&gt;I am sorry basically resetting the board drives the device into DFU mode not power off and on. So i found some useful things from&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30856/invalid-memory-access-when-writing-to-nrf_power--gpregret"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/30856/invalid-memory-access-when-writing-to-nrf_power--gpregret&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37971/gpregret-clears-on-sd_nvic_systemreset"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/37971/gpregret-clears-on-sd_nvic_systemreset&lt;/a&gt;&amp;nbsp;using this the issue got resolved. Actually we should not directly set&amp;nbsp;NRF_POWER-&amp;gt;GPREGRET if Softdevice is present. The way we should set by only using below code&amp;nbsp;&lt;/p&gt;
&lt;p&gt;err_code = sd_power_gpregret_clr(0, 0xffffffff);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;br /&gt; err_code = sd_power_gpregret_set(0,BOOTLOADER_DFU_START);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;br /&gt; nrf_pwr_mgmt_shutdown(NRF_PWR_MGMT_SHUTDOWN_GOTO_DFU);&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am right sir?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/272278?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 11:54:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82f15f89-7da5-4b81-a8f5-994d8993d2e4</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Yogeshwaran"]Yeah as you said it not getting Fatal error because of NVIC_SystemReset().[/quote]
&lt;p&gt;Sounds good. Then we can ignore&amp;nbsp;NVIC_SystemReset()&amp;nbsp;itself.&lt;/p&gt;
[quote user="Yogeshwaran"] if i add&amp;nbsp;NRF_POWER-&amp;gt;GPREGRET = BOOTLOADER_DFU_START before NVIC_SystemReset() then it is happening but if add the&amp;nbsp;NRF_POWER-&amp;gt;GPREGRET = BOOTLOADER_DFU_START and restart the device by switch off and on then it goes to DFU mode as excepected and other functionalities are working fine.[/quote]
&lt;p&gt;By turning off and on here do you mean power-cycle? If so, then whatever was in the GPREGRET is lost as it is only retained while the device is powered. It is a bit odd that the device enters DFU mode though, as the&amp;nbsp;&lt;span&gt;BOOTLOADER_DFU_START&amp;nbsp;flag is lost after the reset. It is also strange that you get the error when the flag is set. Some questions:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;Do you only get this error when using a high number of FDS pages, or is that unrelated to the issue?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Have you made any modifications in the bootloader? If so, which?&lt;/li&gt;
&lt;li&gt;Do you see anything useful if testing with the debug bootloader with RTT logging (example bootloader project ending with &amp;quot;_debug&amp;quot;)?&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/272265?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 11:35:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88f566f8-5f10-425e-912e-62178c54853e</guid><dc:creator>Yogeshwaran</dc:creator><description>&lt;p&gt;Yeah as you said it not getting Fatal error because of NVIC_SystemReset(). if i add&amp;nbsp;NRF_POWER-&amp;gt;GPREGRET = BOOTLOADER_DFU_START before NVIC_SystemReset() then it is happening but if add the&amp;nbsp;NRF_POWER-&amp;gt;GPREGRET = BOOTLOADER_DFU_START and restart the device by switch off and on then it goes to DFU mode as excepected and other functionalities are working fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/272250?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 11:03:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acd7679e-7a1b-4499-bdcb-23089d98aed9</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;How have you debugged to verify that you get an error after calling&amp;nbsp;NVIC_SystemReset? The function does not return anything, and really should not fail. For reference, this is the implementation (&amp;lt;SDK&amp;gt;\components\toolchain\cmsis\include\core_cm4.h):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**
  \brief   System Reset
  \details Initiates a system reset request to reset the MCU.
 */
__STATIC_INLINE void NVIC_SystemReset(void)
{
  __DSB();                                                          /* Ensure all outstanding memory accesses included
                                                                       buffered write are completed before reset */
  SCB-&amp;gt;AIRCR  = (uint32_t)((0x5FAUL &amp;lt;&amp;lt; SCB_AIRCR_VECTKEY_Pos)    |
                           (SCB-&amp;gt;AIRCR &amp;amp; SCB_AIRCR_PRIGROUP_Msk) |
                            SCB_AIRCR_SYSRESETREQ_Msk    );         /* Keep priority group unchanged */
  __DSB();                                                          /* Ensure completion of memory access */

  for (;;)                                                           /* wait until reset */
  {
    __NOP();
  }
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/272244?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 10:58:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:123daacc-83be-40e6-92db-6671a3e481f4</guid><dc:creator>Yogeshwaran</dc:creator><description>&lt;p&gt;I am using SoftDevice for advertising then it must be enabled i feel, but even i tried&amp;nbsp;&lt;span&gt;NVIC_SystemReset() still same Fatal error. The below is the code which i am using&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;for(;;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;if(go_to_dfu)&lt;br /&gt; {&lt;br /&gt; NRF_LOG_INFO(&amp;quot;Going to dfu &amp;quot;);&lt;br /&gt; uint32_t err_code;&lt;br /&gt; err_code = sd_ble_gap_disconnect(m_conn_handle, BLE_HCI_CONN_INTERVAL_UNACCEPTABLE);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;br /&gt; sd_ble_gap_scan_stop();&lt;br /&gt; sd_ble_gap_adv_stop(NULL);&lt;br /&gt; while(connected);&lt;br /&gt; NRF_POWER-&amp;gt;GPREGRET = BOOTLOADER_DFU_START;&lt;br /&gt; nrf_delay_ms(100);&lt;br /&gt; sd_nvic_SystemReset();&lt;br /&gt; }&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;if(start_advertise)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;{&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;//starting_advertising&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;}&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/272241?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 10:37:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca03bc44-281f-4c91-b337-cc379230d43e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Yogeshwaran"]NRF_DFU_FORCE_DUAL_BANK_APP_UPDATES by setting to 1 now the issue got resolved and DFU successfully updating application and running properly after update.[/quote]
&lt;p&gt;That makes sense. With forced dual bank updates you need more available space, so it makes sense that setting&amp;nbsp;NRF_DFU_FORCE_DUAL_BANK_APP_UPDATES to 0 allows you to reserve more space for user data (FDS pages).&lt;/p&gt;
[quote user="Yogeshwaran"]NRF_DFU_APP_DATA_AREA_SIZE&amp;nbsp; to 80 pages then throwing error after update as &amp;#39;11&amp;#39; at fds_init() which denotes NO_PAGES. what is the reason?[/quote]
&lt;p&gt;Do you have an overview of the memory layout of your device? You can refer to the figure at the end of &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_bootloader.html"&gt;this page&lt;/a&gt; and put in your sizes. You cannot use more pages for FDS than what is between the end of the application and the beginning of the bootloader. And even if that fits, it may be too much to allow you to do SoftDevice and&amp;nbsp; updates, as they must be dual bank bootloader.&lt;/p&gt;
[quote user="Yogeshwaran"]One more issue is if i call&amp;nbsp;sd_nvic_SystemReset() gives Fatal error in loop(). This function will get called after device receives cmd from ble_client(&lt;strong&gt;nRF_Connect app&lt;/strong&gt;) so can you tell how to reset the device properly to go into DFU.[/quote]
&lt;p&gt;You should not get an error from&amp;nbsp;sd_nvic_SystemReset(), it should just reset and never return.&amp;nbsp;&amp;nbsp;If the SoftDevice is not enabled you should call&amp;nbsp;NVIC_SystemReset(). Are you sure this is the problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/272191?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 07:41:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7ae2847-b60f-46cb-8ba0-3288ee0be2ee</guid><dc:creator>Yogeshwaran</dc:creator><description>&lt;p&gt;&lt;span&gt;NRF_DFU_APP_DATA_AREA_SIZE&amp;nbsp;&lt;/span&gt;204800 which is 50 pages of FDS and i enabled&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;NRF_DFU_FORCE_DUAL_BANK_APP_UPDATES by setting to 1 now the issue got resolved and DFU successfully updating application and running properly after update. If i change the&amp;nbsp;NRF_DFU_APP_DATA_AREA_SIZE&amp;nbsp; to 80 pages then throwing error after update as &amp;#39;11&amp;#39; at fds_init() which denotes NO_PAGES. what is the reason? One more issue is if i call&amp;nbsp;sd_nvic_SystemReset() gives Fatal error in loop(). This function will get called after device receives cmd from ble_client(&lt;strong&gt;nRF_Connect app&lt;/strong&gt;) so can you tell how to reset the device properly to go into DFU.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/272120?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 15:43:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27f61dd2-2ca8-4fdc-a1bb-5bb51f8e0c20</guid><dc:creator>Yogeshwaran</dc:creator><description>&lt;p&gt;I used FDS_VIRTUAL_PAGES as 10 then it is working fine but i need more pages so what should i do. Atleast 30 pages.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/272111?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 15:11:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4861cbe2-545c-49c4-afcf-deec856062b4</guid><dc:creator>Yogeshwaran</dc:creator><description>&lt;p&gt;Do i need to adjust the application flash size in segger Linker script? and 0x2000FF18 denotes to which register location?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/272103?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 14:44:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8956c838-360e-4b97-b2bd-12a23b3daddd</guid><dc:creator>Yogeshwaran</dc:creator><description>&lt;p&gt;I am getting the below error if use 327680 for DATA_AREA_SIZE&lt;/p&gt;
&lt;p&gt;00&amp;gt; &amp;lt;debug&amp;gt; app: SD_PRESENT: true.&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;debug&amp;gt; app: Bank contents:&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;debug&amp;gt; app: Bank 0 code: 0x01: Size: 0xC420&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;debug&amp;gt; app: Bank 1 code: 0x00: Size: 0x0&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;error&amp;gt; app: Received a fault! id: 0x00004002, pc: 0x00000000, info: 0x2000FF18&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/272075?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 13:05:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2880c0d3-b8a7-46d7-b7d5-d13600fbf0c6</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Then there is a clear mismatch. You use 80 FDS pages, but you only reserve&amp;nbsp;12288 / 0x1000 = 3 pages. So you must increase&amp;nbsp;NRF_DFU_APP_DATA_AREA_SIZE to 0x1000 * 80 =&amp;nbsp;327680.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/272067?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 12:52:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:718943bd-2cd1-4f21-936a-c00206946d1a</guid><dc:creator>Yogeshwaran</dc:creator><description>&lt;p&gt;&lt;span&gt;FDS_VIRTUAL_PAGES in application sdk_config.h was 80 and&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;NRF_DFU_APP_DATA_AREA_SIZE&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;12288 in pca10040_ble_debug sdk_config.h&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/272064?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 12:46:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a10302e0-e3c3-482f-9f41-db38dd84822e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If an FDS call returns 11 this is&amp;nbsp;FDS_ERR_NO_PAGES, and this is probably because the FDS pages has been corrupted. As this happens after a DFU operation I suspect this is because the flash area was written to during the DFU update. This can happen if the FDS pages are not properly reserved in the bootloader (i.e. the bootloader does not know it cannot use them for temporary storage). How many FDS pages have you configured in your applications sdk_config.h (FDS_VIRTUAL_PAGES)? And how many FDS pages have you reserved in the bootloader&amp;#39;s sdk_config.h (NRF_DFU_APP_DATA_AREA_SIZE)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/272061?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 12:33:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c55ddf4-2225-4e2f-be9c-8b2f07cd87cd</guid><dc:creator>Yogeshwaran</dc:creator><description>&lt;p&gt;After Dfu upload i am getting error value 11 at fds_init() function. what does it mean?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/272048?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 12:08:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57e07b34-3602-4ad0-842f-3f85e1fd0ca0</guid><dc:creator>Yogeshwaran</dc:creator><description>&lt;p&gt;Yeah my bad i messed up with public and private keys. Now i generated both again and placed into the right directory(this was the mistake) to make it work. The new issue happening here is after successful DFU upload the device restarts and i got Fatal error after some serial prints. I programmed again device with nrfjprog -f nrf52 --program --sectorerase then also Fatal error comes at the same place. If erase full flash that means nrfjprog -f nrf52 -e then nrfjprog -f nrf52 --program --sectorerase, it runs the app properly. Again if do DFU it stucks at Fatal error? After this if i upload using JLink without erasing the full flash the app is not running.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/272036?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 11:45:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b09fd80-cf52-4598-8aca-97569f77a62a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Referring to the initial question first, I want to mention that&amp;nbsp;&amp;nbsp;SDK 15.3&amp;nbsp;introduced a new location for the bootloader start address. It is no longer in the UICR (though some code still incorrectly refers to &amp;quot;uicr&amp;quot; or &amp;quot;UICR&amp;quot;), but instead it is in the end of the first page, the MBR params page. You can see that&amp;nbsp;MBR_BOOTLOADER_ADDR is set to 0xFF8 in nrf_mbr.h, and this is what is used. So the bootloader start address does not need to be in the UICR.&lt;/p&gt;
[quote user="Yogeshwaran"]But Now if i upload an app.zip file which i made using nrfutil along with private key i am getting signature failed error in bootloader while uploading app.zip. The bootloader has dfu_public_key.c and i modified the file by using private key. So what could be the issue?[/quote]
&lt;p&gt;Good question. Based on what you wrote it should work, but perhaps there has been a mixup? Can you double check that you build the bootloader with the correct public key and that this is the bootloader you uploaded to the device? And then verify that you signed the DFU image using the correct corresponding private key?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52832 ble_app_uart DFU No bootloader found(NRF_ERROR_NO_MEM) | SDK 15.3.0 | Soft device S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/272028?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2020 11:14:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a082cd0-307f-4b1e-bd08-466a2b2217f8</guid><dc:creator>Yogeshwaran</dc:creator><description>&lt;p&gt;Actually this issue is happening because i am using segger and it erases the bootloader if going into debug mode. The issue actually comes when buttonless_service initialization happens. Hence i want to modify the&amp;nbsp;&lt;code&gt;NRF_POWER-&amp;gt;GPREGRET = BOOTLOADER_DFU_START and restarted the device so i can able to see Dfu_Targ in nrf_connect app. But Now if i upload an app.zip file which i made using nrfutil along with private key i am getting signature failed error in bootloader while uploading app.zip. The bootloader has dfu_public_key.c and i modified the file by using private key. So what could be the issue?&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>