<?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>Identify address operation with flash handler</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60551/identify-address-operation-with-flash-handler</link><description>Hi , i have implemented a event to flash handler with NRF_SDH_SOC_OBSERVER and it work . But I need to know which operation is related to the event , Es: void FlashEvent_Handler(uint32_t sys_evt, void * p_context) { switch (sys_evt) { I suppose that p_context</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Apr 2020 12:26:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60551/identify-address-operation-with-flash-handler" /><item><title>RE: Identify address operation with flash handler</title><link>https://devzone.nordicsemi.com/thread/246259?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2020 12:26:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ec3a58c-22bf-4208-a53c-d8e87478994c</guid><dc:creator>andrea_s</dc:creator><description>&lt;p&gt;Hi vidar,&lt;br /&gt;i use direct access to flash (with sd_flash ...) .&lt;br /&gt;I can use the context when i register (I hadn&amp;#39;t noticed) ,but&amp;nbsp; i can&amp;#39;t hook a single event from the api sd_flash .&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Andy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Identify address operation with flash handler</title><link>https://devzone.nordicsemi.com/thread/246245?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2020 11:58:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdce690f-80c6-441d-84b4-e829e080c060</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Andy,&lt;/p&gt;
&lt;p&gt;The flash SoC event from the Softdevice does not include any context information. So that leaves is up to the application to keep track of which operation the flash event belonged to. You may be able to utilize the context pointer for this (pointer is provided when you register SoC observer(s). Are you using fstorage or FDS in your application?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>