<?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>I GOT ERROR 11 when fds_init();</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60123/i-got-error-11-when-fds_init</link><description>HI 
 I&amp;#39;m using fds and dfu at the same time with SDK15.3 
 but it seems that there are some ram conflict or something wrong 
 my main is look like this 
 
 and i get 
 
 when the code go to APP_ERROR_CHECK(rc); 
 I have read some issues in devzone 
 but</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Apr 2020 13:59:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60123/i-got-error-11-when-fds_init" /><item><title>RE: I GOT ERROR 11 when fds_init();</title><link>https://devzone.nordicsemi.com/thread/245868?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2020 13:59:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:721435d5-e6e6-4ae8-b79c-5d6ae0243761</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure which issue you fixed,&amp;nbsp;I tested both ways in the project you uploaded and they both seem to work fine here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I GOT ERROR 11 when fds_init();</title><link>https://devzone.nordicsemi.com/thread/245682?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2020 01:19:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63040950-8565-45cb-af5e-3971ac01cb40</guid><dc:creator>Aku</dc:creator><description>&lt;p&gt;I just fix the problem in a &lt;em&gt;&lt;strong&gt;MYSTERIOS&lt;/strong&gt;&lt;/em&gt; way&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/3630.11.PNG" alt=" " /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/7245.22.PNG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;just moved the fds initial up&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;AND IT WORKS&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;WHY????&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;i&amp;#39;m so confused, is this a bug?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;since another IDE has no problem on the original code , and the original code can work on nrf52dk&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;by the way i&amp;#39;m using SEGGER Embedded Studio for ARM&lt;/p&gt;
&lt;p&gt;and i use internal rtc&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I GOT ERROR 11 when fds_init();</title><link>https://devzone.nordicsemi.com/thread/245679?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2020 00:32:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dc96988-850b-43f1-98c4-00342a921508</guid><dc:creator>Aku</dc:creator><description>&lt;p&gt;I just try to use my nrf52dk and it worked.......&lt;/p&gt;
&lt;p&gt;and if i use my own custom board it failed&lt;/p&gt;
&lt;p&gt;but why?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I GOT ERROR 11 when fds_init();</title><link>https://devzone.nordicsemi.com/thread/245609?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2020 14:49:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f9bab7d-0186-4c6f-b0da-337c2cf158f3</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I do not see error 11 in the second project, but I do see error 3 (FDS_ERR_UNALIGNED_ADDR) from call to&amp;nbsp;fds_record_write() in&amp;nbsp;kls_fds_write(). You need to align the data that you pass to this function. Since&amp;nbsp;wait_for_fds_ready() is called regardless of the error returned from&amp;nbsp;fds_record_write(), the application will get stuck here when no write has been scheduled.&lt;/p&gt;
&lt;p&gt;You can solve the error by adding align-attribute to the array definitions:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;uint8_t __attribute__((aligned(4))) default_pwd[9] = { 0xAA,0xA2,0x05,0x48,0x59,0x50,0x52,0x4f }; //HYPRO
uint8_t __attribute__((aligned(4))) default_record_interval[5] = { 0xBB,0XB1,0x01,0x14,0x00 }; //20
uint8_t __attribute__((aligned(4))) default_device_name[7] = { 0xCC,0xC3,0x04,0x47,0x54,0x30,0x36 };//GT06&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I GOT ERROR 11 when fds_init();</title><link>https://devzone.nordicsemi.com/thread/245467?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2020 09:17:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79f0788a-e29f-4006-88c6-c1915eeb80bf</guid><dc:creator>Aku</dc:creator><description>&lt;p&gt;HI&lt;/p&gt;
&lt;p&gt;this is the origin code i got&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0420.zip"&gt;devzone.nordicsemi.com/.../0420.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and i put it to a clean &lt;span&gt;ble_app_template in&amp;nbsp;&lt;/span&gt;SDK15.3&lt;/p&gt;
&lt;p&gt;it may loss someting to include&lt;/p&gt;
&lt;p&gt;after i fix it,i got it compile as below&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6685.ble_5F00_app_5F00_template.rar"&gt;devzone.nordicsemi.com/.../6685.ble_5F00_app_5F00_template.rar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and i&amp;#39;m using nrf52832 on my custom board&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I GOT ERROR 11 when fds_init();</title><link>https://devzone.nordicsemi.com/thread/245456?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2020 08:55:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bb0f564-0eb4-45c8-8a4f-bb5754268613</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Different compilers/linkers may generate different sized hex-files for the same code, it depends on how it translates the high-level code into machine code and how optimized the code is.&lt;/p&gt;
&lt;p&gt;If there is a big difference in size, it may be that the softdevice is merged with one file, but not with the other?&lt;/p&gt;
&lt;p&gt;Can you upload the full project, for us to reproduce and debug this issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I GOT ERROR 11 when fds_init();</title><link>https://devzone.nordicsemi.com/thread/245409?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2020 04:04:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffd6b421-81d1-42e8-beae-dbe5d29e2f3d</guid><dc:creator>Aku</dc:creator><description>&lt;p&gt;HI&lt;/p&gt;
&lt;p&gt;the original code is not compiled by segger and worked fine&lt;/p&gt;
&lt;p&gt;it was compile by visual stidio with visualgdb&lt;/p&gt;
&lt;p&gt;and i am asked to edit some functions&lt;/p&gt;
&lt;p&gt;but i dont have&amp;nbsp;&lt;span&gt;visual stidio and visualgdb&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;so i try segger and it show me these errors&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I can see that my hex is much smaller than the original one&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;but why?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;the code are same&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I GOT ERROR 11 when fds_init();</title><link>https://devzone.nordicsemi.com/thread/245104?ContentTypeID=1</link><pubDate>Fri, 17 Apr 2020 00:56:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e753011-5411-4ee6-9edf-39bd910efb90</guid><dc:creator>Aku</dc:creator><description>&lt;p&gt;And here are what i program originally,bootloader(with setting) and hex from my main code&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/boot_5F00_settingV1.hex"&gt;devzone.nordicsemi.com/.../boot_5F00_settingV1.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/origin.hex"&gt;devzone.nordicsemi.com/.../origin.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I GOT ERROR 11 when fds_init();</title><link>https://devzone.nordicsemi.com/thread/245103?ContentTypeID=1</link><pubDate>Fri, 17 Apr 2020 00:52:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75c23bcc-ac9e-424d-b7ae-f4cb59481bfa</guid><dc:creator>Aku</dc:creator><description>&lt;p&gt;HI&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp; &amp;nbsp; I tried 3,6,20&amp;nbsp; ,and only found that the address had changed&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp; &amp;nbsp; I always run erase all before i write&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp; &amp;nbsp; I will upload it below&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nRF_5F00_Connect_5F00_Programmer_5F00_1587084499777.hex"&gt;devzone.nordicsemi.com/.../nRF_5F00_Connect_5F00_Programmer_5F00_1587084499777.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I GOT ERROR 11 when fds_init();</title><link>https://devzone.nordicsemi.com/thread/245013?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 13:29:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a0e1848-44c6-44bf-8d81-3f14b43511f4</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;To me they look similar, just one section is gone. What value did you set&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__fds__config.html#ga28b38ad7ba33f489f4b3de4c67cdfa7f"&gt;FDS_VIRTUAL_PAGES_RESERVED&lt;/a&gt;&amp;nbsp;to?&lt;/p&gt;
&lt;p&gt;If you do not know what data is stored in flash, I would recommend you to run an erase all operation to clear the flash. Alternatively, if you could use the &amp;quot;Save to file&amp;quot; option in nRF Connect programmer app and upload the file, along with information about the ranges of all regions that show up in the window, that could help us identify what is stored in your flash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I GOT ERROR 11 when fds_init();</title><link>https://devzone.nordicsemi.com/thread/244832?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 03:22:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3056d55-da79-4228-bdca-4bd5c54cd67a</guid><dc:creator>Aku</dc:creator><description>&lt;p&gt;HI&lt;/p&gt;
&lt;p&gt;i change the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__fds__config.html#ga28b38ad7ba33f489f4b3de4c67cdfa7f"&gt;FDS_VIRTUAL_PAGES_RESERVED&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;span&gt;and the problem is still there.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;but i found that the address of the three 8 byte region changed&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;so are these three region my&amp;nbsp;FDS_VIRTUAL_PAGES?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;why are they only 8 byte?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;i think they should be 1024?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1587006698869v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I GOT ERROR 11 when fds_init();</title><link>https://devzone.nordicsemi.com/thread/244646?ContentTypeID=1</link><pubDate>Wed, 15 Apr 2020 09:36:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30d31b2e-eab8-48cb-8aa3-592a957208ec</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Yes, that is the equivalent function in nRF Connect programmer app.&lt;/p&gt;
&lt;p&gt;It looks like you have multiple data blocks located at the top of your flash. FDS will try to initialize itself at the end (top) of the flash, or right below the bootloader if that is present. If you want to store other data, you can add an offset&amp;nbsp;of&amp;nbsp;reserved pages between the end of flash/bootloader and where FDS is initialized by setting&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__fds__config.html#ga28b38ad7ba33f489f4b3de4c67cdfa7f"&gt;FDS_VIRTUAL_PAGES_RESERVED&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I GOT ERROR 11 when fds_init();</title><link>https://devzone.nordicsemi.com/thread/244575?ContentTypeID=1</link><pubDate>Wed, 15 Apr 2020 02:23:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c0a9976-cd90-40b1-8d31-faba2aed6b50</guid><dc:creator>Aku</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1586916711730v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Is&amp;nbsp;&lt;span&gt;&amp;#39;nrfjprog -e&amp;#39; command same as Erase all in nrfconnect programmer?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1586916853341v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;and it seems that there is much space remain in flash&lt;/p&gt;
&lt;p&gt;by the way i set&amp;nbsp;FDS_VIRTUAL_PAGES 3&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;FDS_VIRTUAL_PAGE_SIZE 1024&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;FDS_VIRTUAL_PAGES_RESERVED 0&lt;/p&gt;
&lt;p&gt;actually i just want to save device name and some settings that user can set in app&lt;/p&gt;
&lt;p&gt;may not&amp;nbsp;exceed 100byte&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: I GOT ERROR 11 when fds_init();</title><link>https://devzone.nordicsemi.com/thread/244518?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2020 15:50:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3aa3d755-46f8-4293-ad36-a29522805433</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Error 11 corresponds to&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__fds.html#ggaa156d1cebb38c8a65846c4d9c006012aa4cefb883ac53148fe36c9775b4ff67b9"&gt;FDS_ERR_NO_PAGES&lt;/a&gt;, which means that &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__fds.html#ga2382947318f107a9c8d08a9a5916ccf4"&gt;fds_init&lt;/a&gt; cannot install the FDS file system because there is not enough room in the Flash. Have you tried erasing the entire flash using &amp;#39;nrfjprog -e&amp;#39; command before running the example? Is your application taking up all the space in the flash?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>