<?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>Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127324/problem-with-fstorage-and-ble-active-in-release-mode</link><description>I&amp;#39;m using nRF52832 SoC with nRF5_SDK17.1.0 and SoftDevice v7.3.0. I&amp;#39;m using following code to write data into flash. 
 err_code = nrf_fstorage_write(&amp;amp;g_fs, write_addr, buffer32, 128, NULL); 
 wait_while_fs_busy(&amp;amp;g_fs); 
 
 /* Wait helper: sleep while</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 Mar 2026 06:05:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127324/problem-with-fstorage-and-ble-active-in-release-mode" /><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/564280?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2026 06:05:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc207889-1b56-4a40-950c-604572b8e19a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Correct, this was done with the &amp;quot;Build and Run&amp;quot; call. I did not change anything, but did test on a development kit. If you are seeing this issue when flashing on a custom board, I&amp;#39;d recommend trying on the nRF52832 DK to make sure whether this is only occurring on the custom board or if you see the same behavior on a DK as well.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/564244?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2026 10:08:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a681ef3-32f4-421b-8a2a-2a0d61e9782e</guid><dc:creator>Stebitt</dc:creator><description>&lt;p&gt;Hi Simon - thanks for this.&lt;/p&gt;
&lt;p&gt;I assume this test has been done with the code&amp;nbsp;&lt;strong&gt;compiled as Release&lt;/strong&gt; and &lt;strong&gt;downloaded&lt;/strong&gt; to the device with &lt;strong&gt;&amp;#39;Build and Run&lt;/strong&gt;&amp;#39;.&lt;br /&gt;Did you have to modify or exclude anything on my code to make it run?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you please confirm?&lt;/p&gt;
&lt;p&gt;This behavior is how I expect it should run. But on my device I have the issue described. Could it be that I have some conflicts with interrupts or modules which are active and lead to a &amp;#39;hanging&amp;#39; in run-time? With my tests I can proof that not one byte is being written to the flash - if it is a &amp;#39;hanging&amp;#39; then it happens right at the beginning.&lt;/p&gt;
&lt;p&gt;Thanks for your support&amp;nbsp; - I really need it.&lt;/p&gt;
&lt;p&gt;Stephan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/564236?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2026 07:45:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b823291-176e-456b-b591-9509fc95da1a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Stephan&lt;/p&gt;
&lt;p&gt;No I did not, but I did just now on my end. Please see the readout from the address where the device names are here. Sorry for the weird names, but there are a lot of devices around the office, so I have to name them something I remember to find them when searching. Device name was changed from &amp;quot;&lt;strong&gt;ostepop&lt;/strong&gt;&amp;quot; to &amp;quot;&lt;strong&gt;flexboi&lt;/strong&gt;&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;PS C:\ncs\nrf-bm\v1.0.0&amp;gt; nrfutil device read --address 0x0007D000 --bytes 1000
682030708
0x0007D000: 6574736F 00706F70 00003041 00000000   |ostepop.A0......|
0x0007D010: 00000000 00000000 00000000 00000000   |................|
0x0007D020: 44414544 46454542 0C0B0A00 100F0E0D   |DEADBEEF........|
0x0007D030: 14131211 18171615 1C1B1A19 201F1E1D   |............... |
0x0007D040: 24232221 28272625 2C2B2A29 302F2E2D   |!&amp;quot;#$%&amp;amp;&amp;#39;()*+,-./0|
0x0007D050: 34333231 38373635 3C3B3A39 403F3E3D   |123456789:;&amp;lt;=&amp;gt;?@|
0x0007D060: 44434241 00000000 00000000 00000000   |ABCD............|
0x0007D070: 00000000 00000000 00000000 01451401   |..............E.|
0x0007D080: 78656C66 00696F62 00003041 00000000   |flexboi.A0......|
0x0007D090: 00000000 00000000 00000000 00000000   |................|
0x0007D0A0: 44414544 46454542 0C0B0A00 100F0E0D   |DEADBEEF........|
0x0007D0B0: 14131211 18171615 1C1B1A19 201F1E1D   |............... |
0x0007D0C0: 24232221 28272625 2C2B2A29 302F2E2D   |!&amp;quot;#$%&amp;amp;&amp;#39;()*+,-./0|
0x0007D0D0: 34333231 38373635 3C3B3A39 403F3E3D   |123456789:;&amp;lt;=&amp;gt;?@|
0x0007D0E0: 44434241 00000000 00000000 00000000   |ABCD............|
0x0007D0F0: 00000000 00000000 00000000 01451401   |..............E.|
0x0007D100: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF   |................|&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/564211?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2026 15:34:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b762cef8-5d2b-4cae-9a56-c52288433e64</guid><dc:creator>Stebitt</dc:creator><description>&lt;p&gt;Hi Simon - thanks for your effort you made.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you explicitly checked and can you confirm that when programmed with &amp;#39;Build and Run&amp;#39; the new name (actually the whole 128 byte package of the struct &amp;#39;dev_block.info&amp;#39;) is being written to the flash on a following start address in the same flash page? See the red marked 128 byte block under g) in my previous description from March 23rd.&lt;br /&gt;Siede note: in a page is space for 32 blocks of 128 byte; we use only 31 blocks.&lt;/p&gt;
&lt;p&gt;The problem is not that the new name is not immediately adopted for BT advertising without a restart. Our issue is that the new name or data is not written into the flash memory in this mode.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best&lt;br /&gt;Stephan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/564173?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2026 10:14:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a440af4-b62b-456d-8b9d-e7a94a64ee4a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Stephan&lt;/p&gt;
&lt;p&gt;Sorry I didn&amp;#39;t get back to you yesterday.&lt;/p&gt;
&lt;p&gt;I have done some more testing now, and tried writing and reading the device name characteristic from the nRF Connect for Mobile app, and that seems to work. The Device name (characteristic data) does not change before the device has been reset though, which is expected, since the Bluetooth controller (SoftDevice) needs to reinitialize with the new name for it to take effect, so that might be what you&amp;#39;re seeing here.&lt;/p&gt;
&lt;p&gt;It still seems to behave the same in debug mode and release mode to me. Where it advertises for a short amount of time upon starting where I can connect to it and stay connected for as long as I want. The service and characteristic works as expected from what I can see, where you need to uninit and reinitialize the application for the device name changes to take effect. I&amp;#39;m also able to reconnect after &lt;strong&gt;connecting -&amp;gt; changing the device name -&amp;gt; resetting the device -&amp;gt; reconnect&lt;/strong&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You say you do &amp;quot;Build and debug&amp;quot; and see the name is not changed. This is expected, as that would mean you flash the application with the original device name again when flashing the device in debug mode again. So it&amp;#39;s also expected that the registers wouldn&amp;#39;t change when you flash the device before going into debug mode.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/564081?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2026 09:16:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a238171f-fa0f-415b-8f81-4241cf1e58e4</guid><dc:creator>Stebitt</dc:creator><description>&lt;p&gt;Hi Simon - do you have any news? we have a milestone meeting this afternoon and any info would be helpful...&lt;br /&gt;&lt;br /&gt;Coming back to my question earlier in this topic:&amp;nbsp; could you&lt;span&gt;&amp;nbsp;provide code where BT communication and fstorage runs in compiled mode. Then we could add our application step by step to it.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Stephan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/564016?ContentTypeID=1</link><pubDate>Wed, 25 Mar 2026 10:04:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0763024-a30a-478a-9fad-46d468ee1033</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Sorry, I did not get to testing this further yet. I will follow your instructions and look further into this today. I&amp;#39;ll get back to you with more details on Friday at the latest.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/563961?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2026 14:50:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc7b236b-60e1-4364-bbf6-862618b10a01</guid><dc:creator>Stebitt</dc:creator><description>&lt;p&gt;Hi Simon&amp;nbsp; - have you seen my comment? and did it help?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/563899?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2026 14:55:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b056587e-e5e2-487c-b3b3-b409de9ab0a7</guid><dc:creator>Stebitt</dc:creator><description>&lt;p&gt;Hi Simon - thanks for your time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, you have to do these steps:&lt;/p&gt;
&lt;p&gt;a) download the program in&amp;nbsp;&lt;strong&gt;debug&lt;/strong&gt; mode (Build and Debug):&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1774276430330v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;b) starting/running the program&lt;/p&gt;
&lt;p&gt;c)&amp;nbsp;&lt;span&gt;pause the running program and check the flash memory starting at 0x007D000 to 0x007DFFF for last stored entry.&amp;nbsp;&lt;br /&gt;The data set (128 bytes) starts with the device name, here it is &amp;#39;Flex 014&amp;#39; and &amp;#39;Flex 015&amp;#39; .&lt;img style="max-height:134px;max-width:621px;" height="134" src="https://devzone.nordicsemi.com/resized-image/__size/1242x268/__key/communityserver-discussions-components-files/4/pastedimage1774275206125v1.png" width="621" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;d)&amp;nbsp;reset and restart the program (still in debug mode)&lt;/p&gt;
&lt;p&gt;e) establish a connection with the device (I use a mobile with nRF Connect) and open the service / UUID &amp;#39;c8d1-e700.....&amp;#39;&lt;/p&gt;
&lt;p&gt;f) send a &amp;#39;Name change&amp;#39; command --&amp;gt; this is the characteristics &amp;#39;c8d1-e710....&amp;#39; and write a new name in ASCII (I usually increase just the number of e.g &amp;#39;Flex 008&amp;#39;. The name has to be 6 characters in minimum)&lt;/p&gt;
&lt;p&gt;g) pause the running program and check the flash memory&amp;nbsp;again&lt;br /&gt;- -&amp;gt; the name should be written to the flash (here in red)&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:166px;max-width:632px;" height="166" src="https://devzone.nordicsemi.com/resized-image/__size/1264x332/__key/communityserver-discussions-components-files/4/pastedimage1774276138369v2.png" width="632" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;h) Now download the code in mode &amp;#39;&lt;strong&gt;Build and Run&lt;/strong&gt;&amp;#39; and do the step e)&amp;nbsp; -&amp;gt; &amp;#39;connect&amp;#39; has to be done within few seconds after download completes.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;i) now send again a &amp;#39;Name change&amp;#39; command&amp;nbsp;(see f) above)&amp;nbsp;with increased number for identification of new write to flash.&amp;nbsp; &amp;nbsp; &amp;nbsp;On my side, the connection will get lost after this.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;j) download the program in&amp;nbsp;&lt;strong&gt;debug&lt;/strong&gt;&amp;nbsp;mode (Build and Debug) and do b) and c) again to check if the new name has been written.&amp;nbsp; &amp;nbsp; --&amp;gt; this never happend on our devices.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I hope this description guides you well and you can reproduce the issue we observe.&lt;br /&gt;Feel also free to call me to assist you if you have any questions: +41 672 7530&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Stephan&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/563873?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2026 12:58:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bae6abd1-dea9-4216-9bbd-bdd196132afb</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have your project running now, but I&amp;#39;m struggling to see what exactly you want us to debug here. It seems like the project behaves in the same way in release and debug mode to me.&amp;nbsp;I was able to connect to the board both in release and debugging (once I removed the breakpoint). Do I need to do something specific to trigger/reproduce this issue?&lt;/p&gt;
&lt;p&gt;Most likely, if the issue happens after a while,&amp;nbsp;&lt;span&gt;some buffers are being optimized away in release mode and fstorage hangs in the background without ever getting the complete event.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/563763?ContentTypeID=1</link><pubDate>Fri, 20 Mar 2026 12:39:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07fb1683-b35c-4062-ab93-073e44ed0a1b</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Sorry, missed to see that there is a segger project there.&lt;/p&gt;
&lt;p&gt;I tried to build it and I cannot build as there are files that are hardcoded filepaths that does not work with Mac that I have.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1774010397572v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I need to ask for help from my colleague to run this on their Windows machine.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/563568?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2026 13:07:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:042c42f9-6a38-4512-a028-ee2ea0cbab60</guid><dc:creator>Stebitt</dc:creator><description>&lt;p&gt;Thanks for having a look at it.&lt;/p&gt;
&lt;p&gt;We are not using IAR - we use &amp;quot;SEGGER Embedded Studio for ARM&amp;quot;. You can download a free version from here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.segger.com/downloads/embedded-studio/"&gt;SEGGER - The Embedded Experts - Downloads - Embedded Studio&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The project can be started after installation by double-clicking this file:&lt;/p&gt;
&lt;p&gt;...\nrf52_ble_fw-pool - FLO2_v03 - Robin\pca10040\s132\ses\ble_app_uart_pca10040_s132.emProject&lt;/p&gt;
&lt;p&gt;Further details:&amp;nbsp;&lt;br /&gt;- we do not optimize the code in release mode&lt;br /&gt;- address range we use is 0x007D000 - 0x007DFFF&lt;br /&gt;- the last 128 bytes&amp;nbsp;are not used (wrap around bevor) we only use the space to store 31x128 bytes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/563520?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2026 06:49:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa450cc2-8645-46e4-b2a7-c24da4cd212b</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Stephan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have review&amp;nbsp;reviewed the project you attached. This seems an IAR project and I cannot see the main project file apart from the .eww file And the issue does not appear to be caused by the wrong fstorage backend being selected.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The behavior is more consistent with the flash operation not completing in the Release build. When that happens, the firmware remains in its idle wait path and appears stuck in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;sd_app_evt_wait()&lt;/span&gt;. This can still look fine in Debug mode because the different timing, lower optimization, and active logging often mask this type of issue. Also, I see that the application writes to a fixed flash address (&lt;span&gt;0x0007D000&lt;/span&gt;). That address must be confirmed against the final linker layout. If it overlaps a reserved flash region, the result can be unstable and may only become visible in Release mode. There are some other &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/116203/nrf_sdh_evts_poll-hangs-when-trying-to-write-erase-flash-after-sdh-is-enabled"&gt;threads&lt;/a&gt;&amp;nbsp;that mention that&amp;nbsp;&lt;span&gt;nrf_sdh_soc.c&amp;nbsp;could be optimized away if you do not make sure it is used right.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I cannot compile your project since it is IAR and I do not have a license for it.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/563410?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2026 08:58:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecb49c6b-50c9-48bf-8f6d-e0e3f413ed48</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Stephan, I am really sorry, this thread fell out of my visible queue. I will take a look at your project tomorrow. Sorry for the delays.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/563290?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2026 08:48:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60099129-78a3-478b-8e2c-2ed9a0713f67</guid><dc:creator>Stebitt</dc:creator><description>&lt;p&gt;Hi support - I wonder if you could proceed with testing our code regarding the issue we have.&lt;/p&gt;
&lt;p&gt;Another attempt would be if you would provide me a code where BT communication and fstorage runs in compiled mode. Then we could add our application step by step to it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would like to emphasize that we really need your support in this matter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/563131?ContentTypeID=1</link><pubDate>Thu, 12 Mar 2026 13:32:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aede2a5c-b021-40d9-84ee-2e9e4b4bf514</guid><dc:creator>Stebitt</dc:creator><description>&lt;p&gt;Hi - could you load my code to you platform and test it?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/562900?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2026 09:58:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83b50ed9-b11a-4ccf-b308-e3b9a67eaf60</guid><dc:creator>Stebitt</dc:creator><description>&lt;p&gt;It&amp;#39;s called from the main. Here my code...&lt;/p&gt;
&lt;p&gt;All the LED_ON / LED_OFF sequences are for debugging&amp;nbsp;to see on an oscilloscope where the code goes through.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf52_5F00_ble_5F00_fw_2D00_pool-_2D00_-FLO2_5F00_v03-_2D00_-nRF.zip"&gt;devzone.nordicsemi.com/.../nrf52_5F00_ble_5F00_fw_2D00_pool-_2D00_-FLO2_5F00_v03-_2D00_-nRF.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/562880?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2026 08:26:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:693639ee-fcd9-414b-b378-997ad4fd45fe</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Are you calling&amp;nbsp;&lt;span&gt;wait_while_fs_busy from main context or some other interrupt context?&lt;br /&gt;I cannot do online meetings, if you can give me your code, I can do a quick test on my end to see why this happens only in released mode. Clearly there seems to be some timing issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/562878?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2026 08:08:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6620cd6a-d9ce-4cb4-b639-faa454a9b1d2</guid><dc:creator>Stebitt</dc:creator><description>&lt;p&gt;Shall I send you my code? Or could we do a online meeting to check? As said, when compiled for Debugg it runs. Could any other service block somehow the fstorage events?&lt;/p&gt;
&lt;p&gt;Yes, I&amp;#39;m&amp;nbsp;&lt;span&gt;using nrf_fstorage_sd.c&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/562870?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2026 06:00:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5d81c7e-32e0-4071-89a5-7a6f94014a47</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user="Stebitt"] I tried also only the call of&amp;nbsp;&lt;span&gt;sd_app_evt_wait();&amp;nbsp; &amp;nbsp;--&amp;gt; with same result - it hangs in this call&lt;/span&gt;[/quote]
&lt;p&gt;sd_app_evt_wait should have worked. Can you please confirm that you are using nrf_fstorage_sd.c as the backend&amp;nbsp;when you are initializing the fstorage? If yes, I would like to get a minimalistic project to replicate this issue on the DK on my end.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/562822?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2026 13:24:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b17c1a73-3a75-4d81-b688-761baa24bc09</guid><dc:creator>Stebitt</dc:creator><description>&lt;p&gt;Thanks for your replay. Will power_manage()&amp;nbsp; comply with SD functionality?&lt;/p&gt;
&lt;p&gt;could you please post the code of&amp;nbsp;power_manage() - thanks&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Remark to &amp;#39;&lt;span&gt;wait_while_fs_busy functi&lt;/span&gt;&lt;span&gt;on is too complex&lt;/span&gt;&amp;#39; : I tried also only the call of&amp;nbsp;&lt;span&gt;sd_app_evt_wait();&amp;nbsp; &amp;nbsp;--&amp;gt; with same result - it hangs in this call&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;In this case, the loop&amp;nbsp;&amp;nbsp;&lt;span&gt;&amp;#39;&lt;/span&gt;&lt;span&gt;wait_while_fs_busy&amp;nbsp; goes twice in&amp;nbsp;sd_app_evt_wait(); within 30us and this repeats after 650us&amp;nbsp; 6 times and then hangs again in&amp;nbsp;sd_app_evt_wait();&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with fstorage and ble active in Release mode</title><link>https://devzone.nordicsemi.com/thread/562802?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2026 11:03:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:857befda-09df-404e-a081-20f10f5630a5</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Stephan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Your wait_while_fs_busy function is too complex and unnecessary. We have already exposed the helper to check the status on nrf_storage . Your wait function can just use&amp;nbsp;&lt;em&gt;nrf_fstorage_is_busy&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;void wait_while_fs_busy(nrf_fstorage_t const * p_fstorage)
{
    /* While fstorage is busy, sleep and wait for an event. */
    while (nrf_fstorage_is_busy(p_fstorage))
    {
        power_manage();
    }
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>