<?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>still no flash events general</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21666/still-no-flash-events-general</link><description>Hello, 
 I meet the same problem with the question &amp;quot; Status bit for sd_flash_write() &amp;quot;.I have register my flash_nrf52_sys_event_handler() in sys_evt_dispatch(),but after sd_flash_write() still no NRF_EVT_FLASH_OPERATION_SUCCESS or NRF_EVT_FLASH_OPERATION_ERROR</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 May 2017 10:23:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21666/still-no-flash-events-general" /><item><title>RE: still no flash events general</title><link>https://devzone.nordicsemi.com/thread/85078?ContentTypeID=1</link><pubDate>Tue, 02 May 2017 10:23:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:717c1707-7d6a-48e6-8099-ac955c5c75f3</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;The link still doesn&amp;#39;t work. You can also open a case through your MyPage at nordicsemi.com and upload it there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: still no flash events general</title><link>https://devzone.nordicsemi.com/thread/85077?ContentTypeID=1</link><pubDate>Sat, 29 Apr 2017 02:15:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7770b816-fba6-4381-9bd2-b12d08ca2472</guid><dc:creator>Allen_Shenzhen</dc:creator><description>&lt;p&gt;I am sorry for that.I had tried 5 times to upload attachment, but failed.Can you try the link again please?And I will try more times to attach the project.Thanks again Petter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: still no flash events general</title><link>https://devzone.nordicsemi.com/thread/85076?ContentTypeID=1</link><pubDate>Fri, 28 Apr 2017 10:54:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b627c954-ddee-4559-b9f0-b05a75d648a0</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I can&amp;#39;t get the link to work, can&amp;#39;t you just attach your project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: still no flash events general</title><link>https://devzone.nordicsemi.com/thread/85075?ContentTypeID=1</link><pubDate>Fri, 28 Apr 2017 07:41:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e0b5023-6f5a-459a-94ea-7bbdf0642070</guid><dc:creator>Allen_Shenzhen</dc:creator><description>&lt;p&gt;Tks Petter.I will reedit the question and upload my complete project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: still no flash events general</title><link>https://devzone.nordicsemi.com/thread/85074?ContentTypeID=1</link><pubDate>Fri, 28 Apr 2017 07:04:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38884003-9738-4446-ba18-c7bbd096dcaa</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Ok. Could you edit your question and include your complete project so I can test it here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: still no flash events general</title><link>https://devzone.nordicsemi.com/thread/85073?ContentTypeID=1</link><pubDate>Fri, 28 Apr 2017 06:37:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41de8737-cae5-4824-997d-380dce9be3db</guid><dc:creator>Allen_Shenzhen</dc:creator><description>&lt;p&gt;Yes,I had both enabled the SoftDevice and registered a system event handler.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static void ble_stack_init(void)
{
    ret_code_t err_code;

    nrf_clock_lf_cfg_t clock_lf_cfg = NRF_CLOCK_LFCLKSRC;

    // Initialize the SoftDevice handler module.
    SOFTDEVICE_HANDLER_INIT(&amp;amp;clock_lf_cfg, NULL);

    // Fetch the start address of the application RAM.
    uint32_t ram_start = 0;
    err_code = softdevice_app_ram_start_get(&amp;amp;ram_start);
    APP_ERROR_CHECK(err_code);

    // Overwrite some of the default configurations for the BLE stack.
    ble_cfg_t ble_cfg;

    memset(&amp;amp;ble_cfg, 0, sizeof(ble_cfg));
    ble_cfg.gap_cfg.role_count_cfg.periph_role_count  = BLE_GAP_ROLE_COUNT_PERIPH_DEFAULT;
    ble_cfg.gap_cfg.role_count_cfg.central_role_count = 0;
    ble_cfg.gap_cfg.role_count_cfg.central_sec_count  = 0;
    err_code = sd_ble_cfg_set(BLE_GAP_CFG_ROLE_COUNT, &amp;amp;ble_cfg, ram_start);
    APP_ERROR_CHECK(err_code);

    // Enable BLE stack.
    err_code = softdevice_enable(&amp;amp;ram_start);
    APP_ERROR_CHECK(err_code);

    err_code = softdevice_ble_evt_handler_set(ble_evt_dispatch);
    APP_ERROR_CHECK(err_code);

    err_code = softdevice_sys_evt_handler_set(sys_evt_dispatch);
    APP_ERROR_CHECK(err_code);
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: still no flash events general</title><link>https://devzone.nordicsemi.com/thread/85072?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 09:16:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af52f6df-db15-49af-9ceb-f00de5df3378</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Have you registered a system event handler with&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;err_code = softdevice_sys_evt_handler_set(sys_evt_dispatch);
APP_ERROR_CHECK(err_code);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;?&lt;/p&gt;
&lt;p&gt;Have you enabled the SoftDevice?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>