<?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 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42289/nrf52832-buttonless-dfu-iar</link><description>Hi. 
 I did the secure bootloader DFU. I attained step 8 in document . 
 I instal softdevice and secure bootloader to flash nRF52832. After make the ble_app_buttonless_dfu start download and debug but program not start. 
 
 If install only softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Jan 2019 11:33:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42289/nrf52832-buttonless-dfu-iar" /><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/167883?ContentTypeID=1</link><pubDate>Fri, 25 Jan 2019 11:33:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03d5aef9-e2f6-429f-9499-cea5ffe23046</guid><dc:creator>Alex_Golubev</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I attached a&amp;nbsp;&amp;nbsp;&lt;a href="https://yadi.sk/i/nJBHvQm75I2cQQ"&gt;video&lt;/a&gt;&amp;nbsp;with the event log.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/2185.error11.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/167575?ContentTypeID=1</link><pubDate>Thu, 24 Jan 2019 09:43:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cefd8d67-45c0-419c-9aab-dda1b50b322e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Alex,&amp;nbsp;&lt;br /&gt;The&amp;nbsp;sd_ble_gap_sec_params_reply() would not be related to the buttonless DFU. I&amp;#39;m not so sure the err_code is actually 8 in your case. Could you put a log and print out the err_code after the call ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try to test again without the buttonless DFU code added.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Please add stuff one at a time, having a fresh start will help you. Please refer to the main.c I have in the project I sent you.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest to test the buttonless without bonding first. Try to combine ble_app_uart with buttonless first . Please reuse the project I sent you (main.c and sdk_config.h)&lt;/p&gt;
&lt;p&gt;Please be aware that when you add buttonless service into your project you need to increase&amp;nbsp;NRF_SDH_BLE_VS_UUID_COUNT by 1. I assume you already have done this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you do bonding (so that bond information has to be forwarded to bootloader) you would need to generate the bootloader setting before testing. Please have a look at appendix 4&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;But I strongly suggest to test without using bonding (make sure you erase bonding on the phone) and make sure it works first before you test with bonding.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By default ble_app_uart doesn&amp;#39;t require bonding.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/167371?ContentTypeID=1</link><pubDate>Wed, 23 Jan 2019 12:48:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4de618d-4257-4df8-b811-1587d40ab27f</guid><dc:creator>Alex_Golubev</dc:creator><description>&lt;p&gt;Hung Bui do you help me?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/167177?ContentTypeID=1</link><pubDate>Tue, 22 Jan 2019 16:20:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72371498-0ccb-4705-a3dc-44717d93b9e0</guid><dc:creator>Alex_Golubev</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Yes I have overview of how it work.&amp;nbsp;See&amp;nbsp;&lt;a href="https://yadi.sk/i/vXNZzDnolPsKOA"&gt;video&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I got error in function:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void ble_evt_handler(ble_evt_t const * p_ble_evt, void * p_context)
{
    uint32_t err_code;

    switch (p_ble_evt-&amp;gt;header.evt_id)
    {
        case BLE_GAP_EVT_CONNECTED:
            NRF_LOG_INFO(&amp;quot;Connected&amp;quot;);
            err_code = bsp_indication_set(BSP_INDICATE_CONNECTED);
            APP_ERROR_CHECK(err_code);
            m_conn_handle = p_ble_evt-&amp;gt;evt.gap_evt.conn_handle;
            err_code = nrf_ble_qwr_conn_handle_assign(&amp;amp;m_qwr, m_conn_handle);
            APP_ERROR_CHECK(err_code);
            break;

        case BLE_GAP_EVT_DISCONNECTED:
            NRF_LOG_INFO(&amp;quot;Disconnected&amp;quot;);
            // LED indication will be changed when advertising starts.
            m_conn_handle = BLE_CONN_HANDLE_INVALID;
            break;

        case BLE_GAP_EVT_PHY_UPDATE_REQUEST:
        {
            NRF_LOG_DEBUG(&amp;quot;PHY update request.&amp;quot;);
            ble_gap_phys_t const phys =
            {
                .rx_phys = BLE_GAP_PHY_AUTO,
                .tx_phys = BLE_GAP_PHY_AUTO,
            };
            err_code = sd_ble_gap_phy_update(p_ble_evt-&amp;gt;evt.gap_evt.conn_handle, &amp;amp;phys);
            APP_ERROR_CHECK(err_code);
        } break;

        case BLE_GAP_EVT_SEC_PARAMS_REQUEST:
            // Pairing not supported
            err_code = sd_ble_gap_sec_params_reply(m_conn_handle, BLE_GAP_SEC_STATUS_PAIRING_NOT_SUPP, NULL, NULL);
            APP_ERROR_CHECK(err_code);
            break;

        case BLE_GATTS_EVT_SYS_ATTR_MISSING:
            // No system attributes have been stored.
            err_code = sd_ble_gatts_sys_attr_set(m_conn_handle, NULL, 0, 0);
            APP_ERROR_CHECK(err_code);
            break;

        case BLE_GATTC_EVT_TIMEOUT:
            // Disconnect on GATT Client timeout event.
            err_code = sd_ble_gap_disconnect(p_ble_evt-&amp;gt;evt.gattc_evt.conn_handle,
                                             BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION);
            APP_ERROR_CHECK(err_code);
            break;

        case BLE_GATTS_EVT_TIMEOUT:
            // Disconnect on GATT Server timeout event.
            err_code = sd_ble_gap_disconnect(p_ble_evt-&amp;gt;evt.gatts_evt.conn_handle,
                                             BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION);
            APP_ERROR_CHECK(err_code);
            break;

        default:
            // No implementation needed.
            break;
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In line&amp;nbsp;&lt;pre class="ui-code" data-mode="c_cpp"&gt;        case BLE_GAP_EVT_SEC_PARAMS_REQUEST:
            // Pairing not supported
            err_code = sd_ble_gap_sec_params_reply(m_conn_handle, BLE_GAP_SEC_STATUS_PAIRING_NOT_SUPP, NULL, NULL);
            APP_ERROR_CHECK(err_code);
            break;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;It may be error in ROM?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/error12.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/167154?ContentTypeID=1</link><pubDate>Tue, 22 Jan 2019 15:15:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1a6a218-ca1e-4437-8b67-21a44fd3f7f8</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Error code 8 meant invalid state. I&amp;#39;m not sure why you received that error.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tried to test with the ble_app_buttonless with no modification ? Have you got an overview of how it work ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/166773?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 10:16:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44da3ee6-aa5c-46fd-b5f2-3ead54e56342</guid><dc:creator>Alex_Golubev</dc:creator><description>&lt;p&gt;I get error.&lt;/p&gt;
&lt;p&gt;Function&amp;nbsp;sd_ble_gap_sec_params_reply(m_conn_handle, BLE_GAP_SEC_STATUS_PAIRING_NOT_SUPP, NULL, NULL) return error 8.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0537.error10.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7245.error11.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/166553?ContentTypeID=1</link><pubDate>Fri, 18 Jan 2019 15:48:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0c663d1-b1d1-4dff-9cd7-11e53ff12a0d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Alex,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Have you tried and&amp;nbsp;have an overview of how the ble_app_buttonless_dfu works ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Like&amp;nbsp;what is the main purpose of the buttonless service ? When would the buttonless service execute a reset to switch to bootloader, how to trigger that&amp;nbsp; ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The documentation is a little bit vague about this but it&amp;#39;s something you need to study and understand before porting it to you application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I attached here the example I made to integrate dfu buttonless into ble uart. It&amp;#39;s only KEIL support for now, but you can follow the exact project setting and the same main.c should works for you. It&amp;#39;s for SDK v15.0 (most likely also works on 15.2)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c3f66e2e3c41423cadd531dbef69f51d/ble_5F00_app_5F00_uart-_2D00_-Buttonless.zip"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_uart-_2D00_-Buttonless.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/166465?ContentTypeID=1</link><pubDate>Fri, 18 Jan 2019 12:35:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f67f22e-211e-4d0f-9ee4-f557fc100194</guid><dc:creator>Alex_Golubev</dc:creator><description>&lt;p&gt;How do start work DFU? I use function ble_dfu_buttonless_bootloader_start_finalize(); but she not started DFU.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/166104?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 23:13:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3f8b3f4-9499-49a3-8442-9622c580a243</guid><dc:creator>Alex_Golubev</dc:creator><description>&lt;p&gt;&lt;span&gt;I got an error again.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6153.error.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What do I do wrong?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;bootloader uploaded&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8206.error2.png" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/166026?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 14:32:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d32941cd-4e18-4c26-bc5c-7c49d2852e26</guid><dc:creator>Alex_Golubev</dc:creator><description>&lt;p&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span&gt;I solved the compilation problems.&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;I changed the function &amp;quot;services_init(void)&amp;quot; of project ble_app_uart in:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void services_init(void)
{
    uint32_t           err_code;
    ble_nus_init_t     nus_init;
    nrf_ble_qwr_init_t qwr_init = {0};
    ble_dfu_buttonless_init_t dfus_init = {0};

    // Initialize Queued Write Module.
    qwr_init.error_handler = nrf_qwr_error_handler;

    err_code = nrf_ble_qwr_init(&amp;amp;m_qwr, &amp;amp;qwr_init);
    APP_ERROR_CHECK(err_code);

    // Initialize NUS.
    memset(&amp;amp;nus_init, 0, sizeof(nus_init));

    nus_init.data_handler = nus_data_handler;

    err_code = ble_nus_init(&amp;amp;m_nus, &amp;amp;nus_init);
    APP_ERROR_CHECK(err_code);
    
    //***** buttonless DFU *****

    // Initialize the async SVCI interface to bootloader.
    err_code = ble_dfu_buttonless_async_svci_init();
    APP_ERROR_CHECK(err_code);

    dfus_init.evt_handler = ble_dfu_evt_handler;

    err_code = ble_dfu_buttonless_init(&amp;amp;dfus_init);
    APP_ERROR_CHECK(err_code);

   //**************************
}&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and add&amp;nbsp;peer_manager_init&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;nt main(void)
{
    bool erase_bonds;
    
  //  static uint32_t pages_to_erase = 1;
    
    // Initialize.
    log_init();
    timers_init();
    buttons_leds_init(&amp;amp;erase_bonds);
    power_management_init();
    ble_stack_init();
    peer_manager_init();
    gap_params_init();
    gatt_init();
    services_init();
    advertising_init();
    conn_params_init();

    // Start execution.
    
    advertising_start(erase_bonds);&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I want start buttonless DFU with command. I get command through ble uart.&amp;nbsp; How do I may it make?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/165951?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 12:12:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff51c4c1-1a53-4d11-a420-b622037c148b</guid><dc:creator>Alex_Golubev</dc:creator><description>&lt;p&gt;&lt;span&gt;In project ble_app_uart function advertising_start have the form&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void advertising_start(void)
{
    uint32_t err_code = ble_advertising_start(&amp;amp;m_advertising, BLE_ADV_MODE_FAST);
    APP_ERROR_CHECK(err_code);
}&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In project ble_app_buttonless_dfu function advertising_start have the form&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void advertising_start(bool erase_bonds)
{
    if (erase_bonds == true)
    {
        delete_bonds();
        // Advertising is started by PM_EVT_PEERS_DELETE_SUCCEEDED event.
    }
    else
    {
        uint32_t err_code = ble_advertising_start(&amp;amp;m_advertising, BLE_ADV_MODE_FAST);
        APP_ERROR_CHECK(err_code);

        NRF_LOG_DEBUG(&amp;quot;advertising is started&amp;quot;);
    }
}&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3034.error1.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/32276.error2.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What function to use advertising_start&amp;nbsp;?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/165945?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 12:02:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f33b318-9a49-4aac-9ca0-fd2fafd52a29</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;You don&amp;#39;t need to advertise anything related to buttonless dfu in your application to do buttonless dfu. You just need to have the buttonless service in your attribute table. After the phone connect to your device it will discover the services and if there is DFU buttonless service, you will have the option to do DFU update.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/165800?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 15:24:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f66bcf3f-b963-43ba-8d80-252b0e3ef78b</guid><dc:creator>Alex_Golubev</dc:creator><description>&lt;p&gt;I need to understand what to add to the advertisement to run buttonless dfu.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/165793?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 14:59:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c255ded4-6ab5-406a-87e9-e5cd402a032d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I can see that you can build with 0 error. What is the issue you have now&amp;nbsp; ? Does it advertise ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/165635?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 07:04:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4f8db81-4999-49af-b3ac-deda62299aba</guid><dc:creator>Alex_Golubev</dc:creator><description>&lt;p&gt;&lt;span&gt;I build project.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/2046.IAR-.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I added peer_id.c, peer_data_storage.c, peer_database.c, peer_manager.c, pm_buffer.c, pm_mutex.c, security_dispatcher.c, security_manager.c, gatt_cache_manager.c, gatts_cache_manager.c,id_manager.c&amp;nbsp;include in sdk_config.h CRC16_EABLE, FDS_ENABLE,&amp;nbsp;&lt;span&gt;NRF_DFU_BLE_BUTTONLESS_SUPPORTS_BONDS,&amp;nbsp;&amp;nbsp;NRF_SDH_BLE_SERVICE_CHANGED and&amp;nbsp;BLE_DFU_ENABLED and added&amp;nbsp;BL_SETTINGS_ACCESS_ONLY, NRF_DFU_SVCI_ENABLED&lt;br /&gt;NRF_DFU_TRANSPORT_BLE=1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;What do I must make for full&amp;nbsp;completions buttonless DFU?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/165478?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 13:38:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e05ddfb-2a0a-4327-b639-2086aeed92af</guid><dc:creator>Alex_Golubev</dc:creator><description>&lt;p&gt;Yes&amp;nbsp;&lt;span&gt;nrf_svci_async_function.h&amp;nbsp; include.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/IAR-error_5F00_3.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I think that not all add Preprocessor Defines.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You help me?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/165448?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 12:52:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ad68109-cd56-42a7-853e-2c1cb496d033</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Have you check if nrf_svci_async_function.h is included ? I&amp;#39;m not very familiar with IAR but can you build the ble_app_buttonless_dfu with IAR ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/165423?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 12:20:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4112315d-06e4-4ce3-ba32-f7561fac1d98</guid><dc:creator>Alex_Golubev</dc:creator><description>&lt;p&gt;I get error.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/IAR_5F00_error_5F00_1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/IAR-error_5F00_2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What do I do wrong?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/165386?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 09:47:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9d44257-99a4-4f73-bb2c-7c4d1b0f750c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Maybe &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34964/buttonless-dfu-integration-in-ble-app-uart-example-compiling-problem"&gt;this guide &lt;/a&gt;can help ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We also have another tutorial &lt;a href="https://github.com/gamnes/nRF52832-buttonless-dfu-development-tutorial"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/165242?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 16:32:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b1d30c9-27fe-4de8-a4e7-3e4d6c62fe90</guid><dc:creator>Alex_Golubev</dc:creator><description>&lt;p&gt;Everything works.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4848.1.png" /&gt;&lt;/p&gt;
&lt;p&gt;There is a guide or an application note that explains the several steps needed to integrate buttonless DFU to a custom application???&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/165226?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 15:28:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:545a8367-efef-47a1-9ee7-53b5fe114732</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Alex,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure why you merge the bootloader setting with the application. It&amp;#39;s not needed in this case.&lt;/p&gt;
&lt;p&gt;Please try to follow my blog that I mentioned in last answer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can see when you create the .zip file you used --sd-reg 0xA9, why you used A9 ? Please use the correct softdevice code according to &lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil"&gt;this table:&amp;nbsp;&lt;/a&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;SoftDevice&lt;/th&gt;
&lt;th&gt;FWID (sd-req)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s112_nrf52_6.0.0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0xA7&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s112_nrf52_6.1.0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0xB0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s130_nrf51_1.0.0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0x67&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s130_nrf51_2.0.0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0x80&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s132_nrf52_2.0.0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0x81&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s130_nrf51_2.0.1&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0x87&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s132_nrf52_2.0.1&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0x88&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s132_nrf52_3.0.0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0x8C&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s132_nrf52_3.1.0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0x91&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s132_nrf52_4.0.0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0x95&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s132_nrf52_4.0.2&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0x98&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s132_nrf52_4.0.3&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0x99&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s132_nrf52_4.0.4&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0x9E&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s132_nrf52_4.0.5&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0x9F&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s132_nrf52_5.0.0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0x9D&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s132_nrf52_5.1.0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0xA5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s132_nrf52_6.0.0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0xA8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s132_nrf52_6.1.0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0xAF&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s140_nrf52_6.0.0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0xA9&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;s140_nrf52_6.1.0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;0xAE&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/165158?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 12:47:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:492b7e61-4dc9-4db5-a0af-ff1e47f4f703</guid><dc:creator>Alex_Golubev</dc:creator><description>&lt;p&gt;I made the following:&lt;/p&gt;
&lt;p&gt;Step A. Generating keys.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/private.key.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/public_5F00_key.png" /&gt;&lt;/p&gt;
&lt;p&gt;Step B. Build the bootloader.&lt;/p&gt;
&lt;p&gt;B1. Compile the uECC library.&lt;/p&gt;
&lt;p&gt;I download the library to the SDK folder.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/micro_2D00_ecc.png" /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;&lt;span&gt;&amp;nbsp;start building uECC.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/building-uECC.png" /&gt;&lt;/p&gt;
&lt;p&gt;Copy the public_key in IAR.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Copy-public_5F00_key.png" /&gt;&lt;/p&gt;
&lt;p&gt;Build the bootloader.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3441.build.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Step C.&lt;/p&gt;
&lt;p&gt;generate bootloader setting.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8345.generate-bootloader-setting.png" /&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;mergehex&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/2046.mergehex.png" /&gt;&lt;br /&gt;&lt;span&gt;zip file&lt;/span&gt;&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6232.zip-file.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;watch the video &lt;a href="https://yadi.sk/i/BhOW1uvSG37ewQ"&gt;here&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;&lt;span&gt;What do I do wrong?&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 buttonless dfu IAR</title><link>https://devzone.nordicsemi.com/thread/164753?ContentTypeID=1</link><pubDate>Wed, 09 Jan 2019 14:57:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4f618f8-8445-4e17-a5b7-148a35e24d45</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Alex,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you test first with a normal application instead of the buttonless example ? For example ble_app_hrs ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Buttonless example requires bootloader setting to be generated and flashed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest you to follow the tutorial &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>