<?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>flashlog error: &amp;quot;nrf_fstorage addr_is_within_bounds(p_fs, dest, len) check failed in nrf_fstorage_write() with value 0x10&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46643/flashlog-error-nrf_fstorage-addr_is_within_bounds-p_fs-dest-len-check-failed-in-nrf_fstorage_write-with-value-0x10</link><description>I&amp;#39;m migrating a project from SDK 14.2.0 to SDK 15.3.0, using gcc. I only just got it to link and flash. I&amp;#39;m using the RTT logging and the flashlog. The RTT logging is working. 
 
 On the RTT terminal output, I&amp;#39;m seeing these errors as soon as I&amp;#39;ve init</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 13 Oct 2019 15:23:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46643/flashlog-error-nrf_fstorage-addr_is_within_bounds-p_fs-dest-len-check-failed-in-nrf_fstorage_write-with-value-0x10" /><item><title>RE: flashlog error: "nrf_fstorage addr_is_within_bounds(p_fs, dest, len) check failed in nrf_fstorage_write() with value 0x10"</title><link>https://devzone.nordicsemi.com/thread/214698?ContentTypeID=1</link><pubDate>Sun, 13 Oct 2019 15:23:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6736d035-076f-4fb8-af79-6cdd69aea216</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;...but if I could repro it, doesn&amp;#39;t this look relevant?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/41124/nrf-log-crashlog-backend"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/41124/nrf-log-crashlog-backend&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashlog error: "nrf_fstorage addr_is_within_bounds(p_fs, dest, len) check failed in nrf_fstorage_write() with value 0x10"</title><link>https://devzone.nordicsemi.com/thread/214697?ContentTypeID=1</link><pubDate>Sun, 13 Oct 2019 15:02:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e611644c-26f2-4929-9d6e-5ed54237407f</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;So it turns out I can&amp;#39;t reliably repro the situation where it&amp;#39;s trying to write outside the allocated area&lt;span&gt;. Today it&amp;#39;s hardfaulting much earlier and hitting the same &amp;quot;Backends flushed&amp;quot; warning logging that I was seeing earlier. I&amp;#39;ve opened private case&amp;nbsp;237487 for that. That seems to now be blocking me from repro&amp;#39;ing this issue, sorry. Could we have a look at that one first? Thanks.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashlog error: "nrf_fstorage addr_is_within_bounds(p_fs, dest, len) check failed in nrf_fstorage_write() with value 0x10"</title><link>https://devzone.nordicsemi.com/thread/214601?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2019 12:18:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:591be5c7-9fcf-4a53-8172-09432c42b2b7</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Eliot,&lt;/p&gt;
&lt;p&gt;I have not seen this, but the backend should obviously not&amp;nbsp;attempt to write outside of the allocated flash area. As a test,&amp;nbsp;could you comment out the assert check and see if it continues to fill the flash page at 0x50000, or if it stops after the last 12 bytes?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashlog error: "nrf_fstorage addr_is_within_bounds(p_fs, dest, len) check failed in nrf_fstorage_write() with value 0x10"</title><link>https://devzone.nordicsemi.com/thread/213752?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2019 21:21:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef7fadbc-ec7b-422a-9bb6-2b3118732e75</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;Hi Vidar. I&amp;#39;m just picking this up again now, having re-enabled the flashlog. The flashlog is trying to write 12 bytes at destination 0x0050000, which is outside the range 0x0004F000 to 0x0004FFFF.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2019_2D00_10_2D00_07-at-22.00.06.png" /&gt;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s where I&amp;#39;m guessing the flashlog is in flash:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2019_2D00_10_2D00_07-at-22.18.54.png" /&gt;&lt;/p&gt;
&lt;p&gt;Why it&amp;#39;s trying to write to&amp;nbsp;&lt;span&gt;0x0050000, I have no idea.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashlog error: "nrf_fstorage addr_is_within_bounds(p_fs, dest, len) check failed in nrf_fstorage_write() with value 0x10"</title><link>https://devzone.nordicsemi.com/thread/184042?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2019 11:11:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af79547d-21ea-440e-9770-818540e8c90a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The error indicates that you&amp;#39;re trying to write to an invalid address. Please check&amp;nbsp;if the &amp;quot;&lt;span&gt;dest&amp;quot; address passed to&amp;nbsp;addr_is_within_bounds() is in the p_fs-&amp;gt;start_addr to&amp;nbsp;&amp;nbsp;p_fs-&amp;gt;end_addr range.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>