<?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>Application-specific flash options ignored: softreset does not work</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119889/application-specific-flash-options-ignored-softreset-does-not-work</link><description>To preface: 
 
 nRF Connect SDK 2.9.0 
 nRF9151 DK 
 Windows 11 PC 
 
 Hello, 
 I just stumbled upon a potential issue after trying to figure out why I couldn&amp;#39;t use &amp;#39;softreset&amp;#39; in my settings.json file per this guide: 
 https://docs.nordicsemi.com/bundle</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Mar 2025 19:42:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119889/application-specific-flash-options-ignored-softreset-does-not-work" /><item><title>RE: Application-specific flash options ignored: softreset does not work</title><link>https://devzone.nordicsemi.com/thread/528289?ContentTypeID=1</link><pubDate>Thu, 20 Mar 2025 19:42:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f035515c-4c67-4a95-bf3e-1577bed5e7a3</guid><dc:creator>droberson</dc:creator><description>&lt;p&gt;Hey Dejan,&lt;/p&gt;
&lt;p&gt;I couldn&amp;#39;t find any additional information in the Cortex-M33 Technical Reference Manual,&amp;nbsp;&lt;span&gt;Cortex-M33&amp;nbsp;&lt;/span&gt;Generic User Guide, or the&amp;nbsp;&lt;span&gt;Cortex-M33 Processor Datasheet.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Based on my testing, I can program and debug fine with softreset enabled. Hopefully something doesn&amp;#39;t bite me after we build boards.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Derek&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application-specific flash options ignored: softreset does not work</title><link>https://devzone.nordicsemi.com/thread/528182?ContentTypeID=1</link><pubDate>Thu, 20 Mar 2025 10:48:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:137dcbd4-3c1b-4d02-847d-ee537a383f52</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Derek,&lt;/p&gt;
[quote user="droberson"]&lt;p&gt;Well, the nRF Connect SDK&amp;nbsp;nRF9151 sample projects toggle the reset line by default when programming or debugging. I would assume that this was chosen over &amp;#39;softreset&amp;#39; for some reason? If not, can you confirm there is no foreseeable risk or disadvantage to using softreset instead of toggling the reset line when debugging an application?&lt;/p&gt;
&lt;p&gt;Per the &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf9151/page/pmureset.html#ariaid-title9"&gt;reset behavior&lt;/a&gt; link you provided (thanks!), it states that &amp;quot;Debug&amp;quot; is not reset when using softreset. Will this cause any issues if I use the &amp;#39;softreset&amp;#39; flag in my settings.json when debugging? Is toggling the reset line necessary for flashing or debugging?&lt;/p&gt;[/quote]
&lt;p&gt;There is currently no additional information about this in our documentation. Maybe you could try to look at ARM Cortex-M33 CPU documentation. Please let me know if you have any further questions.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application-specific flash options ignored: softreset does not work</title><link>https://devzone.nordicsemi.com/thread/527908?ContentTypeID=1</link><pubDate>Tue, 18 Mar 2025 18:31:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74f4fe79-7bc3-4a16-8178-5dfae426d799</guid><dc:creator>droberson</dc:creator><description>&lt;p&gt;Hey Dejan,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. After spending a couple more hours on it today, and typing up instructions to reproduce both cases per your request, I figured out how to make the instructions provided&amp;nbsp;in the &lt;a href="https://docs.nordicsemi.com/bundle/nrf-connect-vscode/page/guides/build_bind_tasks.html#how-to-add-application-specific-flash-options"&gt;link in my original post&lt;/a&gt;&amp;nbsp;work. The syntax of my app directory was incorrect. Sigh. Why does this stuff have to be so complicated&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f605.svg" title="Sweat smile"&gt;&amp;#x1f605;&lt;/span&gt;. I miss the days of dropdown menus in Keil uVision.&lt;/p&gt;
&lt;p&gt;Anyway, for future reference for others, both of the following settings.json files within your local workspace will work to enable &amp;#39;softreset&amp;#39;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Method 1&lt;/strong&gt; (Contents of settings.json):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;{
    &amp;quot;nrf-connect.applicationOptions&amp;quot;: {
        &amp;quot;${workspaceFolder}&amp;quot;: {
            &amp;quot;flash&amp;quot;: {
                &amp;quot;softreset&amp;quot;: true
            }
        }
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Method 2 (&lt;/strong&gt;Contents of settings.json):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;{
    &amp;quot;nrf-connect.flash.softreset&amp;quot;: true
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;These settings can be combined with any other settings in your settings.json file.&lt;/p&gt;
&lt;p&gt;Location of settings.json relative to the rest of the project files [Using the HTTPS client sample (nrf/samples/net/https_client) as an example]:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1742321852694v2.png" /&gt;&lt;/p&gt;
&lt;div class="quote-header"&gt;&lt;/div&gt;
&lt;blockquote class="quote"&gt;
&lt;div class="quote-user"&gt;&lt;/div&gt;
&lt;/blockquote&gt;
[quote userid="111786" url="~/f/nordic-q-a/119889/application-specific-flash-options-ignored-softreset-does-not-work/527881"]Which module do you use?[/quote]
&lt;p&gt;Module:&amp;nbsp;&lt;/p&gt;
[quote userid="73492" url="~/f/nordic-q-a/119889/application-specific-flash-options-ignored-softreset-does-not-work"]nRF9151 DK[/quote]
&lt;p&gt;&lt;/p&gt;
[quote userid="111786" url="~/f/nordic-q-a/119889/application-specific-flash-options-ignored-softreset-does-not-work/527881"]Which advantage/disadvantage do you think about, in terms of what? Can you provide additional details?[/quote]
&lt;p&gt;Well, the nRF Connect SDK&amp;nbsp;nRF9151 sample projects toggle the reset line by default when programming or debugging. I would assume that this was chosen over &amp;#39;softreset&amp;#39; for some reason? If not, can you confirm there is no foreseeable risk or disadvantage to using softreset instead of toggling the reset line when debugging an application?&lt;/p&gt;
&lt;p&gt;Per the &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf9151/page/pmureset.html#ariaid-title9"&gt;reset behavior&lt;/a&gt; link you provided (thanks!), it states that &amp;quot;Debug&amp;quot; is not reset when using softreset. Will this cause any issues if I use the &amp;#39;softreset&amp;#39; flag in my settings.json when debugging? Is toggling the reset line necessary for flashing or debugging?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1742322610006v6.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Derek&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application-specific flash options ignored: softreset does not work</title><link>https://devzone.nordicsemi.com/thread/527881?ContentTypeID=1</link><pubDate>Tue, 18 Mar 2025 14:51:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8c84a6e-52d2-42a5-b881-2da1ed1242f6</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]&lt;span&gt;Programming my board no longer asserts the reset line. I now see &amp;quot;&lt;/span&gt;Applying system reset&amp;quot; instead of &amp;quot;Applying pin reset&amp;quot; in the VS Code terminal window&amp;nbsp;[/quote]
&lt;p&gt;Can you show the output of VS Code terminal window in both cases and provide description for each case?&lt;/p&gt;
[quote user=""]Is the documentation incorrect? If not, why doesn&amp;#39;t the documentation&amp;#39;s method work for me?[/quote]
&lt;p&gt;Can you specify expected behavior? In which way documentation might be right or wrong? Can you elaborate?&lt;/p&gt;
[quote user=""]Is there any issue or disadvantage to using &amp;#39;softreset&amp;#39; for programming or debugging a nRF9151 module? Is there a preference?[/quote]
&lt;p&gt;Which module do you use? Which advantage/disadvantage do you think about, in terms of what? Can you provide additional details?&lt;/p&gt;
[quote user=""]When using &amp;#39;softreset&amp;#39;, does this also reset the modem core, or is the modem core only reset via nRESET?[/quote]
&lt;p&gt;There are various&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf9151/page/pmureset.html"&gt;reset&lt;/a&gt;&amp;nbsp;types described in the documentation. There you can also find information about&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf9151/page/pmureset.html#ariaid-title9"&gt;reset behavior&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>