<?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>How to set p_start_addr for fstorage manually (SDK 12.1)?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18788/how-to-set-p_start_addr-for-fstorage-manually-sdk-12-1</link><description>I would like to set the the fstorage memory location manually through fs_init() within SDK 12.1, but I am not sure how to do this. There&amp;#39;s comments that is can be done manually, but I do not know where it is specifically set. I would like p_start_addr</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Jan 2017 09:13:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18788/how-to-set-p_start_addr-for-fstorage-manually-sdk-12-1" /><item><title>RE: How to set p_start_addr for fstorage manually (SDK 12.1)?</title><link>https://devzone.nordicsemi.com/thread/72571?ContentTypeID=1</link><pubDate>Fri, 06 Jan 2017 09:13:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf24652e-7d1c-494b-a54c-a872683c4283</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Yes, as long as you don&amp;#39;t change FS_PAGE_END_ADDR which is calculated with fs_flash_page_end_addr().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set p_start_addr for fstorage manually (SDK 12.1)?</title><link>https://devzone.nordicsemi.com/thread/72570?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2017 16:26:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c9f18e1-fa5b-4c29-a2e3-bac54dbab787</guid><dc:creator>eeboarder</dc:creator><description>&lt;p&gt;Petter, that is currently how I have it set up, and I am starting at 0x3FC00. Will this guarantee that the memory address will always be fixed to 0x3FC00?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set p_start_addr for fstorage manually (SDK 12.1)?</title><link>https://devzone.nordicsemi.com/thread/72569?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2017 10:01:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dd6ad32-eaa8-411d-8a36-ca39fe22a808</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;If you are only calling&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;// Our fstorage configuration.
FS_REGISTER_CFG(fs_config_t fs_config) =
{
    .callback  = fs_event_handler,
    .num_pages = FDS_PHY_PAGES,
    // We register with the highest priority in order to be assigned
    // the pages with the highest memory address (closest to the bootloader).
    .priority  = 0xFF
};
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;once, I think you can just set FDS_PHY_PAGES to 1, and p_start_addr should be 0x3FC00. You can however confirm this by setting a breakpoint in fs_init().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>