<?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 memory debug the nrf52840 application?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79457/how-to-memory-debug-the-nrf52840-application</link><description>How do I do memory debugging in the nrf52840 in the runtime, or trace the RAM in run time, also how do I do the profiling of the memory in the run time. How do I find out all the possible bugs that the system can lead into in the future because of the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Sep 2021 11:54:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79457/how-to-memory-debug-the-nrf52840-application" /><item><title>RE: How to memory debug the nrf52840 application?</title><link>https://devzone.nordicsemi.com/thread/328806?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 11:54:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c6f1332-7e68-4434-bd24-2ffa323d7d12</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure I know what you mean by &amp;quot;memory debugging&amp;quot;, but please check out &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/10729/my-device-is-freezing-and-restarting"&gt;this guide&lt;/a&gt; which explains all the basics of the debugging process on the nRF51 and 52 series.&lt;/p&gt;
&lt;p&gt;To find possible bugs that an application might have in the future is very hard, and it&amp;#39;s just a matter of testing all thinkable corner cases while debugging to see if you run into any issues. What SDK are you using for your application? The&lt;a href="https://infocenter.nordicsemi.com/topic/struct_sdk/struct/sdk_nrf5_latest.html"&gt; nRF5 SDK&lt;/a&gt; or the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html"&gt;nRFConnect SDK&lt;/a&gt;? In the documentation of both there should be a good explanation of how it works and how it will run on an nRF52.&lt;/p&gt;
&lt;p&gt;The best way to make sure that an application won&amp;#39;t fail is thorough work and testing, and a clear understandable application code that makes it easy to find where issues might take root.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>