<?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>Reset via NVIC_SystemReset() not working with MCUBoot enabled on nRF5340 custom board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111693/reset-via-nvic_systemreset-not-working-with-mcuboot-enabled-on-nrf5340-custom-board</link><description>I posted my configuration in a separate discussion . 
 Calling this method works when CONFIG_BOOTLOADER_MCUBOOT=n works. But as soon as we flash an image with MCUBoot enabled, calling `NVIC_SystemReset()` doesn&amp;#39;t do a full reset it simply powers off.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Jun 2024 09:33:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111693/reset-via-nvic_systemreset-not-working-with-mcuboot-enabled-on-nrf5340-custom-board" /><item><title>RE: Reset via NVIC_SystemReset() not working with MCUBoot enabled on nRF5340 custom board</title><link>https://devzone.nordicsemi.com/thread/488629?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 09:33:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bff6d94d-a7a0-4fc4-b8d2-809b91a7126b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The SPI NOR driver is only used for interfacing with external SPI NOR Flash ICs,&amp;nbsp;and should not be enabled unless&amp;nbsp;external flash partitions are enabled in the bootloader:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/config_and_build/bootloaders/bootloader_external_flash.html"&gt;Using external flash memory partitions&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset via NVIC_SystemReset() not working with MCUBoot enabled on nRF5340 custom board</title><link>https://devzone.nordicsemi.com/thread/488558?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 19:30:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf60186c-fc88-43f1-b1df-49379f467e3d</guid><dc:creator>responsible_duck</dc:creator><description>&lt;p&gt;Good to know thanks. MCUboot is placed in internal flash so it seems with&amp;nbsp;&lt;span&gt;CONFIG_SPI_NOR=y enabled it expects to communicate with internal flash via SPI NOR?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset via NVIC_SystemReset() not working with MCUBoot enabled on nRF5340 custom board</title><link>https://devzone.nordicsemi.com/thread/488544?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 15:06:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45a26a45-0f29-4333-b6f4-b2e973eca35f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The SPI_NOR symbol will be selected if you have defined the flash device on one of your SPI buses in the Devicetree. However, I&amp;#39;m not sure why enabling the SPI_NOR driver prevented the bootloader from booting the application. Is the secondary mcuboot placed in internal or external flash? You can run the &amp;quot;memory report&amp;quot; action in VS Code to see the memory layout.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset via NVIC_SystemReset() not working with MCUBoot enabled on nRF5340 custom board</title><link>https://devzone.nordicsemi.com/thread/488532?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 14:21:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03b094dc-fe05-4430-8e27-0b8d6fe2c508</guid><dc:creator>responsible_duck</dc:creator><description>&lt;p&gt;It looks like it is in flash driver Kconfig:&lt;br /&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/pastedimage1718202061421v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset via NVIC_SystemReset() not working with MCUBoot enabled on nRF5340 custom board</title><link>https://devzone.nordicsemi.com/thread/487204?ContentTypeID=1</link><pubDate>Tue, 04 Jun 2024 06:16:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62871068-2f7c-4c22-a1ce-b2acf6345370</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for the update. Maybe CONFIG_SPI_NOR is enabled by default for your custom board. MCUBoot should not enable the SPI NOR driver by default.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset via NVIC_SystemReset() not working with MCUBoot enabled on nRF5340 custom board</title><link>https://devzone.nordicsemi.com/thread/487180?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2024 23:26:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a7668dd-8a9d-4b1a-b6ad-2beb71fb2686</guid><dc:creator>responsible_duck</dc:creator><description>&lt;p&gt;It turns out that it was getting stuck on reading some CONFIG_SPI_NOR flag so we set it to `n` in `mcuboot.conf`. But not sure why this was blocking bootloading... To be clear we didn&amp;#39;t explicitly set `&lt;span&gt;CONFIG_SPI_NOR=y` before.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset via NVIC_SystemReset() not working with MCUBoot enabled on nRF5340 custom board</title><link>https://devzone.nordicsemi.com/thread/486814?ContentTypeID=1</link><pubDate>Fri, 31 May 2024 08:20:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecc3acc0-27eb-4b26-8463-08131d8895dd</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Does your board have external regulators or other components that need to be enabled on startup by the nRF? I&amp;#39;m wondering if there may be something that the bootloader is not enabling, but the application does.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Both NVIC_SystemReset() and pinreset will trigger a system reset. The difference between these reset sources and a full power on reset can be seen from the table in the PS here:&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/chapters/reset/doc/reset.html#ariaid-title10"&gt;Application core reset behavior&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset via NVIC_SystemReset() not working with MCUBoot enabled on nRF5340 custom board</title><link>https://devzone.nordicsemi.com/thread/486766?ContentTypeID=1</link><pubDate>Fri, 31 May 2024 05:05:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75676687-8df5-4fe3-8361-c61dcb25d674</guid><dc:creator>responsible_duck</dc:creator><description>&lt;p&gt;&lt;span&gt;Hardware reset line low doesn&amp;#39;t work either and only a power cycle works :/&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>