<?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>spm overwrites user RAM variables</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76374/spm-overwrites-user-ram-variables</link><description>Using gdb watchpoints I was able to see that running spm_request_random_number() (which is executed in sys_rand32_get) changes content of first byte of backend_cb_log_backend_custom. This is fragment of zephyr.map file: 
 ... .bss.fp_context_buffer 0x0000000020015db4</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Jun 2021 14:40:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76374/spm-overwrites-user-ram-variables" /><item><title>RE: spm overwrites user RAM variables</title><link>https://devzone.nordicsemi.com/thread/316523?ContentTypeID=1</link><pubDate>Tue, 22 Jun 2021 14:40:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bea3cd81-6d54-42fc-9e38-f0de95a57985</guid><dc:creator>mniestroj</dc:creator><description>&lt;p&gt;I confirm, that it does fix this bug, thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: spm overwrites user RAM variables</title><link>https://devzone.nordicsemi.com/thread/315851?ContentTypeID=1</link><pubDate>Thu, 17 Jun 2021 11:46:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:130ea5af-d483-4482-bafd-4192c5a27b16</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I just wanted to inform you that there&amp;nbsp;has been made a&amp;nbsp;fix for this bug&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/4892"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: spm overwrites user RAM variables</title><link>https://devzone.nordicsemi.com/thread/315611?ContentTypeID=1</link><pubDate>Wed, 16 Jun 2021 12:45:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6fa1c37-60b5-4b34-ad88-2d5ffd7ae9e5</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for reporting this bug and for providing&amp;nbsp;information about which commit it was most likely introduced in!&lt;/p&gt;
&lt;p&gt;I have reported this internally to our developers, and they are looking into it.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>