<?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>nRF Debugging not showing RAM which I think I need to debug a Stack Overflow</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116667/nrf-debugging-not-showing-ram-which-i-think-i-need-to-debug-a-stack-overflow</link><description>I have gone through the training on debugging because I am getting a stack overflow error, however the debugging screen does not have RAM on it, like it shows in the Dev Academy Lesson . Mine looks like this: 
 
 
 
 I&amp;#39;m working with a nRF5340 DK and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Nov 2024 06:37:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116667/nrf-debugging-not-showing-ram-which-i-think-i-need-to-debug-a-stack-overflow" /><item><title>RE: nRF Debugging not showing RAM which I think I need to debug a Stack Overflow</title><link>https://devzone.nordicsemi.com/thread/512036?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2024 06:37:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfc4e0a0-9926-4da3-96a8-f7968200405b</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;No worries, I see that Vidar is handling the other case so you are in good hands.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Debugging not showing RAM which I think I need to debug a Stack Overflow</title><link>https://devzone.nordicsemi.com/thread/511945?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2024 14:47:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:086d851e-0daa-4305-a8b2-fc09575e769a</guid><dc:creator>lcj</dc:creator><description>&lt;p&gt;Yes. That is the overall problem I am trying to solve, but I have received feedback that I should look at debugging using nRF5340 and in doing that all the examples had RAM, which is important in this case, but I could not see the tab. So, I wanted to know why it would not be showing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Debugging not showing RAM which I think I need to debug a Stack Overflow</title><link>https://devzone.nordicsemi.com/thread/511917?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2024 13:48:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3d67624-61d2-48b0-aef0-197049d1a74e</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Is this not the same issue as you are discussing in&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/115860/how-to-debug-a-stack-overflow-error-in-a-nrf5340"&gt;How to debug a stack overflow error in a nRF5340&lt;/a&gt;&amp;nbsp;?&lt;/p&gt;
&lt;p&gt;If so its better to keep the discussion to one case&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Debugging not showing RAM which I think I need to debug a Stack Overflow</title><link>https://devzone.nordicsemi.com/thread/511899?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2024 13:08:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da8da17a-2965-4eba-80b1-2ac3a6146905</guid><dc:creator>lcj</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1732539929476v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here are the errors:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;[00:09:39.661,621] &amp;lt;err&amp;gt; lvgl: (579.661, +424883) lv_mem_realloc: couldn&amp;#39;t allocate memory (in lv_mem.c line #211)&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;[00:09:39.661,865] &amp;lt;err&amp;gt; lvgl: (579.661, +0) lv_mem_buf_get: Asserted at expression: buf != NULL (Out of memory, can&amp;#39;t allocate a new buffer (increase your LV_MEM_SIZE/heap size)) (in lv_mem.c line #312)&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;They happen after the 8th time of running a routine, so I am assuming a memory leak.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Debugging not showing RAM which I think I need to debug a Stack Overflow</title><link>https://devzone.nordicsemi.com/thread/511891?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2024 12:47:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7ce4f47-3308-470e-9e74-e44912b47ad2</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi, I would presume you are not seeing the DATA part since the application is running. In order to see the data you need to pause the application. Why do you think you have a stack overflow? Please post the error&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Debugging not showing RAM which I think I need to debug a Stack Overflow</title><link>https://devzone.nordicsemi.com/thread/511877?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2024 12:05:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d3972e2-c86c-44c5-b03e-79f4953f11b7</guid><dc:creator>lcj</dc:creator><description>&lt;p&gt;Version 2.6.1&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;CONFIG_DEBUG_OPTIMIZATIONS&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;CONFIG_DEBUG_THREAD_INFO&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;CONFIG_OUTPUT_PRINT_MEMORY_USAGE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;CONFIG_LV_USE_PERF_MONITOR&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;CONFIG_PRINTK&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Debugging not showing RAM which I think I need to debug a Stack Overflow</title><link>https://devzone.nordicsemi.com/thread/511810?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2024 06:53:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:185fea63-0f4d-4fe8-8294-80ff7eb189e1</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Which version of NCS, toolchain, and extension are you using? Also which debug option have you enabled?&lt;br /&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>