<?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 of blank application on Non Secure nRF9151-DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/129094/debugging-of-blank-application-on-non-secure-nrf9151-dk</link><description>Hello Nordic Support Team, 
 I am testing nRF9151-DK board. I wanted to debug an application that is created when &amp;quot;Create a blank application&amp;quot; option is chosen from nRF Connect&amp;#39;s &amp;quot;Create a new application&amp;quot; menu. 
 After setting up a build configuration</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Sep 2026 05:52:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/129094/debugging-of-blank-application-on-non-secure-nrf9151-dk" /><item><title>RE: Debugging of blank application on Non Secure nRF9151-DK</title><link>https://devzone.nordicsemi.com/thread/570910?ContentTypeID=1</link><pubDate>Fri, 04 Sep 2026 05:52:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7d2616f-3b31-4820-9448-6560b92a05ed</guid><dc:creator>wmackowi</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;Thank you for your answer. Thanks to it I have managed to start a debug session.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Wojciech&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging of blank application on Non Secure nRF9151-DK</title><link>https://devzone.nordicsemi.com/thread/570900?ContentTypeID=1</link><pubDate>Thu, 03 Sep 2026 14:19:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09c6e660-9855-49b0-987d-ce2e7041887f</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;Hi Wojciech,&lt;/p&gt;
&lt;p&gt;I think you are experiencing the same thing as on &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/128807/ncs-3-4-0-compiling-with-ns-option"&gt;this other ticket&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Basically, as we just moved from &amp;quot;partition manager&amp;quot; to devicetree partitioning, we currently have in the v3.4.0 an inconvenient setup for the nRF9151/ns builds. The problem is that the default partition is the one to use with a bootloader. But by default when creating a project, no bootloader is selected.&lt;/p&gt;
&lt;p&gt;So the reason why your program can&amp;#39;t be debugged, is that it doesn&amp;#39;t even start in the first place as the MCU never reaches the actual code as the partition are not correct.&lt;/p&gt;
&lt;p&gt;You can see on the ticket I linked, that there are 2 possible way to deal with it; You have to either enable a bootloader (&lt;code&gt;SB_CONFIG_BOOTLOADER_MCUBOOT=y&lt;/code&gt;) or redefine the partitions in your project (adding &lt;code&gt;nrf9151dk_nrf9151_ns.overlay&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;I would recommend you to enable the bootloader as you will most likely need to enable it further in your development when you will implement DFU.&lt;/p&gt;
&lt;p&gt;If you need more precision on how to do it, feel free to ask me again :)&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>