<?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>LED2 slowly blinking when Bootloader + SD are programmed to empty DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81949/led2-slowly-blinking-when-bootloader-sd-are-programmed-to-empty-dk</link><description>I am working with nrf52840DK, SDK v17.1.0. 
 
 I compiled and downloaded the open bootloader project to the DK using SES (No errors and verification says OK). According to the documentation if the board does not have a valid application it should go to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Nov 2021 12:17:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81949/led2-slowly-blinking-when-bootloader-sd-are-programmed-to-empty-dk" /><item><title>RE: LED2 slowly blinking when Bootloader + SD are programmed to empty DK</title><link>https://devzone.nordicsemi.com/thread/340053?ContentTypeID=1</link><pubDate>Mon, 22 Nov 2021 12:17:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc5c6835-6941-46e0-98b3-9aa79659d405</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The open bootloader example (&lt;/span&gt;&lt;code&gt;examples/dfu/open_bootloader&lt;/code&gt;&lt;span&gt;) is provided only with&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_dfu_transport_serial.html#lib_dfu_transport_usb"&gt;USB CDC ACM DFU Transport&lt;/a&gt;&lt;span&gt;. See&amp;nbsp;&lt;a title="Open Bootloader with DFU" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_open_bootloader.html?cp=8_1_4_4_2"&gt;Open Bootloader with DFU&lt;/a&gt;&amp;nbsp;documentation.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you look into the code, the&amp;nbsp;LED2 means&amp;nbsp;NRF_DFU_EVT_DFU_INITIALIZED:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;        case NRF_DFU_EVT_DFU_INITIALIZED:
        {
            bsp_board_init(BSP_INIT_LEDS);

            if (!nrf_clock_lf_is_running())
            {
                nrf_clock_task_trigger(NRF_CLOCK_TASK_LFCLKSTART);
            }
            err_code = app_timer_init();
            APP_ERROR_CHECK(err_code);

            led_sb_init_params_t led_sb_init_param = LED_SB_INIT_DEFAULT_PARAMS(BSP_LED_1_MASK);

            uint32_t ticks = APP_TIMER_TICKS(DFU_LED_CONFIG_TRANSPORT_INACTIVE_BREATH_MS);
            led_sb_init_param.p_leds_port    = BSP_LED_1_PORT;
            led_sb_init_param.on_time_ticks  = ticks;
            led_sb_init_param.off_time_ticks = ticks;
            led_sb_init_param.duty_cycle_max = 255;

            err_code = led_softblink_init(&amp;amp;led_sb_init_param);
            APP_ERROR_CHECK(err_code);

            err_code = led_softblink_start(BSP_LED_1_MASK);
            APP_ERROR_CHECK(err_code);
            break;&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>