<?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>Debugging problems with non-secure application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126545/debugging-problems-with-non-secure-application</link><description>Hi, 
 I am working with a u-blox EVK-NORA- B206 development kit. It has an onboard J-Link and it contains a NORA-B206-00B which has a NRF54L15 inside. I use VS Code with the nRF Connect extension. 
 I am running the peripheral UART sample provided. When</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Jan 2026 20:22:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126545/debugging-problems-with-non-secure-application" /><item><title>RE: Debugging problems with non-secure application</title><link>https://devzone.nordicsemi.com/thread/559411?ContentTypeID=1</link><pubDate>Thu, 22 Jan 2026 20:22:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c47f9875-07da-4114-8e20-660bb759805f</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Bert,&lt;/p&gt;
&lt;p&gt;I am checking this with internal team and will keep you updated.&lt;/p&gt;
&lt;p&gt;Could you specify the nRF Connect SDK version that you are working with?&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging problems with non-secure application</title><link>https://devzone.nordicsemi.com/thread/559263?ContentTypeID=1</link><pubDate>Wed, 21 Jan 2026 12:42:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ea5dd4e-192c-4b37-a352-1598b6836408</guid><dc:creator>NordicBert</dc:creator><description>&lt;p&gt;Hi Priyanka,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks for your answer. I tried it, but still no success. I am getting the same error.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also I noticed that before&amp;nbsp;CONFIG_TFM_CMAKE_BUILD_TYPE_DEBUG was set.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Bert&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging problems with non-secure application</title><link>https://devzone.nordicsemi.com/thread/559156?ContentTypeID=1</link><pubDate>Tue, 20 Jan 2026 12:36:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3c7fe1d-c430-4afd-b253-5eee0324d50e</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Bert,&lt;/p&gt;
&lt;p&gt;I guess what is happening is, usually for a normal build with no TF-M, everything runs in a single secure image, so the stepping will also work properly as expected. But in a non-secure build with TF-M, what happens is that the application runs in the non-secure environment, while the TF-M owns the secure processing environment. This misconfiguration is likely what is causing the issue.&lt;/p&gt;
&lt;p&gt;So by default since you can only debug the non-secure firmware and the TF-M runs separately, in order to debug the TF-M you must build it with separate debug symbols as mentioned here: &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/test_and_optimize/debugging.html#debugging_secure_and_non-secure_firmware"&gt; CONFIG_TFM_CMAKE_BUILD_TYPE_RELWITHDEBINFO&amp;nbsp;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please try this and let me know how it goes.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging problems with non-secure application</title><link>https://devzone.nordicsemi.com/thread/558862?ContentTypeID=1</link><pubDate>Fri, 16 Jan 2026 08:40:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b042fa6d-1678-404d-a42c-c9020309b1b8</guid><dc:creator>NordicBert</dc:creator><description>&lt;p&gt;Hi Priyanka,&lt;/p&gt;
&lt;p&gt;I have&amp;nbsp;CONFIG_DEBUG_OPTIMIZATIONS=y in my prj.conf.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Bert&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging problems with non-secure application</title><link>https://devzone.nordicsemi.com/thread/558859?ContentTypeID=1</link><pubDate>Fri, 16 Jan 2026 08:25:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79495730-ae0b-4c1a-8e51-1a701a70341a</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Bert,&lt;/p&gt;
&lt;p&gt;Do you select the &amp;quot;Optimize for Debugging&amp;quot; option when building?&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>