<?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>fstorage callback not called</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120385/fstorage-callback-not-called</link><description>I am trying to use fstorage with the sd backend (SDK 14.0.0). My issue is that, after successfully calling nrf_fstorage_write, the callback I registered using 
 
 just never called. 
 
 This leaves me with two questions: 
 1. What reasons might there</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 06 Apr 2025 00:39:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120385/fstorage-callback-not-called" /><item><title>RE: fstorage callback not called</title><link>https://devzone.nordicsemi.com/thread/530705?ContentTypeID=1</link><pubDate>Sun, 06 Apr 2025 00:39:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbe1545b-5b2f-4cc3-bb74-97ba1a1c5e3f</guid><dc:creator>Daniel Dakhno</dc:creator><description>&lt;p&gt;You are right, and I was missing the file indeed.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I was also using an old sdk_config.h version, which was missing the following fields:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;NRF_SDH_SOC_ENABLED=1&lt;br /&gt;NRF_SDH_SOC_OBSERVER_PRIO_LEVELS=2&lt;br /&gt;BLE_ADV_SOC_OBSERVER_PRIO=1&lt;br /&gt;NRF_SDH_SOC_STACK_OBSERVER_PRIO=0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fstorage callback not called</title><link>https://devzone.nordicsemi.com/thread/530271?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 13:42:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14d15c83-766c-4a83-90ef-6d01448ad9ee</guid><dc:creator>Daniel Dakhno</dc:creator><description>&lt;p&gt;That is unfortunate...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Anyway, thanks, I&amp;#39;ll try it out!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fstorage callback not called</title><link>https://devzone.nordicsemi.com/thread/530270?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 13:40:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5dd1f96-2e7a-4b73-bf03-6c627a6273e4</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, that is the problem, is completely decoupled from the other code, so you won&amp;#39;t get any linker errors if you forget to include it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fstorage callback not called</title><link>https://devzone.nordicsemi.com/thread/530269?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 13:38:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73fafdf7-2c63-407b-a71b-575b9112a2d7</guid><dc:creator>Daniel Dakhno</dc:creator><description>&lt;p&gt;I am not quite sure atm the moment. Would my project even&amp;nbsp;link without &lt;span&gt;nrf_sdh_soc.c&lt;/span&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fstorage callback not called</title><link>https://devzone.nordicsemi.com/thread/530246?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 12:50:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a25446f-08f8-409d-b7c4-0d54a26c1026</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Does your project include the nrf_sdh_soc.c source file? This module is responsible for propagating the FLASH and other SoC events to registered NRF_SDH_SOC_OBSERVERs such as the nrf_fstorage_sys_evt_handler() in nrf_fstorage_sd.c.&lt;/p&gt;
[quote user=""]2. Can multiple modules register SD observers using&amp;nbsp;NRF_SDH_BLE_OBSERVER with the same priority, or does every observer need to have its own priority?[/quote]
&lt;p&gt;Yes, this is not a problem if you don&amp;#39;t care about which order the observers are called.&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>