<?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>Writing to Flash on specific address on 52811</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56050/writing-to-flash-on-specific-address-on-52811</link><description>Hi, 
 I&amp;#39;m trying to write data to flash as shown in example under nrf5_sdk/examples/peripheral/flash_fstorage, with identical steps. 
 However every time I call the nrf_fstorage_write, example nrf_fstorage_write(&amp;amp;fstorage, 0x1C000, &amp;amp;m_data, sizeof(m_data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Dec 2019 12:45:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56050/writing-to-flash-on-specific-address-on-52811" /><item><title>RE: Writing to Flash on specific address on 52811</title><link>https://devzone.nordicsemi.com/thread/227067?ContentTypeID=1</link><pubDate>Mon, 30 Dec 2019 12:45:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc365f1d-4cc6-444d-9656-bb700c507290</guid><dc:creator>Simon</dc:creator><description>&lt;ul&gt;
&lt;li&gt;Did&amp;nbsp;&lt;span&gt;nrf_fstorage_write() return any error or is it a hard fault? If an error was returned, what error code do you see?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Same question as&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/turboj"&gt;Turbo J&lt;/a&gt;: Are you using the SoftDevice in your application?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Could you share your application, then I can try to reproduce your error&lt;/span&gt;&lt;/li&gt;
&lt;/ul&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: Writing to Flash on specific address on 52811</title><link>https://devzone.nordicsemi.com/thread/227060?ContentTypeID=1</link><pubDate>Mon, 30 Dec 2019 12:16:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2185f438-514b-4b8c-90bd-691b43442f11</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Your math seems off: 0x19000 + 0x6000 = 0x1F000. Normally, the storage modules check for stuff like that and will refuse to write in the application flash area (IIRC - did not verify source code).&lt;/p&gt;
&lt;p&gt;Also, fstorage has 2 modi: With softdevice enabled and without. We don&amp;#39;t know which one is active in your project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>